Summary: | 30 bit Color (Deep color) shows strange colors | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | kdebug1 |
Component: | qt | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | major | CC: | cfeck, fredrik, ku.b, thomas.luebking |
Priority: | NOR | ||
Version: | 4.9.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
URL: | http://postimage.org/image/7pve5xmaj/ | ||
Latest Commit: | Version Fixed In: |
Description
kdebug1
2012-09-23 19:25:53 UTC
a) compositing does not seem to be enabled on the screenshot, correct? (even if, the reference to kdm says it's not related to compositing) b) try "QT_GRAPHICSSYSTEM=native oxygen-demo" - what does that look like? -> most likely bug #214011 - not that there would not be bug #273347 Updated to new 304.51 nvidia driver, problem persists. Solution b) displays the application correctly, without the environment variable it appears colorcorrupted. Yet in SystemSettings - Desktop-Effect- QT Graphic System is already set to native without help Is it possible to set above Environtment variable for all applications? export QT_GRAPHICSSYTEM=native in an executable shell script in ~/.kde/env Exporting above variable doesn't help. Colors are still corrupt. Oxygen-demo is broken too. Yet "export" in terminal shows correct declaration of variable as declare -x QT_GRAPHICSSYTEM="native" But using "export QT_GRAPHICSYSTEM=native oxygen-demo" shows correct colors again. What happens there? This is a bug in Qt with conversion of 24 bit raster images to 30 bit native pixmaps. Please report to Qt developers via https://bugreports.qt-project.org/ You do not export that somewhere in ~/.bashrc or so, do you? (declare is a shell built-in) The environment must be set so that it's exported all the way down across the launcher (plasma) ie. actually have an executable script in ~/.kde/env (possibly ~/.kde4/env) that says #!/bin/sh export QT_GRAPHICSSYSTEM=native The script
> cat .kde4/env/qtnative.sh
#!/bin/sh
export QT_GRAPHICSSYTEM=native
is executable in the ~/.kde4/env. User is my standard user, group is users.
But it doesn't correct colors after login (not expected) neither in kdm (expected, as script is not yet run)
export QT_GRAPHICSSYTEM=native ^^^ I'm really a typo king and you don't read close enough ;-) Thanks, your right. Now I see the typo too, plasma is fixed. kdm still doesn't display correctly. But even worse, the intended purpose is not met as digikam preview images are now miscolored and rawtherapee doesn't display any images at all. So more bugs need to be filed. Thanks for your help The upstream bug report is: https://bugreports.qt-project.org/browse/QTBUG-25998 |