Bug 290587

Summary: DragonPlayer does not reenable DPMS on exit
Product: [Applications] dragonplayer Reporter: dwhitney67
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: myriam, sitter
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description dwhitney67 2012-01-04 12:45:56 UTC
Version:           2.0 (using KDE 4.7.3) 
OS:                Linux

When I launch DragonPlayer, DPMS is disabled.  When I exit DragonPlayer, DPMS is not reenabled, thus forcing me to do it manually.

Reproducible: Always

Steps to Reproduce:
1.  Enable DPMS and verify such
          $ xset -display $DISPLAY +dpms
          $ xset -q | grep DPMS

2.  Run DragonPlayer

3.  Verify DPMS is disabled
          $ xset -q | grep DPMS

4.  Quit DragonPlayer

5.  Again, verify DPMS setting; it should be reenabled, but it is not
          $ xset -q | grep DPMS

Actual Results:  
DPMS is disabled.

Expected Results:  
DPMS is enabled.

 The DPMS state should be restored when the exit handler of DragonPlayer is called.
Comment 1 Harald Sitter 2012-05-31 22:24:35 UTC
Git commit ac92ddb3c2fe7ecc4009d0f2f1ec33843949ea2e by Harald Sitter.
Committed on 01/06/2012 at 00:24.
Pushed by sitter into branch 'master'.

make sure power saving is resumed when quitting the app

M  +26   -0    src/app/mainWindow.cpp
M  +3    -0    src/app/mainWindow.h
M  +2    -19   src/app/stateChange.cpp

http://commits.kde.org/dragon/ac92ddb3c2fe7ecc4009d0f2f1ec33843949ea2e