Bug 84737

Summary: Plastik: dragging icons around leaves traces of the dragshapes
Product: [Unmaintained] kdelibs Reporter: Wilco Greven <greven>
Component: kstyleAssignee: Sandro Giessl <sgiessl>
Status: RESOLVED FIXED    
Severity: normal CC: aaronf0, andre, esigra, fredcwells, gregor, jlp, mespinoz
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Wilco Greven 2004-07-08 15:52:52 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

When you drag an icon around e.g. in konqueror or on the desktop, traces of the dragshapes are left behind. Other styles derived from KStyle don't show this problem, only Plastik. So the bug is probably in plastik's code for rendering PE_FocusRect.
Comment 1 Maksim Orlovich 2004-07-10 18:48:28 UTC
What Qt version do you use?
Comment 2 Wilco Greven 2004-07-11 22:06:44 UTC
I'm using Qt 3.3.2. Latest from qt-copy with the patches applied.
Comment 3 Maksim Orlovich 2004-07-29 18:53:12 UTC
*** Bug 86067 has been marked as a duplicate of this bug. ***
Comment 4 Maksim Orlovich 2004-07-29 18:54:05 UTC
Never mind the Qt version, actually, shouldn't matter... Can't reproduce, personally, but this is for Sandro anyway..
Comment 5 Sandro Giessl 2004-07-30 21:40:13 UTC
I can't reproduce it either.
Comment 6 Wilco Greven 2004-08-25 10:01:47 UTC
It looks like the bug only occurs with the radeon driver (also see bugreport 87818, which is most likely a dupe). When I run X with the vesa driver everything looks fine.

I'm using Xorg 6.7.99 right now, but it also happened with XFree86 4.3.0.
Comment 7 Maksim Orlovich 2004-08-25 21:28:47 UTC
Sounds like a potential X bug then. Other reporters: are you using the same driver? 
Comment 8 Mark Faktor 2004-08-26 17:16:10 UTC
Yep, using Radeon driver with Qt 3.3.2 and can reproduce the error when Plastik style is selected.  I know you said that Qt shouldn't matter, but I'm gonna upgrade to 3.3.3 and see if that helps.  
Comment 9 Sashmit Bhaduri 2004-08-26 19:16:31 UTC
saw a screenshot of it at http://mywebpages.comcast.net/epyon9283/kde3.3.png
Comment 10 Mark Faktor 2004-08-27 19:45:17 UTC
No go, Qt 3.3.3 did not help.  I should have listened to you Maksim.  I also removed Xfree and installed xorg, but that didn't help either.  Until there is a fix, I've downloaded the Ballistik style from KDE.look.org.  It's not quite the same as Plastik, but pretty close.
Comment 11 Wilco Greven 2004-08-29 00:39:32 UTC
*** Bug 88332 has been marked as a duplicate of this bug. ***
Comment 12 Sandro Giessl 2004-08-29 13:28:42 UTC
Mark Faktor: The bug doesn't exist in Ballistik?
Comment 13 Gregor Kališnik 2004-08-29 13:32:16 UTC
Doesn't.. I didn't see it. (yet :D)
Comment 14 Wilco Greven 2004-08-29 16:04:01 UTC
Ballistik doesn't have the renderFocusRect code, which triggers the bug.
Comment 15 Rob Frank 2004-08-29 16:56:34 UTC
I also have the desktop trails and artifacts when dragging icons with Plastik installed, exactly the same as the screenshot linked in this thread. I am using a Radeon (9500pro) with the ATI 3.11.1 drivers.

What I did to fix Plastik was to copy plastik.cpp and plastik.h from the 3.2.3 version and rebuild it. I'm not a programmer so I don't know if I'm losing any features with this but it seems to work and look OK.



Comment 16 Jure Repinc 2004-08-29 21:29:44 UTC
I also have this problem and I opened a bug on Freedesktop.org:
http://freedesktop.org/bugzilla/show_bug.cgi?id=1209
Comment 17 Sandro Giessl 2004-08-30 21:32:53 UTC
*** Bug 87818 has been marked as a duplicate of this bug. ***
Comment 18 Sandro Giessl 2004-08-30 21:39:01 UTC
CVS commit by giessl: 

The custom PE_FocusRect code seems to trigger clipping problems with
ATI radeon drivers, so I guess it's the best to revert it for now.

CCMAIL: 84737-done@bugs.kde.org


  M +2 -109    plastik.cpp   1.89
  M +0 -2      plastik.h   1.29



Comment 19 Lubos Lunak 2004-09-26 21:30:42 UTC
*** Bug 90246 has been marked as a duplicate of this bug. ***
Comment 20 Maksim Orlovich 2004-11-15 18:12:25 UTC
*** Bug 92592 has been marked as a duplicate of this bug. ***