<?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>189435</bug_id>
          
          <creation_ts>2009-04-12 09:46:30 +0000</creation_ts>
          <short_desc>Keep window thumbnail &quot;Always&quot; breaks minimizing windows</short_desc>
          <delta_ts>2015-07-06 21:00:37 +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>compositing</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>HI</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chri">christoph</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>alecm</cc>
    
    <cc>alejandronova</cc>
    
    <cc>andresbajotierra</cc>
    
    <cc>andrew.dorrell</cc>
    
    <cc>broken.zhou</cc>
    
    <cc>godutchnow</cc>
    
    <cc>kde_bugzilla_2</cc>
    
    <cc>l.arvanitis</cc>
    
    <cc>vo.zaeb</cc>
    
    <cc>vovochka13</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>742050</commentid>
    <comment_count>0</comment_count>
    <who name="Chri">christoph</who>
    <bug_when>2009-04-12 09:46:30 +0000</bug_when>
    <thetext>Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

Hi,
I installed Adobe Air ( 1.5.1) on my 64bit Kubuntu 8.10 KDE 4.2.1 (now on 4.2.2).

Air applications run fine until I minimize them to tray (twhirl, tweetdeck). If I then try to restore it, my Desktop (Kwin) comes unreaktive (seems like Twhirl is restoring from the &quot;systray&quot; then minimizing to it again in and endless, fast loop), can&apos;t even switch applications anymore (have then to kill the AIR process from another tty command session)

If I turn compositing (desktop effects) off, everything works as it should.

I started a thread in following forum and another user experienced the same
http://forum.kde.org/adobe-air-crashes-kde4-2-kwin-t-36510.html#pid50964</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742183</commentid>
    <comment_count>1</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-04-12 15:56:04 +0000</bug_when>
    <thetext>If this seems to be a KWin issue, reassigning to it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742185</commentid>
    <comment_count>2</comment_count>
    <who name="">lucas</who>
    <bug_when>2009-04-12 16:00:52 +0000</bug_when>
    <thetext>What is the value of System Settings -&gt; Desktop -&gt; Advanced -&gt; Keep window thumbnails? Does it still occur if set to &quot;never&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742247</commentid>
    <comment_count>3</comment_count>
    <who name="Chri">christoph</who>
    <bug_when>2009-04-12 18:11:35 +0000</bug_when>
    <thetext>Keep window thumbnails -&gt; never  
solves the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742464</commentid>
    <comment_count>4</comment_count>
    <who name="">lucas</who>
    <bug_when>2009-04-13 05:48:26 +0000</bug_when>
    <thetext>What was the original value? If it was &quot;always&quot; then this is a WONTFIX as there is no way to fix it without changes to X.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742475</commentid>
    <comment_count>5</comment_count>
    <who name="Chri">christoph</who>
    <bug_when>2009-04-13 06:25:59 +0000</bug_when>
    <thetext>yes it was &quot;always&quot;.

would be good if this goes somewhere into an official documentation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742481</commentid>
    <comment_count>6</comment_count>
    <who name="">lucas</who>
    <bug_when>2009-04-13 07:51:27 +0000</bug_when>
    <thetext>Not closing yet as more research is needed to see if there is any way KWin can work around the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742486</commentid>
    <comment_count>7</comment_count>
    <who name="">lucas</who>
    <bug_when>2009-04-13 08:25:23 +0000</bug_when>
    <thetext>SVN commit 952987 by lmurray:

State in the GUI that minimization breaks when always keeping taskbar
thumbnails updated.
CCBUG: 189435

 M  +1 -1      main.ui


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=952987</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742510</commentid>
    <comment_count>8</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2009-04-13 10:48:29 +0000</bug_when>
    <thetext>*** Bug 181848 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>742533</commentid>
    <comment_count>9</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2009-04-13 12:17:37 +0000</bug_when>
    <thetext>*** Bug 189292 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>744206</commentid>
    <comment_count>10</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2009-04-17 19:36:09 +0000</bug_when>
    <thetext>Always having thumbnails for a window means the window can never be unmapped (in X11 terms). Which is the common way to implement minimizing. I assume the application gets confused by the fact that its attempt to minimize the window don&apos;t &quot;work&quot; and gets stuck in a loop. Yet another proof systray sucks and apps should not play with window management. Maybe some ugly hack can be added to KWin to prevent such loop.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>748912</commentid>
    <comment_count>11</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2009-04-28 10:04:41 +0000</bug_when>
    <thetext>*** Bug 184556 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>928823</commentid>
    <comment_count>12</comment_count>
    <who name="andrew">andrew.dorrell</who>
    <bug_when>2010-03-05 12:13:14 +0000</bug_when>
    <thetext>I turned on &quot;always&quot; because I use present windows and its pretty awkward otherwise.  I have not noticed any problems with minimisation.  Is this bug still valid?

Platform Version 4.4.1 (KDE 4.4.1)-kdemod on Arch Linux.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985035</commentid>
    <comment_count>13</comment_count>
    <who name="Alejandro Nova">alejandronova</who>
    <bug_when>2010-07-01 06:47:37 +0000</bug_when>
    <thetext>I vote NO. I&apos;m even for reverting this bug. Under KDE 4.5, I actually have a better minimization with Keep Window Thumbnail set to Always. The bug reversion would be like this.

&quot;Keep Window Thumbnail - Always does not break minimizing windows anymore: Please, remove the string suggesting brokenness, since it doesn&apos;t applies anymore&quot;.

Although I&apos;m testing with KDE 4.5 RC, the KDE 4.4 line already fixed this for me. Please, close this as FIXED and remove the string &quot;brokes minimization&quot; in &quot;Always&quot; setting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985302</commentid>
    <comment_count>14</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2010-07-01 17:54:23 +0000</bug_when>
    <thetext>&gt; &quot;Keep Window Thumbnail - Always does not break minimizing windows anymore:
&gt; Please, remove the string suggesting brokenness, since it doesn&apos;t applies
&gt; anymore&quot;.
This is impossible. It is a technical limitation of the underlying X stack and 
this limitation will probably never be fixed. It is possible that you do not 
experience the problems, nevertheless it is likely that some apps are broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1111912</commentid>
    <comment_count>15</comment_count>
    <who name="Alexander">vo.zaeb</who>
    <bug_when>2011-04-27 13:12:50 +0000</bug_when>
    <thetext>This bug is one of the most annoying bugs, for me...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1112025</commentid>
    <comment_count>16</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2011-04-27 20:35:23 +0000</bug_when>
    <thetext>The bug as described originally is -iff at all- on adobes side (acts on _assumed_ state/ability)
It&apos;s however reasonable since usually one can minimize a window on X11.

So the &quot;correct&quot; behavior was to NOT choose the &quot;always&quot; setting (which is not default in vanilla kwin either) - with the effect that &quot;minimized&quot; windows are lost for the compositor (thus the blank/black windows in certain conditions)

To &quot;fix&quot; this one would need a refinement of X11 protocols / the NETWM standard - and that changes would have to be reflected by the clients (in this case adobe air) as well. (so they could as well fix the false assumption which leads to buggy behavior)

The issue would be resolved by alternative display servers (such as wayland) which use offscreen rendering for all clients by design (but of course you&apos;ll then as well require a compliant client from adobe for wayland...)

The bug is open because lucas then thought one could have a better solution, but i guess it&apos;s rather a &quot;wontfix&quot; - you can still choose whether you prefer true minimization or glitch free effects.

Sorry :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1244205</commentid>
    <comment_count>17</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2012-04-09 07:19:14 +0000</bug_when>
    <thetext>*** Bug 227120 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391409</commentid>
    <comment_count>18</comment_count>
    <who name="Yichao Zhou">broken.zhou</who>
    <bug_when>2013-08-21 03:19:31 +0000</bug_when>
    <thetext>May I ask what does &quot;Keep window thumbnails&quot; do for these three options?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391447</commentid>
    <comment_count>19</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2013-08-21 09:22:46 +0000</bug_when>
    <thetext>(In reply to comment #18)
&gt; May I ask what does &quot;Keep window thumbnails&quot; do for these three options?

It prevents the window from being actually unmapped when eg. on a different desktop or - in the &quot;always&quot; case, even when minimized in order to provide a &quot;live preview&quot; of the window.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1530568</commentid>
    <comment_count>20</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2015-07-06 21:00:37 +0000</bug_when>
    <thetext>This &quot;bug&quot; is a friction between clients with buggy/optimistic/aggressize iconification implementation and unmapped windows not bein drawables (nor updating) - clients should not go wild if they don&apos;t get unmapped for an iconification, but from the compositors POV and on X11 this is a conflict that _cannot_ be resolved. An unmapped client cannot show a live update, so if you want a live preview, you must not unmap the window - if the client cannot deal with that, that&apos;s a client problem.

tl;dr - truth is: WONTFIX, sorry.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>