After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 141702 - panel with menu bar is creating problems when orientation changed to vertical
panel with menu bar is creating problems when orientation changed to vertical
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 147552 155449 155549 166967 301918 (view as bug list)
Depends on: 166632
Blocks:
 
 
Reported: 2004-05-03 05:50 UTC by Dharmaveer Singh
Modified: 2015-03-24 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
this patch Inserts the width of the expanded vertical panel to gconf so that properties window reflects the changes (1.01 KB, patch)
2004-08-10 13:35 UTC, Dharmaveer Singh
rejected Details | Review

Description Dharmaveer Singh 2004-05-03 05:50:29 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.
Comment 1 Dharmaveer Singh 2004-05-03 05:54:08 UTC
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.
Comment 2 Arvind S N 2004-07-14 05:54:00 UTC
*** Bug 147552 has been marked as a duplicate of this bug. ***
Comment 3 Dharmaveer Singh 2004-08-10 13:35:56 UTC
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.
Comment 4 Mark McLoughlin 2004-11-11 09:19:12 UTC
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)
Comment 5 Vincent Noel 2004-12-10 19:34:09 UTC
*** Bug 155549 has been marked as a duplicate of this bug. ***
Comment 6 Vincent Untz 2004-12-23 07:34:09 UTC
*** Bug 155449 has been marked as a duplicate of this bug. ***
Comment 7 Vincent Untz 2004-12-23 07:37:10 UTC
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*
Comment 8 Vincent Untz 2005-01-12 13:57:21 UTC
Sorry for the spam. Mass-marking some bugs to the 2.10.x milestone.
 Filter on "VINCENT WANTS THIS FOR 2.10" to ignore.
Comment 9 Matthias Clasen 2005-02-08 06:27:33 UTC
See bug 166632 for the necessary gtk patch
Comment 10 Vincent Untz 2005-02-08 07:08:31 UTC
Matthias: I suppose this won't go in GTK+ 2.6.x, will it?
Comment 11 Matthias Clasen 2005-02-08 12:58:45 UTC
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.
Comment 12 Vincent Untz 2005-02-10 20:17:03 UTC
*** Bug 166967 has been marked as a duplicate of this bug. ***
Comment 13 Burov Dmitry 2005-02-11 20:22:34 UTC
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.
Comment 14 Vincent Untz 2005-02-12 08:38:42 UTC
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...
Comment 15 Matthias Clasen 2005-02-12 15:16:08 UTC
See http://www.gtk.org/plan/2.8 for the GTK+ 2.8 schedule
Comment 16 Vincent Untz 2005-02-14 21:33:30 UTC
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.
Comment 17 Vincent Untz 2005-06-07 22:55:01 UTC
*** Bug 301918 has been marked as a duplicate of this bug. ***
Comment 18 Dan Gore 2005-07-20 04:20:34 UTC
I haven't heard anything on this bug in a while.  Has any progress been made?
Comment 19 Matthias Clasen 2005-07-20 15:01:36 UTC
Yes, GTK+ 2.8 has support for vertical menubars, see the corresponding demo in
gtk-demo.
Comment 20 Mark McLoughlin 2005-07-26 09:27:33 UTC
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.