Bug 181585

Summary: KNotificationRestrictions(ScreenSaver) does not cancel screen saver
Product: [Unmaintained] kdelibs Reporter: David Jarvie <djarvie>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Jarvie 2009-01-22 11:06:11 UTC
Version:           4.2.0 (using Devel)
Compiler:          gcc 4.3 
OS:                Linux
Installed from:    Compiled sources

Using the following code in a function does not cancel the screen saver in KDE 4.2.0. (To avoid doubt, the screen saver is the ordinary sort, not a powersave suspend.)

KNotificationRestrictions n(KNotificationRestrictions::ScreenSaver);

The D-Bus call in KNotificationRestrictions::Private::startScreenSaverPrevention() returns reply.isValid() == true, but the screen saver stays active.
Comment 1 Christoph Feck 2010-09-01 00:01:00 UTC

*** This bug has been marked as a duplicate of bug 111655 ***