Bug 181585 - KNotificationRestrictions(ScreenSaver) does not cancel screen saver
Summary: KNotificationRestrictions(ScreenSaver) does not cancel screen saver
Status: RESOLVED DUPLICATE of bug 111655
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-22 11:06 UTC by David Jarvie
Modified: 2010-09-01 00:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***