Bug 186791 - Dialog "Volume Control" is too narrow
Summary: Dialog "Volume Control" is too narrow
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-audio
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-26 14:52 UTC by mnemo
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 2.20.1-4
Clone Of:
Environment:
Last Closed: 2007-10-10 14:39:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Screenshot of too-narrow default window. (10.51 KB, image/png)
2007-10-06 16:00 UTC, Luis Villa
no flags Details

Description mnemo 2006-03-26 14:52:25 UTC
Description of problem:

When you double-click on the sound icon a dialog called "Volume Control" is
showed. For some obscure reason this dialog is 2cm wide while the actual window
content is like atleast 600-800pixels wide. Consequently I have to use a
horzontal scrollbar or resize the window to use it. That's silly, the dialog
should be wider by default.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Bastien Nocera 2007-04-19 15:20:58 UTC
I don't understand the problem. Do you have a screenshot showing the problem? Do
you still see the problem with more recent versions?

Comment 2 Luis Villa 2007-10-06 15:59:35 UTC
I'm seeing it with F8t3. Run gnome-volume-control, and you get a window which is
less than two volume-control-columns wide. Screenshot attached momentarily.

Comment 3 Luis Villa 2007-10-06 16:00:24 UTC
Created attachment 218491 [details]
Screenshot of too-narrow default window.

Comment 4 Bastien Nocera 2007-10-10 14:34:38 UTC
gnome_volume_control_window_init() sets the default width and height to whatever
they were on the previous run, with 500 being the default width.

So you were running it with a very small width, then that would happen. I'll add
the patch from http://bugzilla.gnome.org/show_bug.cgi?id=485411 to set a minimum
size even if the GConf value is smaller.

Comment 5 Luis Villa 2007-10-10 14:42:42 UTC
I'm seeing this on a clean install with a default ('fedora-livecd') user, so
there should be no previous runs. 

Comment 6 Bastien Nocera 2007-10-10 14:49:15 UTC
(In reply to comment #5)
> I'm seeing this on a clean install with a default ('fedora-livecd') user, so
> there should be no previous runs. 

Good catch. Packaging bug, the GConf schema for the mixer was never installed
properly, so the code would have tried "0" as the default width...

2.20.1-5 will have the proper fix, work-around still applies.

Comment 7 mnemo 2007-10-10 16:50:54 UTC
I also had that problem with a clean install, that's why I posted the bug in the
first place. I think it's a perfectly reasonably usecase to set the width to
some small value (and expect it to stay small even if I re-launch).


Note You need to log in before you can comment on or make changes to this bug.