Bug 480765

Summary: g-m-m: Use wordwrap instead of ellipsize causes the menu to "jump"
Product: [openSUSE] openSUSE 11.2 Reporter: Magnus Boman <captain.magnus>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None CC: federico
Version: Alpha 0   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Patch

Description Magnus Boman 2009-02-28 23:28:52 UTC
Created attachment 276213 [details]
Patch

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-1.3 Firefox/3.0.5

When applying the patch from http://bugzilla.gnome.org/show_bug.cgi?id=398552, the menu opens partially out of screen, which is need immediately corrected, making the menu "jump".
The problem is that the code doesn't catch the proper size-allocate signals.
Also had to rearrange the code a bit for the signals to actually be sent *before* g-m-m opens the first time.

The attached patch opens the menu properly. There's still one issue left though, and that is that the tiles do not grow their height according to how much text there is.

Reproducible: Always
Comment 1 Federico Mena Quintero 2009-04-22 16:46:51 UTC
Do you want to commit this to git.gnome.org? :)
Comment 2 Magnus Boman 2009-04-22 20:57:23 UTC
The fix for the issue I tried to solve is only partial so not sure if we should commit. Unless it perhaps solves the issue where the menu always opens, and stays, outside the screen?
Comment 3 Vincent Untz 2012-05-15 16:59:59 UTC
Sorry for the spam. I'm mass-closing gnome-main-menu/slab bugs: gnome-main-menu has gone unmaintained upstream because it's not usable in GNOME 3, and is not shipped since 12.1. I don't expect any maintenance updates for it in 11.4 either.