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 710388 - Menu navigation triangle doesn't work anymore
Menu navigation triangle doesn't work anymore
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkMenu
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-10-17 13:00 UTC by Sebastian Keller
Modified: 2018-05-02 15:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes submenu navigation triangle (2.09 KB, patch)
2016-11-15 02:57 UTC, Sam Douglas
none Details | Review

Description Sebastian Keller 2013-10-17 13:00:09 UTC
The navigation triangle is basically what is also described in http://bjk5.com/post/44698559168/breaking-down-amazons-mega-dropdown

To reproduce:
- run a program with submenus, like the menu example of gtk3-demo (this only affects submenus that open to the right)
- hover over a menu entry with a submenu
- move your cursor diagonally to the last entry of the submenu so that it crosses the item below the currently active one in the first level of the menu

-> This causes the item below the currently active one to be selected while in 3.8 this was not the case and one could easily navigate to the submenu

I've bisected the code and it looks like e8b38fedbd8961df4aaaa75b122a06ddc68e75f2 was the commit that broke it.
Comment 1 Sam Douglas 2016-11-15 02:57:43 UTC
Created attachment 339870 [details] [review]
Fixes submenu navigation triangle

This issue was caused when mouse coordinates were changed to floating point
values.

This patch floors the event->x_root and event->y_root values when setting the
navigation region.
Comment 2 Matthias Clasen 2018-02-10 05:04:28 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 3 Alexander Browne 2018-02-11 19:55:58 UTC
This is still an issue with Gtk+ apps that use a traditional menubar. As it is, using a Gtk+ 3 app's menubar is much less ergonomic than with apps using Qt or even Gtk+ 2!
Comment 4 GNOME Infrastructure Team 2018-05-02 15:49:30 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/450.