Bug 152155 - KDE should change resolution when switching to/from a fullscreen app that uses a different resolution
Summary: KDE should change resolution when switching to/from a fullscreen app that use...
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-11 02:06 UTC by Dima Ryazanov
Modified: 2007-11-14 16:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Ryazanov 2007-11-11 02:06:31 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    Gentoo Packages
OS:                Linux

When I play a game in fullscreen with a lower resolution and switch to some other application, it causes the whole desktop to resize to the low resolution. (And this messes things up: e.g., bug 80265).
It would be nice if KDE changed the resolution when switching from and to the fullscreen application. Windows does it, and I think it works well.
Comment 1 anton 2007-11-11 02:57:11 UTC
I would very like to see this annoying issue fixed either, but I think this is not a kde/kwin problem - I think it is related to x.org.

As a workarond you can run the following command from xterm (or from konsole or from yakuake):

xrandr -s 0

It would fix the resolution and would allow not to restart x each time.
Comment 2 Dima Ryazanov 2007-11-11 03:09:59 UTC
But since "xrandr" works, can't kwin do that on its own when switching between applications?

(Also, I never had to restart X...)
Comment 3 Lubos Lunak 2007-11-12 18:21:53 UTC
The resolution switching is done by the game, and it is not supposed to leave your screen in the wrong resolution. Moreover, if the game really changes the size of the desktop, then it's another wrong thing it does - it's supposed to only change the video mode.
Comment 4 Maciej Pilichowski 2007-11-14 09:36:49 UTC
Lubos, could it be possible for KDE to "protect" user/desktop? After all world is not perfect and you can always find a buggy (or malware) game and it would be better I think that KDE would not trust other apps.
Comment 5 Lubos Lunak 2007-11-14 16:22:17 UTC
KWin has no control nor any idea such things are happening - I don't know any good way how to currently implement that.