GNOME Bugzilla – Bug 150404
Menus opened at the bottom of the screen appear scrolled
Last modified: 2004-12-22 21:47:04 UTC
GTK+-2.4.4 1. Open the 'menus' example in gtk-demo 2. Move the window to the bottom of the screen such that just the menu button is visible 3. Click the button, observe that the menu contents are scrolled off the screen, yet there is plenty of room in the created window. Screenshot attached. This seems similar (but easier to reproduce) than bug 144213, and the same as the example mentioned in bug 119821 (although it may have been posted to the wrong bug report). I cannot reproduce this with GTK+-2.2.1.
Created attachment 30680 [details] Screenshot The top shows the bottom of the screen before opening the menu, the bottom shows the result of clicking on the menu. Hovering over the down arrow pushes the rest of the contents of the menu up to fill in the empty space.
As mentioned in bug 119821, this is the intended behavior for option menus, such as the one you show in your screenshot. Bug 144213 is about a regular menu, which should not get scrolled.
Can you explain further the intended behaviour more for option menus? It is not clear to me what it is supposed to achieve, or what the use case is.
In fact this behavior intends to keep the active selection of the menu under the mouse... So if you click on the option menu and click on it right again, the same option will stay selected. However, I agree with you : it looks weird, and I'm not sure we gain that much by doing that ;)
See discussion in bug 129463. *** This bug has been marked as a duplicate of 129463 ***