[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 187907] Restore resolution after application crash
From:       BRULE Herman <alpha_one_x86 () first-world ! info>
Date:       2009-10-31 21:30:54
Message-ID: 20091031213054.CB51B2525B () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=187907





--- Comment #7 from BRULE Herman <alpha_one_x86 first-world info>  2009-10-31 22:30:52 ---
> Of course it can be detected. But how should an application know which other
application caused the resolution to change, how should the application know
that the app should return the resolution and how should it detect that the
other application crashed?

It can by detect my multiple method (dmesg under linux, survey process list).
And change of resolution is detected by plasma because it reorder my desktop
icon when application crash under wine.
I thinks I particular of wine application crash, because the application which
can by crash easy && change resolution is game.
But it's available too for all X only application (native game under linux).

I hard is detect which application change the resolution, after it's easy
should only detect when this application is crashed/closed.
Linux is more structured of other OS (windows), and I thinks it's possible
directly or via library. And other OS (windows) do it. I thinks nothing is
impossible, the problem it's just detect when application change resolution
(talk with X server?).

I thinks too it's the only way for attract the hard gamer under linux
(community which can influence on common people)

KDE desktop is not closed environment, it interact with external environment
via multiple lib (I thinks particular to hald)

For my the solution is:
1) detect change os resolution, and the the pid linked (of the application)
2) if application crash (see in monitor process list && dmesg for linux)
restore the resolution

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic