desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #01928
[Bug 552920] Re: Moving diagonally from narrow menu title often opens adjacent menu
** Also affects: gtk+3.0 (Ubuntu)
Importance: Undecided
Status: New
** Also affects: unity
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/552920
Title:
Moving diagonally from narrow menu title often opens adjacent menu
Status in One Hundred Paper Cuts:
Triaged
Status in Unity:
New
Status in “gtk+2.0” package in Ubuntu:
Triaged
Status in “gtk+3.0” package in Ubuntu:
Confirmed
Bug description:
gtk 2.22, Ubuntu 10.10
1. Click on the volume control to open the sound menu.
2. Move the pointer diagonally to click on the maximum volume button.
What often happens: The sound menu closes, and the menu next to it opens.
Screnshot: https://launchpadlibrarian.net/42732636/Why_autoexpanding_indicators_are_a_bad_idea.png
Screencast: <https://www.youtube.com/watch?v=lVUokjAlREs>
What should happen: The sound menu stays open.
A solution would be to use a timer for the 'auto-expanding' feature.
From an IRC conversation on this bug:
"<bratsche> Okay, so gtk+ has something internal called (I think) a stay-up triangle.. but as far as I know, it's only used when dealing with submenus from a menu.
But try to envision a menu with several menuitems, and the first menuitem has a submenu with several menuitems. Your mouse is currently over the top menuitem of the parent menu and the submenu from it is open to the right.
Now when you move the mouse toward say the middle of that submenu, you'll probably mouse-over a menuitem below the current one in the parent menu..
But there are two things that can keep it from becoming the active menuitem.. a timer, and this stay-up triangle.
<bratsche> Anyway, we should think about this some. Indicator icons are small enough that in the case of indicator-sound, going to all the trouble of duplicating this stay-up triangle might be more trouble than it's worth. Judging by the screenshot in qense's bug, the stay-up triangle would cover most the majority of the neighboring indicator icon anyway, so maybe a simple timer would be enough."
Illustration of the invisible triangle for submenus:
<http://www.quinn.echidna.id.au/Quinn/WWW/HISubtleties/HierarchicalMenus.html>
Discussion of the invisible triangle for submenus in GTK:
<http://mail.gnome.org/archives/gtk-devel-list/2000-May/msg00118.html>
Gtk+ already has triangular bounding boxes for sub-menus. This code
should also be applied to the top-level and not just the sub-menus.
To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/552920/+subscriptions