Summary: | Plasma crash (Qt painting, KStyle::drawPrimitive, KShortcutsEditorDelegate) | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | kenjmiller |
Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, aseigo, cbo, cfeck, dhirajhazra, praveen |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | plasma in xnest |
Description
kenjmiller
2009-05-19 05:10:00 UTC
*** Bug 193185 has been marked as a duplicate of this bug. *** *** Bug 192386 has been marked as a duplicate of this bug. *** SVN commit 977397 by cfeck: Reinitialize painter for ArrowDown pixmap The interesting part about the backtrace (also in both duplicates) is that the crash happens when rendering the "Down" arrow, although the same code is used to render the first arrow. There might be a problem in Qt with the state the painter is in, so reinitialize the painter by correctly using begin() and end() calls. CCBUG: 193183 @Praveen, as far as I know you were able to reproduce using the xnest application. Could you test if this fixes the crash for you? M +3 -0 kshortcutseditordelegate.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=977397 Created attachment 34387 [details]
plasma in xnest
Now crashing stopped, but it is unusable. No text is rendered inside a window/dialogue (plasma add widget dialogue is visible in the screenshot), painting/repainting takes lot of time (even after a window from the normal desktop is moved/minimized the xnest window still shows it) and the looks are so sick-skinnish! (if there is such a word) - the title bar has dots instead of a solid color.
xnest apparently does not support the XRender extension. You could use a Qt widget style without gradients (Windows, Motif, Phase without gradients) and a KWin window decoration without gradients (Redmond?). For the remaining visual bugs, please file a separate bug report for Plasma etc. I think there is some way to have nested X with Render extension, but I am no expert. Maybe some RDP/VNC style applications have XRender support. use Xephyr instead of Xnest; it's Xnest with visual goodness. i don't expect plasma to work well in Xnest and would probably just close a report about plasma+xnest. now that we have Xephyr, there is really no reason to use Xnest. and as the crash is fixed thanks to Christoph, i'll close this bug while i'm in here :) |