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 72695 - Long option menus look weird
Long option menus look weird
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
1.3.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 75996 76758 99979 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-02-26 16:21 UTC by Ettore Perazzoli
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of the funny OptionMenu (88.60 KB, image/png)
2002-02-26 16:22 UTC, Ettore Perazzoli
  Details
Here's how the popup menu for the tasklist in G2 beta 4 looks because of this. This is clearly wrong, guys... (70.07 KB, image/jpeg)
2002-04-30 16:42 UTC, Ovidiu Gheorghioiu
  Details
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. (1.90 KB, patch)
2002-04-30 21:51 UTC, Ettore Perazzoli
none Details | Review

Description Ettore Perazzoli 2002-02-26 16:21:37 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.)
Comment 1 Ettore Perazzoli 2002-02-26 16:22:12 UTC
Created attachment 6886 [details]
Screenshot of the funny OptionMenu
Comment 2 Havoc Pennington 2002-02-26 16:51:32 UTC
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.
Comment 3 Owen Taylor 2002-02-26 17:00:02 UTC
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".
Comment 4 Ettore Perazzoli 2002-02-26 22:30:41 UTC
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?
Comment 5 Owen Taylor 2002-03-22 22:52:42 UTC
*** Bug 75996 has been marked as a duplicate of this bug. ***
Comment 6 Ovidiu Gheorghioiu 2002-03-23 01:08:03 UTC
(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.
Comment 7 Ettore Perazzoli 2002-03-23 03:34:08 UTC
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.  :-)
Comment 8 Matthias Clasen 2002-04-05 13:33:34 UTC
Move open bugs from milestones 2.0.[012] -- > 2.0.3, since 2.0.2 is already out.
Comment 9 Anders Carlsson 2002-04-23 15:47:20 UTC
*** Bug 76758 has been marked as a duplicate of this bug. ***
Comment 10 Ettore Perazzoli 2002-04-26 16:25:40 UTC
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?
Comment 11 Ovidiu Gheorghioiu 2002-04-30 16:42:33 UTC
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...
Comment 12 Owen Taylor 2002-04-30 16:52:12 UTC
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.
Comment 13 Ettore Perazzoli 2002-04-30 21:51:10 UTC
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.
Comment 14 Owen Taylor 2002-05-15 15:51:10 UTC
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.
Comment 15 Ettore Perazzoli 2002-05-16 14:02:36 UTC
Committed.
Comment 16 Owen Taylor 2002-11-30 16:07:07 UTC
*** Bug 99979 has been marked as a duplicate of this bug. ***