Bug 27920 - desktop resolution gets not restored
Summary: desktop resolution gets not restored
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.4 (2008.09)
Hardware: All Linux (All)
: medium major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-30 15:55 UTC by paul.geisler
Modified: 2010-05-06 13:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description paul.geisler 2010-04-30 15:55:55 UTC
After running some bad resolution changing fullscreen application, the user set desktop resolution is not restored on quite many occasions. 

This is frequent if the display changing application is terminated abnormally (crashed, killed). 

Several bugtrackers are full of "desktop resolution wrong after running xy" complaints. This cannot be blamed to bad programs any more. The resolution should be handled just like memory or file handles - if the screen posessing process gets terminated, the OS / xserver should take care of restoring the desktop.
Comment 1 Adam Jackson 2010-05-06 13:04:10 UTC
commit 2d9da7a5f384d5f38b2be79b1ea0df5a3deb52d1
Author: Luc Verhaegen <libv@skynet.be>
Date:   Thu Oct 9 22:22:53 2008 +0200

    DGA: Track client state even when using old style DGA.
    
    This fixes the issue that a badly killed DGA will keep on hogging
    mode/framebuffer/mouse/keyboard.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.