GNOME Bugzilla – Bug 72695
Long option menus look weird
Last modified: 2011-02-04 16:09:56 UTC
In yesterday's build of Nautilus, the option menu in the appearance config page looks funny. It decides to put an arrow at the bottom (while the menu probably would fit just fine in the screen) and there is a beveled box at the top. (I am assuming this is a GTK bug, I hope this is the case.)
Created attachment 6886 [details] Screenshot of the funny OptionMenu
I think that appearance was intentional - the issue is that the menu pops up with the currently-selected option under the mouse. I agree that it looks like a bug though. It must be possible to do it differently so it doesn't look like a bug.
My best current idea is to draw it flat and then draw an insensitive arrow at the top of the flat arrow to say to this user "this empty area has something to do with scrolling".
Hm, the empty area on the top really looks huge though. Isn't that a bug besides the fact that the menu is positioned that way?
*** Bug 75996 has been marked as a duplicate of this bug. ***
(I reported #75996 above) Okay, I see the point. I still think this behavior is wrong though. I mean, having the current option selected is convenient and all, but having to scroll down to see a list that could easily fit on the screen offsets that by a mile IMHO (plus, it's ugly). Besides, if I clicked the thing that means I want to change it anyway. I think the widget should *try* to keep the currently selected item under the cursor, but not at the expense of displaying fewer items.
BTW, on the Mozilla combo box the menu always appears right under the widget regardless of which entry is currently selected -- maybe GTK could do the same thing? Regardless of that, displaying a big huge beveled block on the top of the menu is just, um, wrong. :-)
Move open bugs from milestones 2.0.[012] -- > 2.0.3, since 2.0.2 is already out.
*** Bug 76758 has been marked as a duplicate of this bug. ***
Hmm. Apparently OSX has a similar behavior. Weird. In that case, though, you don't get the bevel on the top -- which makes it look less bizarre. Can we get rid of the bevel at least?
Created attachment 8070 [details] Here's how the popup menu for the tasklist in G2 beta 4 looks because of this. This is clearly wrong, guys...
The screenshot shows a tasklist, or just possibly a GtkMenu bug. You won't see the indent region unless the menu pops off scrolled off the screen, which should never happen for a popup menu, though it happens for option menus, because the currently selected item is supposed to be under the cursor.
Created attachment 8077 [details] [review] Patch. Can we just apply this? This makes the menu look like on OS X -- i.e. you have the empty part, but not the weird bevel.
OK, looking at it some, I think the no-bevel is probably better - I expect to perhaps *more* bug reports because it less clear that it was something done intentionally, but it's a lot less visually distracting. Go ahead and commit to both branches.
Committed.
*** Bug 99979 has been marked as a duplicate of this bug. ***