Bug 156798

Summary: strange intersections when window on desktop grid intersects several desktops
Product: [Plasma] kwin Reporter: Stefan Majewsky <majewsky>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: tog000
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Stefan Majewsky 2008-01-27 17:50:50 UTC
Version:            (using KDE 4.0.0)

When moving a window on the desktop grid, one can position it to overlap several desktops. Of course, the window can only be on one desktop. However, it happens that the window is displayed over some desktops, and is overlapped by some others. Which desktop covers and which does not, seems to heavily depend on the position of the window (I talk about only some pixels).

The best solution in my opinion would be that the window is cut off at the edges of the desktop (just like if it does not appear at all at the other desktops, and that is the case).
Comment 1 Lubos Lunak 2008-01-29 18:04:59 UTC
SVN commit 768277 by lunakl:

Temporary hack for #156798 until http://lists.kde.org/?l=kwin&m=120138051215450&w=2
is evaluated.
CCBUG: 156798



 M  +19 -0     desktopgrid.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=768277
Comment 2 Lubos Lunak 2008-02-06 16:14:57 UTC
*** Bug 157260 has been marked as a duplicate of this bug. ***
Comment 3 Lubos Lunak 2008-02-25 12:32:47 UTC
SVN commit 779045 by lunakl:

Abstract paint clipping into PaintClipper helper class that allows
stacking of clipping regions.
(http://lists.kde.org/?l=kwin&m=120138051215450&w=2)
BUG: 156798



 M  +1 -1      effects/coverswitch.cpp  
 M  +8 -0      effects/desktopgrid.cpp  
 M  +1 -1      effects/flipswitch.cpp  
 M  +26 -25    effects/magnifier.cpp  
 M  +1 -1      effects/presentwindows.cpp  
 M  +4 -7      effects/shadow.cpp  
 M  +1 -1      effects/shadow.h  
 M  +1 -1      effects/showfps.cpp  
 M  +1 -1      effects/snow.cpp  
 M  +1 -1      effects/trackmouse.cpp  
 M  +164 -0    lib/kwineffects.cpp  
 M  +87 -1     lib/kwineffects.h  
 M  +9 -46     lib/kwinglutils.cpp  
 M  +4 -10     lib/kwinglutils.h  
 M  +2 -0      scene.cpp  
 M  +0 -8      scene.h  
 M  +14 -12    scene_opengl.cpp  
 M  +22 -45    scene_xrender.cpp  
 M  +0 -1      scene_xrender.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=779045