Summary: | qt-4.5.0 font corruption in qt4 based apps | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | valentin <givemesugarr> |
Component: | [OLD] Library | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bailey, howard_b_golden, n-roeser |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 266201 | ||
Attachments: |
qt4 based application
qt3 based application |
Description
valentin
2009-03-02 21:03:27 UTC
Created attachment 183716 [details]
qt4 based application
Created attachment 183717 [details]
qt3 based application
I got this on qt-4.5.0_rc1 AND still get it on qt-4.5.0 (just upgraded). However, when I start a Gnome session, the KDE4 applications work fine. (I'm running Gnome/Firefox right now to post this.) Any troubleshooting suggestions welcome! (In reply to comment #3) > I got this on qt-4.5.0_rc1 AND still get it on qt-4.5.0 (just upgraded). > However, when I start a Gnome session, the KDE4 applications work fine. (I'm > running Gnome/Firefox right now to post this.) Any troubleshooting suggestions > welcome! > for me it's not only kde4 apps, but all applications using qt 4 as base dependency (lastfm and avidemux2 for example). so the bug should be in qt4.5 after all. i'm now going to try out the official tarball releases and let you know if this is happening, and if so i'll try posting out a bug report at mainstream. i suspect the bug is due to changes in the rgb order handling (which results scrambled) in the new release. (In reply to comment #4) > i suspect the bug is due to changes in the rgb order handling (which results > scrambled) in the new release. I agree with your suspicion. After reading the Gentoo forum posts about this issue I changed my subpixel hinting to RGB (or BGR according to your preference) and the display is OK under KDE4. This is a sufficient workaround for me. I did have the same on laptops with intel graphics chipset. I did some tweaks on xorg.conf and now every application works fine. I never had such issues on nvidia graphics system. So from my point of view, this situation is not strictly qt4 depended. What graphics chipsets are you using? (In reply to comment #6) > What graphics chipsets are you using? I'm using nvidia, so I still think it's related to qt4 subpixel hinting. I'm running qt-4.5.0 now. It has the same problem if I use vertical subpixels. (In reply to comment #7) > (In reply to comment #6) > > > What graphics chipsets are you using? > > I'm using nvidia, so I still think it's related to qt4 subpixel hinting. > I'm running qt-4.5.0 now. It has the same problem if I use vertical subpixels. > Are you using raster use flag on qt-gui? (In reply to comment #8) > Are you using raster use flag on qt-gui? No. Note that you need to re-emerge the whole kde4 when you upgrade your qt libraries. So please try to re-emerge your whole kde4 enviroment and see if that fixes your issue I have the same problem with qt4 apps on my Xfce desktop when using hinting with a vertical sub-pixel order (V-RGB or V-BGR). When set to None, RGB, or BGR, there are no problems. I'm using qt-gui-4.5.0-r2, and the raster flag is not set. From the Qt 4.5.1 changelog: * [248387] Properly respect the font config LCD filter settings for subpixel antialiased text rendering when Freetype's native subpixel rendering is disabled. * [248498] Fix garbled rendering of subpixel antialiased text when using Freetype's native subpixel rendering for vertical subpixel layouts. 4.5.1 is currently in qting-edge overlay for testing, and should hit portage very soon Is this bug valid with 4.5.1? (In reply to comment #13) > Is this bug valid with 4.5.1? I just upgraded to 4.5.1, and I no longer have the problem when using vertical subpixels. As Ben said on comment #12 this should be solved now on qt-4.5.1 Closing as FIXED. Re-open if needed |