Does not work in non-Unity DEs/Xsessions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-session (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Clicking any of the actions that require a prompt - shutdown, restart, etc. - in a non-Unity X session do not work. This seems to be caused by prompt selection code in https:/
Checking for availability of Zenity prompt first is reported to fix this.
For a proper solution the code responsible for detecting Unity prompt availability should be improved. Right now it seems to be simply checking if it can access D-bus. I assume the prompt is invoked via a D-bus call so I've investigated checking for name presence on the bus, but that can potentially be slow since it has a manually-set timeout.
Checking the XDG_CURRENT_DESKTOP variable and only showing the Unity prompt if it's set to "Unity" sounds like a better idea to me, but I'm not sure if the variable is set on Ubuntu Touch at all.
no longer affects: | indicator-session |
Changed in indicator-session (Ubuntu): | |
importance: | Undecided → Low |
tags: | added: zesty |
Status changed to 'Confirmed' because the bug affects multiple users.