GNOME Bugzilla – Bug 335912
mousewheel scrolls menus without arrows
Last modified: 2006-03-27 17:28:12 UTC
It is possible to scroll menus that do not have any up/down arrows with the mouse wheel. 1. open a menu, this can be a a normal menu, a popup menu, or even a combobox 2. use the mousewheel to scroll. This only happens in CVS, but not in 2.8.13.
Awesome bug. Mitch, I guess this is due to your menu changes, can you take a look ?
That's just great, can't we keep it as easter egg? ;) I'm looking into it.
Created attachment 62132 [details] [review] Patch fixing the bug I could dig into gtk_menu_scroll_by() and scroll_to() for a few million years to figure what exactly I changed in the scroll offset calculation and why it did not do this before my change. The patch does a straightforward bail out instead, that's less obscure. Ok to commit?
Fixed in CVS: 2006-03-27 Michael Natterer <mitch@imendio.com> * gtk/gtkmenu.c (gtk_menu_scroll_by): bail out if there is no need for scrolling (more obvious than adding additional conditions to the scroll offset calculation). Fixes bug #335912.
*** Bug 336156 has been marked as a duplicate of this bug. ***