[plasmashell] [Bug 356190] scripts in $HOME/.config/plasma-workspace/shutdown not executed at full shutdown

2015-12-20 Thread David Edmundson via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356190

David Edmundson  changed:

   What|Removed |Added

 CC||cameron...@poczta.fm

--- Comment #5 from David Edmundson  ---
*** Bug 356898 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.


[plasmashell] [Bug 356190] scripts in $HOME/.config/plasma-workspace/shutdown not executed at full shutdown

2015-12-13 Thread David Edmundson via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356190

David Edmundson  changed:

   What|Removed |Added

  Latest Commit||http://commits.kde.org/plas
   ||ma-workspace/1dc7f11692a409
   ||6b9815ae24f7be9cec10f8f7a5
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from David Edmundson  ---
Git commit 1dc7f11692a4096b9815ae24f7be9cec10f8f7a5 by David Edmundson.
Committed on 13/12/2015 at 16:29.
Pushed by davidedmundson into branch 'Plasma/5.5'.

Move shutdown scripts into ksmserver cleanup

Shutdown scripts are done by startkde after ksmserver quits. Which never
happens because we've told systemd to shutdown.

Old systems worked because they used to communicate with the display
manager which then closed us before shutting down, this is no longer the
case.

This moves handling the shutdown scripts into ksmserver (which already
handles startup scripts) and runs them before asking logind to shutdown.
REVIEW: 126268

M  +27   -0ksmserver/server.cpp
M  +2-0ksmserver/server.h
M  +0-9startkde/startkde.cmake
M  +0-9startkde/startplasma.cmake

http://commits.kde.org/plasma-workspace/1dc7f11692a4096b9815ae24f7be9cec10f8f7a5

-- 
You are receiving this mail because:
You are watching all bug changes.


[plasmashell] [Bug 356190] scripts in $HOME/.config/plasma-workspace/shutdown not executed at full shutdown

2015-12-06 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356190

--- Comment #3 from dutchk...@txoriaskea.org ---
Would be great if this gets fixed! There is probably no hope to see this
backported to older versions? Otherwise it will probably take another year
before this fix would reach opensuse :(

-- 
You are receiving this mail because:
You are watching all bug changes.


[plasmashell] [Bug 356190] scripts in $HOME/.config/plasma-workspace/shutdown not executed at full shutdown

2015-12-03 Thread David Edmundson via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356190

David Edmundson  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED

--- Comment #2 from David Edmundson  ---
Shutdown scripts are done by startkde after ksmserver quits.

Which never happens because we've told systemd to shutdown. Older systems asked
the DM to close us then they did the shutting down (because you need something
that runs as root to do it)

Obvious fix is to just move shutdown scripts into ksmserver before we call
KDisplayManager::shutdown (which weirdly includes logout) and remove code from
startkde. I'll do that tomorrow for 5.5.1

A more awesome (but less portable) method is to make ksmserver have a systemd
delay inhibitor on shutdown; but then we'd need a separate path for logout...so
maybe not worth it

-- 
You are receiving this mail because:
You are watching all bug changes.


[plasmashell] [Bug 356190] scripts in $HOME/.config/plasma-workspace/shutdown not executed at full shutdown

2015-12-03 Thread Marco Martin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356190

Marco Martin  changed:

   What|Removed |Added

 CC||notm...@gmail.com

--- Comment #1 from Marco Martin  ---
ksmserver issue?

-- 
You are receiving this mail because:
You are watching all bug changes.