GNOME Bugzilla – Bug 130678
window need to be resized at each start in order to see all mixer sliders
Last modified: 2004-12-22 21:47:04 UTC
Distribution: Gentoo Base System version 1.4.3.12 Package: gnome-media Severity: minor Version: GNOME 2 . 5 . 2 2.5.x Gnome-Distributor: Gentoo Linux Synopsis: window need to be resized at each start in order to see all mixer sliders Bugzilla-Product: gnome-media Bugzilla-Component: gnome-volume-control [was: gmix] Bugzilla-Version: 2.5.x Description: Description of Problem: When starting gnome-volume-control, the size of the window is too small and all the sliders are not shown. The user need to resize the window at every start in order to display all the mixer sliders. Steps to reproduce the problem: 1. From the gnome-terminal shell prompt: gnome-volume-control 2. OR 3. From the volume control panel applet: right-click-> Open Volume Control Actual Results: Expected Results: How often does this happen? Additional Information: ------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-01-06 05:51 ------- The original reporter (serge-eric.thiam@gmx.net) of this bug does not have an account here. Reassigning to the exporter, unknown@bugzilla.gnome.org. Reassigning to the default owner of the component, gnome-media-maint@bugzilla.gnome.org.
Yurk. Seriously ugly :) Still happens in HEAD; embarassing enough that I'm marking it a 2.6.0 showstopper. Probably an easy fix for anyone who knows this stuff, though.
Following patch solves the problem. Index: gnome-media//gst-mixer/src/mixer.c =================================================================== RCS file: /export/cvs/gnome-2.0/gnome-media/gst-mixer/src/mixer.c,v retrieving revision 1.5 diff -p -u -5 -r1.5 mixer.c --- gnome-media//gst-mixer/src/mixer.c 2003/12/21 12:29:59 1.5 +++ gnome-media//gst-mixer/src/mixer.c 2004/01/10 06:16:51 @@ -487,10 +487,11 @@ main (gint argc, NULL); register_stock_icons (); /* create main window + menus */ window = gnome_app_new (PACKAGE, _("GStreamer Volume Control")); + gtk_window_set_default_size (GTK_WINDOW (window), 665, 250); gnome_app_create_menus (GNOME_APP (window), main_menu); /* Set appicon image */ if ((file = gnome_program_locate_file (NULL, GNOME_FILE_DOMAIN_APP_PIXMAP, PIX_DIR "/mixer.png", TRUE, NULL))) { Thanks
Would still be nice to get this one in, though I'm sure something that actually tried to figure out how wide the sliders are instead of hardcoding a large size would be good.
*** Bug 134330 has been marked as a duplicate of this bug. ***
I am not sure why having it fill the screen is considered better than current behaviour. The problem is that modern soundcards have so many channels that no matter how wide you make it, it is still probably to narrow.
This was already fixed by another commit. The patch is similar to the provided one, but slightly more intuitive and actually "right".