Bug 243849

Summary: action not ran when screen unlocked
Product: [Applications] systemsettings Reporter: Nick Malakhov <nomen.infitior>
Component: kcm_notifyAssignee: Olivier Goffart <ogoffart>
Status: RESOLVED FIXED    
Severity: normal CC: benni, verdrehung, yehielb
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 4.6.3

Description Nick Malakhov 2010-07-07 14:12:19 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

I added "Run command" to events "Screen locked" and "Screen unlocked" in system settings. Command was envoked when I press Ctrl+Alt+L and lock screen, but when I unlock screen command not run.

Reproducible: Always

Steps to Reproduce:
1. systemsettings -> Notifications -> The KDE Screen Saver
2. Add "run command" or even "play a sound" setting
3. Lock the screen. Sound plays.
4. Unlock the screen. Sount doesn't play

Actual Results:  
Command doesn't run on screen unlock

Expected Results:  
actually, my script's execution
Comment 1 Benni Hill 2011-02-04 21:09:49 UTC
I can confirm this on KDE 4.6.
Comment 2 Lamarque V. Souza 2011-04-09 09:57:11 UTC
*** Bug 251825 has been marked as a duplicate of this bug. ***
Comment 3 Lamarque V. Souza 2011-04-09 09:57:48 UTC
*** Bug 249087 has been marked as a duplicate of this bug. ***
Comment 4 Lamarque V. Souza 2011-04-13 10:19:19 UTC
Git commit d5e14a0cdbd99cb80682e473912fd82f9ba6e40c by Lamarque V. Souza.
Committed on 13/04/2011 at 10:23.
Pushed by lvsouza into branch 'KDE/4.6'.

Using static method KNotification::event() does not work here, creating a
KNotification object does.

BUG: 243849
FIXED-IN: 4.6.3

M  +4    -2    krunner/lock/lockprocess.cc     

http://commits.kde.org/kde-workspace/d5e14a0cdbd99cb80682e473912fd82f9ba6e40c
Comment 5 Lamarque V. Souza 2011-04-13 10:19:19 UTC
Git commit 52ca2fd57f9f9aa5b30b0a9da0e66787bcaf0cc7 by Lamarque V. Souza.
Committed on 13/04/2011 at 10:23.
Pushed by lvsouza into branch 'master'.

Using static method KNotification::event() does not work here, creating a
KNotification object does.

BUG: 243849
FIXED-IN: 4.6.3

M  +4    -2    krunner/lock/lockprocess.cc     

http://commits.kde.org/kde-workspace/52ca2fd57f9f9aa5b30b0a9da0e66787bcaf0cc7