Bug 290587 - DragonPlayer does not reenable DPMS on exit
Summary: DragonPlayer does not reenable DPMS on exit
Status: RESOLVED FIXED
Alias: None
Product: dragonplayer
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-04 12:45 UTC by dwhitney67
Modified: 2012-05-31 22:24 UTC (History)
2 users (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 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