GNOME Bugzilla – Bug 141702
panel with menu bar is creating problems when orientation changed to vertical
Last modified: 2015-03-24 13:00:52 UTC
1. Add the menu bar in a horizontal panel 2. Change its orientation to vertical. 3. See that the panel has acquired maximum width in order to contain the menu bar 4. Change the orientation back to horizontal. 5. Observe that other applets like clock applet do not remember their position but show up in the extreme end.
The possible solutions I think are: 1. Restrict the orientation of the panel to horizontal if it contains menu bar 2. Decrease the fonts of menu-bar, but it wont be properly visible then 3. Change it to two line format, just as clock applet does ( but again pop down menus of one covers the other). But this is something we can compromise on. 4. Mark can show us the better way.
*** Bug 147552 has been marked as a duplicate of this bug. ***
Created attachment 30395 [details] [review] this patch Inserts the width of the expanded vertical panel to gconf so that properties window reflects the changes There is no good way to tell exact width of the panel in all the cases. Also spin button can show width only upto 120 pixels max. Thus taking nearest values here.
The only real option I think is: 4. Have a menubar with vertical text (Yes, that does require a lot of work for little gain)
*** Bug 155549 has been marked as a duplicate of this bug. ***
*** Bug 155449 has been marked as a duplicate of this bug. ***
I worked a bit on this a few days (or weeks?) ago. The main problem was with the Applications menu: it has the foot logo and it's a GtkImageMenuItem. We need to build a specific GtkMenuItem with a vertical logo and text... *sigh*
Sorry for the spam. Mass-marking some bugs to the 2.10.x milestone. Filter on "VINCENT WANTS THIS FOR 2.10" to ignore.
See bug 166632 for the necessary gtk patch
Matthias: I suppose this won't go in GTK+ 2.6.x, will it?
Haven't discussed this yet. Not likely though. The patch is a bit incomplete anyway. To use it in the panel, we need to add orientation to at least GtkImageMenuItem as well, and we probably want to differentiate between top-to-bottom and bottom-to-top.
*** Bug 166967 has been marked as a duplicate of this bug. ***
In this bug #166967 i was suggested to logout without saving settings. But i told You there - i did it! To my experience, 'save session' is only controls which applications and which there files/www-pages etc were opened. Gnome panels do always save their settings regardless to the checkbox state. At least my Gnome 2.9.91 as described in that text.
The position of the panel is instant-apply and is always saved... Matthias: do you know when a new release of GTK+ will happen with the fix? I don't know if it's okay to depend on GTK+ > 2.6.0...
See http://www.gtk.org/plan/2.8 for the GTK+ 2.8 schedule
I'm punting this to 2.12. I won't have time to change this for 2.10 and there'll be a nice solution with the next GTK+. If someone wants to make a patch for 2.10, I'll accept it.
*** Bug 301918 has been marked as a duplicate of this bug. ***
I haven't heard anything on this bug in a while. Has any progress been made?
Yes, GTK+ 2.8 has support for vertical menubars, see the corresponding demo in gtk-demo.
2005-07-26 Mark McLoughlin <mark@skynet.ie> Rotate the menu bar on vertical panels using new gtk+ coolness. Fixes bug #141702 * panel-menu-bar.c: (set_item_text_angle_and_alignment), (panel_menu_bar_update_orientation): when the menu bar is vertical, set its pack direction, child pack direction, text angle and alignment in order to rotate the thing.