← Back to team overview

papercuts-ninja team mailing list archive

[Bug 552920] [NEW] Moving diagonally from narrow menu title often opens adjacent menu

 

You have been assigned a bug task for a public bug by Vish (vish):

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>

** Affects: hundredpapercuts
     Importance: Low
     Assignee: Papercuts Ninja (papercuts-ninja)
         Status: Triaged

** Affects: gtk+2.0 (Ubuntu)
     Importance: Low
     Assignee: Cody Russell (bratsche)
         Status: Triaged


** Tags: apport-bug i386 lucid
-- 
Moving diagonally from narrow menu title often opens adjacent menu
https://bugs.launchpad.net/bugs/552920
You received this bug notification because you are a member of Papercuts Ninja, which is a bug assignee.