new session dialog trigger "do you want to save work" when not needed

Bug #1153576 reported by Sebastien Bacher
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ayatana Design
Triaged
Low
John Lea
Unity
Confirmed
Low
Marco Trevisan (Treviño)
gnome-session (Ubuntu)
Confirmed
Undecided
Unassigned
Xenial
Confirmed
Undecided
Unassigned
unity (Ubuntu)
Confirmed
Undecided
Unassigned
Xenial
Confirmed
Undecided
Unassigned

Bug Description

Using current raring

- start gedit
- type something in the textview
- open the unity session menu, select "close the session..."

the new unity UI for lock screen/logout opens, at the same time you can see the gedit "session is about to close and you have unsaved work, what do you want to do?" under it ... the UI interaction is confusing, that dialog is also not need if you just want to pick "lock screen", that dialog shouldn't be triggered before logout is really picked

Changed in unity:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Unfortunately that's triggered by gnome-session when requiring a logout, and we can't do so much about this mostly because the gnome-session is not giving us a list of inhibitors before that an action is requested.

So, to get this we'd need to fix the interactions between gnome-session and its clients and then to change indicator-session to directly call the unity action to perform (and not gnome Session).

At this point I think it's too much work for the noise it causes.

Changed in unity:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

As I understand it, the existing API says this to applications: "Okay, we're exiting the session. Prompt to save changes if you need to, and let us know if you have to cancel the logout for whatever reason."

It seems to me you're trying to use it to mean something else: "We're not exiting the session right now. We'd just like to know if you would need to prompt to save changes if we *were* exiting."

If you want an API for that purpose, then add it and get it standardized. But I think that would be a high cost to pay, just to customize the text in the Log Out dialog. Just make the text constant like it is in other OSes.

Changed in gnome-session (Ubuntu):
status: New → Confirmed
tags: added: indicator-session-new-dialogs
Revision history for this message
John Lea (johnlea) wrote :

I think this would be nice to fix, but I don't think it is a blocker.

Changed in ayatana-design:
assignee: nobody → John Lea (johnlea)
importance: Undecided → Low
status: New → Triaged
John Lea (johnlea)
tags: added: udp
Changed in unity (Ubuntu):
status: New → Confirmed
tags: added: rls-w-incoming
tags: added: rls-x-incoming
removed: rls-w-incoming
Will Cooke (willcooke)
tags: removed: rls-x-incoming
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.