Submenu items not triggering activate events under specific conditions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-appmenu (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Problem appears in indicator menus in Ubuntu 14.04, and it is NOT present in Ubuntu 12.04.
The bug can be seen even in official indicators like the network manager.
We have: "Indicator menu / Submenu / Submenu item". (e.g. Network manager / VPN Connections / Configure VPN...).
The submenu item does not trigger "activate" and "button-
For example these combinations WORK:
* Click indicator with any button/ Explicitly click with any button to open submenu / Click submenu item with any button
* Left-click indicator / Just hover to open submenu (do not click) / Left-click submenu item
* Right-click indicator/Just hover to open submenu (do not click) / Right-click submenu item
Any other combination DOESN'T work, for example:
* Left-click indicator / Just hover to open submenu / Right-click submenu item
* Right-click indicator / Just hover to open submenu / Left-click submenu item
These GNOME bugs might be relevant:
https:/
https:/
But this might be not be a bug in GTK, but in the way the indicator menu is presented. I had a very similar problem with right-click popup menus in my own application Variety and I managed to fix them in my own code. Here is the bugreport, with solution described: https:/
Citing the solution from this bugreport: "This was solved by calling menu.popup(None, None, _compute_position, None, 0, event.time) instead of menu.popup(None, None, _compute_position, None, event.button, event.time) - for some reason if event.button was passed as the menu trigger, then the same button that triggered the menu (right mouse button in our case) was also the only button that successfully triggered the submenu items"
libindicator- appmenu version: 13.01.0+ 14.04.20140404- 0ubuntu1