dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #07820
[Bug 1250262] Re: Selecting power-cog > restart lands highlight on "shutdown"
This isn't an indicator-session bug. Unity's popup gives focus to the
Shutdown button even when the client specifies Reboot.
>From UnityCore/GnomeSessionManagerImpl.h:
> enum class Action : unsigned {
> LOGOUT = 0,
> SHUTDOWN,
> REBOOT,
> NONE
> };
So calling org.gnome.SessionManager.EndSessionDialog.Open with an action
type of '2' to correspond with the REBOOT enum should give focus to the
dialog's Restart button, but doesn't. Repeatable by invoking from
outside indicator-session w/dbus-send:
> dbus-send --print-reply --dest="org.gnome.Shell"
/org/gnome/SessionManager/EndSessionDialog
org.gnome.SessionManager.EndSessionDialog.Open uint32:2 uint32:0
uint32:60 array:objpath:
** Changed in: indicator-session
Status: Confirmed => Invalid
** Summary changed:
- Selecting power-cog > restart lands highlight on "shutdown"
+ Calling org.gnome.SessionManager.EndSessionDialog.Open() with an action of 'Restart' opens the dialog with focus incorrectly on the 'Shutdown' button
** Summary changed:
- Calling org.gnome.SessionManager.EndSessionDialog.Open() with an action of 'Restart' opens the dialog with focus incorrectly on the 'Shutdown' button
+ Calling EndSessionDialog.Open(Restart) opens the dialog with a focused 'Shutdown' button
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1250262
Title:
Calling EndSessionDialog.Open(Restart) opens the dialog with a focused
'Shutdown' button
Status in The Session Menu:
Invalid
Status in Unity:
Triaged
Status in “unity” package in Ubuntu:
Triaged
Bug description:
Ubuntu 13.10.
Selecting the power-cog > restart should result in the popup
highlighting/pre-selecting Restart so users only have to hit Enter.
Presently users who select "Restart" from the power-cog menu have to
then use the cursor keys to actually select "Restart" else a shutdown
will occur.
It makes no sense to put "Restart" in the power-cog menu only to have
the popup that appears highlight "Shutdown"
To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/1250262/+subscriptions