<?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>78109</bug_id>
          
          <creation_ts>2004-03-20 23:09:59 +0000</creation_ts>
          <short_desc>&quot;show desktop&quot; breaks desktop switching</short_desc>
          <delta_ts>2008-02-04 18:19:36 +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>openSUSE</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="Toomas">toomasr</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>bmarsh</cc>
    
    <cc>bugs_kde</cc>
    
    <cc>kde</cc>
    
    <cc>peppe</cc>
    
    <cc>selecter</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>217554</commentid>
    <comment_count>0</comment_count>
    <who name="Toomas">toomasr</who>
    <bug_when>2004-03-20 23:09:59 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.2.1)
Installed from:    SuSE RPMs
OS:          Linux

Hello

Example1:
I&apos;m on desktop 1. I press win+d (toggle showing desktop). Then i press ctrl-f2. All the windows rise up again and i&apos;m still on desktop 1. I press AGAIN ctrl-f2 i get to desktop 2.

Example2:
I&apos;m on desktop 2. I press win+d (toggel showing desktop). Then i press ctrl-f1. All the windows rise up and i&apos;m still on desktop 2. I press ctrl-f1 AGAIN and i get to desktop 1.


/toomasr</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242691</commentid>
    <comment_count>1</comment_count>
    <who name="Jorge Adriano">jorge.adriano</who>
    <bug_when>2004-06-20 11:40:26 +0000</bug_when>
    <thetext>Still present in KDE 3.2.3.
Using SuSE 8.2 rpms.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>244726</commentid>
    <comment_count>2</comment_count>
    <who name="Anton">selecter</who>
    <bug_when>2004-06-29 12:53:46 +0000</bug_when>
    <thetext>Confirm it on 3.2.3 on gentoo

One thing: the bug shows only when some windows (or one window) are active on current desktop.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>244728</commentid>
    <comment_count>3</comment_count>
    <who name="Anton">selecter</who>
    <bug_when>2004-06-29 12:57:40 +0000</bug_when>
    <thetext>Shortcut with &quot;dcop kwin default setCurrentDesktop 2&quot; is affected too. So it might be a problem in &quot;setCurrentDesktop&quot; function.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245886</commentid>
    <comment_count>4</comment_count>
    <who name="Anton">selecter</who>
    <bug_when>2004-07-05 10:26:48 +0000</bug_when>
    <thetext>Will someone fix it, huh? :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>252187</commentid>
    <comment_count>5</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2004-07-24 13:20:31 +0000</bug_when>
    <thetext>*** Bug 85856 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>290706</commentid>
    <comment_count>6</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2004-12-01 17:42:59 +0000</bug_when>
    <thetext>*** Bug 93391 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>299076</commentid>
    <comment_count>7</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2005-01-03 14:49:33 +0000</bug_when>
    <thetext>*** Bug 95607 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>325798</commentid>
    <comment_count>8</comment_count>
    <who name="peppelorum">peppe</who>
    <bug_when>2005-03-19 22:26:54 +0000</bug_when>
    <thetext>Jut wanted to add that this still occurs in KDE 3.4, using debs from alioth.debian.org and Xinerama.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>339770</commentid>
    <comment_count>9</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2005-05-05 15:57:00 +0000</bug_when>
    <thetext>*** Bug 95316 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>340040</commentid>
    <comment_count>10</comment_count>
    <who name="Toomas">toomasr</who>
    <bug_when>2005-05-06 22:59:12 +0000</bug_when>
    <thetext>KDE 3.4, debs from alioth.debian.org, _can&apos;t_ reproduce the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>340055</commentid>
    <comment_count>11</comment_count>
    <who name="peppelorum">peppe</who>
    <bug_when>2005-05-07 00:28:57 +0000</bug_when>
    <thetext>KDE 3.4, debs from alioth.debian.org. Gets this behaviour every time I change desktop, uses Xinerama if that matters.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>341679</commentid>
    <comment_count>12</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2005-05-13 10:57:33 +0000</bug_when>
    <thetext>SVN commit 413066 by lunakl:

Implement _NET_SHOWING_DESKTOP, giving control of the &apos;show desktop&apos;
feature to KWin. There shouldn&apos;t hopefully be any visible user
difference other than fixed bugs.
BUG: 78109
BUG: 99524



 M  +23 -2     trunk/KDE/kdebase/kicker/core/showdesktop.cpp  
 M  +2 -0      trunk/KDE/kdebase/kicker/core/showdesktop.h  
 M  +4 -1      trunk/KDE/kdebase/kwin/client.cpp  
 M  +6 -1      trunk/KDE/kdebase/kwin/events.cpp  
 M  +3 -0      trunk/KDE/kdebase/kwin/manage.cpp  
 M  +74 -1     trunk/KDE/kdebase/kwin/workspace.cpp  
 M  +14 -1     trunk/KDE/kdebase/kwin/workspace.h  
 M  +43 -19    trunk/KDE/kdelibs/kdecore/kwinmodule.cpp  
 M  +12 -0     trunk/KDE/kdelibs/kdecore/kwinmodule.h  
 M  +99 -5     trunk/KDE/kdelibs/kdecore/netwm.cpp  
 M  +50 -0     trunk/KDE/kdelibs/kdecore/netwm.h  
 M  +2 -1      trunk/KDE/kdelibs/kdecore/netwm_def.h  
 M  +1 -0      trunk/KDE/kdelibs/kdecore/netwm_p.h  
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379547</commentid>
    <comment_count>13</comment_count>
    <who name="peppelorum">peppe</who>
    <bug_when>2005-10-06 16:19:13 +0000</bug_when>
    <thetext>Using 3.4.2 from Debian/alioth/experimental on a newly installed system, still gets the same behaviour. Everything is new, including ~/.kde. Don&apos;t know what&apos;s missing. Using Xinerama as I said in my bug report, http://bugs.kde.org/show_bug.cgi?id=93391</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379804</commentid>
    <comment_count>14</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2005-10-07 13:28:37 +0000</bug_when>
    <thetext>You&apos;ll need KDE3.5.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>396564</commentid>
    <comment_count>15</comment_count>
    <who name="peppelorum">peppe</who>
    <bug_when>2005-12-07 21:24:27 +0000</bug_when>
    <thetext>Now using 3.5.0 from http://pkg-kde.alioth.debian.org/kde-3.5.0/ and the error still occurs for me. Don&apos;t know what more information I should provide, if you&apos;ll tell me I will post it as soon as I can.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>398508</commentid>
    <comment_count>16</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2005-12-14 17:08:11 +0000</bug_when>
    <thetext>Both examples given in bug description work fine here, ctrl+fX immediately switches to the desired virtual desktop. I&apos;m not sure what more information you could provide - perhaps step-by-step instructions how to reproduce the problem starting after creating a new user account.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>404875</commentid>
    <comment_count>17</comment_count>
    <who name="Toomas">toomasr</who>
    <bug_when>2006-01-09 22:16:23 +0000</bug_when>
    <thetext>Confirmed. Working like a charm. Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>500441</commentid>
    <comment_count>18</comment_count>
    <who name="Jeff Mitchell">mitchell</who>
    <bug_when>2007-01-10 22:46:36 +0000</bug_when>
    <thetext>Running KDE 3.5.5 on Gentoo here.  When I have some windows, then use my &quot;Show Desktop&quot; shortcut, and while the windows are all hidden attempt to switch virtual desktops, the desktop I&apos;m already on is shown instead, and the windows are simply unhidden.

Since this has been marked as fixed, not sure if it&apos;s a regression or if it was never fixed right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>501742</commentid>
    <comment_count>19</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2007-01-15 15:31:00 +0000</bug_when>
    <thetext>SVN commit 623798 by lunakl:

Ouch.
BUG: 78109



 M  +0 -1      showdesktop.cpp  


--- branches/KDE/3.5/kdebase/kicker/kicker/core/showdesktop.cpp #623797:623798
@@ -47,7 +47,6 @@
     // KDE is running with another WM without the feature.
     NETRootInfo i( qt_xdisplay(), NET::Supported );
     m_wmSupport = i.isSupported( NET::WM2ShowingDesktop );
-    m_wmSupport = false;
     if( m_wmSupport )
     {
         connect( Kicker::the()-&gt;kwinModule(), SIGNAL( showingDesktopChanged( bool )),
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>577634</commentid>
    <comment_count>20</comment_count>
    <who name="Jorge Adriano">jorge.adriano</who>
    <bug_when>2008-02-04 17:35:55 +0000</bug_when>
    <thetext>Is this really working fine now?
In KDE 3.5.8:

- click desktop access (show desktop)
(everything will minimise)

- change desktop 
(you can see in the pager that apps in previous desktop are restored!)

- go back to first desktop
(yeap they are restored)


Bug or feature?
...

You also get your applications restored by launching a new app after pressing &quot;desktop access&quot;. What about this? bug or feature?

...

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>577663</commentid>
    <comment_count>21</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2008-02-04 18:19:36 +0000</bug_when>
    <thetext>Feature. If &apos;Show Desktop&apos; would be meant to minimize all windows, it would be named &apos;Minimize All Windows&apos;.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>