[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Causes of session management problems in Plasma 5
From:       Thomas_Lübking <thomas.luebking () gmail ! com>
Date:       2015-11-26 7:55:19
Message-ID: 3d9b6e18-50af-4a36-a8ee-a34241c614c4 () gmail ! com
[Download RAW message or body]

On Donnerstag, 26. November 2015 05:19:34 CEST, Nicolás Alvarez wrote:

> What do you mean with "konsole asks"? Things like "You have 
> multiple tabs open, are you sure you want to quit?" and "You 
> have unsaved changes"?

Yes.

> If so, the scenario you describe is bad regardless of session 
> restoration.

Yes. Unfortunaltely.

> If konsole has to ask the user and the user has a 
> chance to say no and cancel the logout at that point, then 
> kwrite shouldn't have exited yet!

That's what the spec says, but the ksmserver change suggestion is about buggy clients \
that behave exactly this way.

> If "app canceling logout" is a thing, then logout should feel 
> transactional to the user. Either logout happens and all apps 
> exit, or logout doesn't happen and nothing exits.

Yes. That's what the spec says ...


> I guess the implementation of that would be: all apps should be given a 
> chance to ask their questions and approve or stop the logout

That'S exactly what happens, but ...

> before *any* app exits.

We cannot stop process from doing stupid things, like exiting in the wrong moment.

> This is how MS Windows works, by the way (or used to work).
No, it's how not buggy applications work on windows.

Cheers,
Thomas


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic