Bug 187775 - line edits aren't sometimes redrawn correctly
Summary: line edits aren't sometimes redrawn correctly
Status: RESOLVED UPSTREAM
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-21 11:02 UTC by Andrej Krutak
Modified: 2009-03-27 13:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
preview of affected line edit (4.28 KB, image/png)
2009-03-21 11:03 UTC, Andrej Krutak
Details
genuine contents of kmail "create filter" window... (11.94 KB, image/png)
2009-03-21 11:09 UTC, Andrej Krutak
Details
uninitialized background sample (10.88 KB, image/png)
2009-03-21 11:14 UTC, Andrej Krutak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Krutak 2009-03-21 11:02:26 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    Ubuntu Packages

From time to time, some of line edit widgets (I think no other do it) don't get repainted correctly - I guess the background isn't cleared correctly. Sometimes just the background of the edit widget is black, sometimes the background seems to be completely uninitialized (e.g. previous text remains, or the background looks like it contains some random part of memory (or previous background, only used with different width - so the bg. image is skewed badly)).

It happened in a pure Qt app, and also in the runner plasma widget (in the 'command line' of it). Doesn't seem to affect the gtk apps (at least not firefox).

This happens with all the fancy composite stuff disabled - doesn't seem to appear with kwin+opengl composite mode.
Comment 1 Andrej Krutak 2009-03-21 11:03:05 UTC
Created attachment 32305 [details]
preview of affected line edit
Comment 2 Andrej Krutak 2009-03-21 11:04:49 UTC
Comment on attachment 32305 [details]
preview of affected line edit

At first the box was drawn correctly - then I clicked where the black box ends and pressed left arrow until I got to the beginning of the box. This way the background got scrambled...
Comment 3 Andrej Krutak 2009-03-21 11:09:38 UTC
Created attachment 32306 [details]
genuine contents of kmail "create filter" window...

screenshot of kmail window, the black background is original (and should be white with some string contents....). Also notice the uncorrectly repainted subject line edit...
Comment 4 Andrej Krutak 2009-03-21 11:14:18 UTC
Created attachment 32307 [details]
uninitialized background sample

also kmail window, captured a few seconds later than the first kmail screenshot. This time, the 'uninitialized background' phenomenon occurs - the lineedit on the left contains previous contents along with newly typed text. On the right, the black backrounds contains some white 'dots', seems like the 'skew' effect I mentioned...
Comment 5 Dario Andres 2009-03-21 14:12:24 UTC
Sounds like graphics corruption. What is your graphics card and drivers ? Thanks
Comment 6 Andrej Krutak 2009-03-21 15:22:02 UTC
yes, this probably is somehow connected to the graphics card - it's radeon, using opensource drivers (xserver-xorg-video-ati 6.12.1 + x.org 7.4). I'll try to investigate this a bit more (unsless I start to use composite - which however still has some showstoppers, like slow konsole/yakuake, for me) - I'm aware that the screenshots aren't really that helpful :)
Comment 7 Andrej Krutak 2009-03-27 12:29:05 UTC
after changing from EXA to XAA accelmethod, the bug seems to have disappeared... thus I'm going to fill the bug to some ati bugzilla :-)
Comment 8 Dario Andres 2009-03-27 13:11:44 UTC
I'm glad it works now. Marking this as UPSTREAM.