<?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>262137</bug_id>
          
          <creation_ts>2011-01-05 00:35:54 +0000</creation_ts>
          <short_desc>[Present Windows] Incorrect support of Show Desktop</short_desc>
          <delta_ts>2011-09-23 15:53:24 +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>effects-window-management</component>
          <version>git master</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kai Uwe Broulik">KaiUweBroulik2</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          
          
          <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>1068185</commentid>
    <comment_count>0</comment_count>
    <who name="Kai Uwe Broulik">KaiUweBroulik2</who>
    <bug_when>2011-01-05 00:35:54 +0000</bug_when>
    <thetext>Version:           SVN (using KDE 4.5.90) 
OS:                Linux

Using the “Show Windows” effect for switching applications (Alt+Tab) shows Plasma-Desktop as well. This leaves the respective desktop black. But it is randomly choosen. Sometimes Plasma desktop of the left screen is taken and the windows shown on the left screen, sometimes Plasma desktop of the right screen is taken and the windows shown on the right screen but sometimes you have plasma desktop of the left screen is taken and you have you windows being shown on the right screen. I cannot figure out what is the trigger for this behavior, it does not matter whether I move the mouse over to the screen I want to have the effect, also the window currently having focus or willing to gain focus when leaving Alt+Tab is also involved in the progress of choosing the screen.
To sum it all up, the effect is bad when having multiple screens.

Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072750</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2011-01-13 19:37:47 +0000</bug_when>
    <thetext>What is the &quot;Show Windows&quot; effect. Do you mean &quot;Present Windows&quot; which is translated to &quot;Fenster zeigen&quot; (backtranslated &quot;Show Windows&quot;)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072752</commentid>
    <comment_count>2</comment_count>
    <who name="Kai Uwe Broulik">KaiUweBroulik2</who>
    <bug_when>2011-01-13 19:39:51 +0000</bug_when>
    <thetext>Yep, “Fenster zeigen”</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072762</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2011-01-13 19:50:12 +0000</bug_when>
    <thetext>I think I did such a fix for Flip Switch. Probably just the same changes need to be made to all alt+tab effects.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072859</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2011-01-13 22:00:50 +0000</bug_when>
    <thetext>With the change of rev 1214264 the situation improved. The desktop is now 
shown in the list, but is missing as the background. This is at the moment the 
most we can do without changing the code too much which I do not consider to 
do before 4.6 (risk of breakage).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1152077</commentid>
    <comment_count>5</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2011-08-09 21:48:58 +0000</bug_when>
    <thetext>Git commit 4e0f11c62bdbad58de2cf038640bdff2ea396af2 by Thomas Lübking.
Committed on 25/04/2011 at 17:04.
Pushed by luebking into branch &apos;master&apos;.

fix close button side for present windows effect
BUG: 262543

pint desktop as background when including desktop in switcher
BUG: 262137

zoom windows as hover/selection indicaton (1/8 of the screen or 105%)
BUG: 215348
CCBUG: 175521

no closer on &quot;show desktop&quot; desktop
show closer immediately but have it disabled for a short time to allow the user realize it

REVIEW: 101318

M  +99   -27   kwin/effects/presentwindows/presentwindows.cpp
M  +9    -0    kwin/workspace.h
M  +15   -0    kwin/libkdecorations/kdecorationfactory.h
M  +11   -0    kwin/effects.cpp
M  +4    -0    kwin/libkwineffects/kwinglobals.h
M  +2    -1    kwin/libkwineffects/kwineffects.h
M  +6    -3    kwin/effects/presentwindows/presentwindows.h
M  +2    -0    kwin/effects.h
M  +22   -1    kwin/libkdecorations/kdecorationfactory.cpp

http://commits.kde.org/kde-workspace/4e0f11c62bdbad58de2cf038640bdff2ea396af2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1166168</commentid>
    <comment_count>6</comment_count>
    <who name="Marco Martin">notmart</who>
    <bug_when>2011-09-23 15:53:24 +0000</bug_when>
    <thetext>Git commit dbe57396853f9995a9b3d7ab5d55f88fc730512a by Marco Martin.
Committed on 23/09/2011 at 17:55.
Pushed by mart into branch &apos;active-development/screenlocker&apos;.

fix close button side for present windows effect
BUG: 262543

pint desktop as background when including desktop in switcher
BUG: 262137

zoom windows as hover/selection indicaton (1/8 of the screen or 105%)
BUG: 215348
CCBUG: 175521

no closer on &quot;show desktop&quot; desktop
show closer immediately but have it disabled for a short time to allow the user realize it

REVIEW: 101318

Conflicts:

	kwin/effects.h

M  +11   -0    kwin/effects.cpp
M  +99   -27   kwin/effects/presentwindows/presentwindows.cpp
M  +6    -3    kwin/effects/presentwindows/presentwindows.h
M  +22   -1    kwin/libkdecorations/kdecorationfactory.cpp
M  +15   -0    kwin/libkdecorations/kdecorationfactory.h
M  +2    -1    kwin/libkwineffects/kwineffects.h
M  +4    -0    kwin/libkwineffects/kwinglobals.h
M  +9    -0    kwin/workspace.h

http://commits.kde.org/kde-workspace/dbe57396853f9995a9b3d7ab5d55f88fc730512a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>