suid window menus not captured; inconsistent interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Application Menu Indicator |
New
|
Undecided
|
Unassigned |
Bug Description
indicator-appmenu doesn't catch menus for programs ran as root (or with sudo/gksu). The result is an inconsistent interface.
Steps to reproduce:
1. Install indicator-appmenu
2. Open a regular application as a regular user, note the menu in the panel.
3. Open the same window as a super user, note the menu in the application window.
Reproducable:
Always.
Case in point:
Usually I edit text files with gedit, and the menu is in the panel, but when I edit a system file (using gksu) it's in the application window. I catch myself looking for it in the panel over and over, wasting time and getting confused.
Most windows have no trouble giving indicator-appmenu control of their menus, so I'm used to finding it in the panel with the exception of a few programs like Firefox (because it doesn't use a gtk menu) and Synaptic (which does use a gtk menu, but never runs without gksu).
I imagine the problem would vanish if the applet were run with suid, but I don't know how.
This is the only thing that really bugs me since transitioning from globalmenu, which never displayed this issue.