Summary: | Transparent background displays a garbled picture | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Laurent Blume <laurent> |
Component: | general | Assignee: | Stephan Kulow <coolo> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Laurent Blume
2003-03-08 20:42:51 UTC
Possibly related to: Bug #55579 (which was related to Bug #42441 ). If this is the same problem, then it's fixed in 3.1.1 If you're brave, you might try to apply this diff: http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/kdeui/kpixmapio.cpp.diff?r1=1.23&r2=1.23.4.1&only_with_tag=KDE_3_1_BRANCH I'm doing that right now, I'll test it tonight. Just as a sidenote, I also had to modify kpixmapio.h. I'm not C++ programmer, closest I know are C and Java, so I'm hoping what I did was right :-) Here is the diff: # diff -ur kdelibs-3.1/kdeui/kpixmapio.h.original kdelibs-3.1/kdeui/kpixmapio.h --- kdelibs-3.1/kdeui/kpixmapio.h.original mar mars 11 11:08:02 2003 +++ kdelibs-3.1/kdeui/kpixmapio.h mar mars 11 11:11:25 2003 @@ -167,11 +167,11 @@ }; bool m_bShm; - void initXImage(int w, int h); + bool initXImage(int w, int h); void doneXImage(); - void createXImage(int w, int h); + bool createXImage(int w, int h); void destroyXImage(); - void createShmSegment(int size); + bool createShmSegment(int size); void destroyShmSegment(); void convertToXImage(const QImage &); QImage convertFromXImage(); Well, I recompiled the patched kdelibs, and installed them over my current 3.1 install, but the problem is still the same :-/ The error messages are slightly different though, see below. If you have another idea, please let me know, I'm ready to compile again and again, it takes only 2 hours for kdelibs :-) /var/dt/Xerrors: kdesktop: bool KPixmapServer::x11Event(_XEvent *): request for DESKTOP1 konsole: WARNING: KDE detected X Error: BadAccess (attempt to access private resource denied) \x0a Major opcode: \x92 konsole: WARNING: KDE detected X Error: BadShmSeg (invalid shared segment parameter) \xa6 Major opcode: \x92 konsole: WARNING: KDE detected X Error: BadShmSeg (invalid shared segment parameter) \xa6 Major opcode: \x92 konsole: WARNING: KDE detected X Error: BadAccess (attempt to access private resource denied) \x0a Major opcode: \x92 konsole: WARNING: KDE detected X Error: BadShmSeg (invalid shared segment parameter) \xa6 Major opcode: \x92 konsole: WARNING: KDE detected X Error: BadShmSeg (invalid shared segment parameter) \xa6 Major opcode: \x92 kdesktop: bool KPixmapServer::x11Event(_XEvent *): request for DESKTOP1 konsole: WARNING: KDE detected X Error: BadAccess (attempt to access private resource denied) \x0a Major opcode: \x92 konsole: WARNING: KDE detected X Error: BadShmSeg (invalid shared segment parameter) \xa6 Major opcode: \x92 konsole: WARNING: KDE detected X Error: BadShmSeg (invalid shared segment parameter) \xa6 Major opcode: \x92 konsole: WARNING: KDE detected X Error: BadAccess (attempt to access private resource denied) \x0a Major opcode: \x92 konsole: WARNING: KDE detected X Error: BadShmSeg (invalid shared segment parameter) \xa6 Major opcode: \x92 konsole: WARNING: KDE detected X Error: BadShmSeg (invalid shared segment parameter) \xa6 Major opcode: \x92 The diff for the .h file is at: http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/kdeui/kpixmapio.h.diff?r1=1.8&r2=1.8.2.1 Bug #55579 mentions: ------ Additional Comment #4 From Stephan Kulow 2003-03-10 20:54 ------- with Lubos's fix it definitly shouldn't crash anymore and with my kpixmapio fixes in HEAD it shouldn't even give the error (but that's not backported as it's suboptimal - Lubos is promising a cleaner version in Qt) So if you are getting image corruption, then I guess the 3.1.1 branch needs some additional fixes. Maybe somebody with access should reassign this to the proper product: kdelibs |