Summary: | Colorpicker returning wrong values | ||
---|---|---|---|
Product: | [Plasma] plasma4 | Reporter: | Milan Krivda <swalko12> |
Component: | widget-misc | Assignee: | Pino Toscano <pino> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | loacoon, plasma-bugs, zajec5 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Milan Krivda
2008-03-16 11:45:27 UTC
*** Bug 163097 has been marked as a duplicate of this bug. *** SVN commit 820607 by pino: When we are compibiling for X11, and Xutil.h was found, use the Xlib API to get the color value of a pixel of the screen. In all the other cases, use the "classic" Qt code. This workarounds a bug in either Qt or X (Qt, probably), but should be fine for now. BUG: 159401 M +14 -0 CMakeLists.txt A config-kolourpicker.h.cmake M +34 -4 kolourpicker.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=820607 interesting ... this only fixes the kolourpicker plasmoid, of course; i think something similar will need to be done to KColorDialog::grabColor for the desktop settings dialog which still doesn't work. i'm testing now. thanks for the patch, Pino; sad we have to go under Qt for this =/ this is now fixed in kdelibs as well. thanks pino and marco =) |