<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>152155</bug_id>
          
          <creation_ts>2007-11-11 02:06:31 +0000</creation_ts>
          <short_desc>KDE should change resolution when switching to/from a fullscreen app that uses a different resolution</short_desc>
          <delta_ts>2007-11-14 16:22:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Dima Ryazanov">dima</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>bluedzins</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>554596</commentid>
    <comment_count>0</comment_count>
    <who name="Dima Ryazanov">dima</who>
    <bug_when>2007-11-11 02:06:31 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>554601</commentid>
    <comment_count>1</comment_count>
    <who name="anton">benderamp</who>
    <bug_when>2007-11-11 02:57:11 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>554603</commentid>
    <comment_count>2</comment_count>
    <who name="Dima Ryazanov">dima</who>
    <bug_when>2007-11-11 03:09:59 +0000</bug_when>
    <thetext>But since &quot;xrandr&quot; works, can&apos;t kwin do that on its own when switching between applications?

(Also, I never had to restart X...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>554871</commentid>
    <comment_count>3</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2007-11-12 18:21:53 +0000</bug_when>
    <thetext>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&apos;s another wrong thing it does - it&apos;s supposed to only change the video mode.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>555198</commentid>
    <comment_count>4</comment_count>
    <who name="Maciej Pilichowski">bluedzins</who>
    <bug_when>2007-11-14 09:36:49 +0000</bug_when>
    <thetext>Lubos, could it be possible for KDE to &quot;protect&quot; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>555304</commentid>
    <comment_count>5</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2007-11-14 16:22:17 +0000</bug_when>
    <thetext>KWin has no control nor any idea such things are happening - I don&apos;t know any good way how to currently implement that.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>