Bug 169323 - Window decoration preview crashes
Summary: Window decoration preview crashes
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-17 13:40 UTC by Ronny Standtke
Modified: 2012-04-13 19:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot showing the crashed window preview (99.89 KB, image/png)
2008-08-17 13:41 UTC, Ronny Standtke
Details
Screenshot showing the broken Oxygen preview (65.65 KB, image/png)
2008-12-08 23:42 UTC, Ronny Standtke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ronny Standtke 2008-08-17 13:40:40 UTC
Version:            (using KDE 4.1.0)
Installed from:    Ubuntu Packages

Just right-click on a window and select "Configure Window Behavior...". In the KDE Control Module window that opens the window decoration preview just crashes. If I move other windows over the KDE Control Module window the preview area is never repainted. I will attach a screenshot where I moved the GIMP window past the KDE Control Module window.

The strange thing I noticed is that this bug affects much less area of the preview window if you start "System Settings -> Appearance -> Windows". There are still some parts not repainted but much less than when the KDE Control Module window shows up alone.
Comment 1 Ronny Standtke 2008-08-17 13:41:16 UTC
Created attachment 26898 [details]
Screenshot showing the crashed window preview
Comment 2 Michael Pyne 2008-08-19 03:14:52 UTC
I can confirm drawing errors although I have not been able to get the preview to crash.  Some initial valgrinding reveals memory leaks but I haven't seen anything more sinister.
Comment 3 Michael Pyne 2008-08-19 03:22:03 UTC
Just to follow up on the valgrind memory leaks, they were all from one-off allocations in style code or Qt/system libraries, no smoking guns in kwindecoration.
Comment 4 Ronny Standtke 2008-12-08 23:41:24 UTC
I just tested KDE-4.2 beta 1. The preview does not crash any more but the Oxygen preview does not work. The active window title and the stripes are never shown in the preview. I will attach another screenshot.
Comment 5 Ronny Standtke 2008-12-08 23:42:42 UTC
Created attachment 29161 [details]
Screenshot showing the broken Oxygen preview
Comment 6 Dario Andres 2009-01-09 14:13:26 UTC
Closing as the original crash doesn't happen anymore.
The drawing bugs (not showing the stripe) are now described in bug 180100
Comment 7 Martin Flöser 2012-04-13 19:24:30 UTC
Bulk change: move all KWin kcm bugs to product kwin