Version: (using KDE 4.2.3) OS: Linux Installed from: Fedora RPMs Hello, since KDE 4.2.3, clear buttons are added to all line edit text controls in khtml. This breaks web pages which specify an exact line edit field size. For example, we have a date field which is exactly ten characters long. I'll attach a screenshot to demonstrate the problem. Also if you type very long lines into a field of moderate size, you can't see the last typed character anymore while you are typing. Here's the text from the KDE 4.2.3 release announcement: "Enable clear buttons for line edits. See SVN commits 945667, 945667 and 948589." Cheers, Thomas
Created attachment 33994 [details] Screenshot showing the problem
One more little thing: It would be nice if this feature would be configurable, so I could help my users without manually removing the commit and recompile. Thanks.
*** Bug 194074 has been marked as a duplicate of this bug. ***
I wonder this is related to bug 165703, which seems to be fixed on KDE4.3 BTW: I can't reproduce this bug here using: Qt: 4.5.1 (qt-copy 958974) KDE: 4.2.87 (KDE 4.2.87 (KDE 4.3 >= 20090519)) kdelibs svn rev. 971894 / kdebase svn rev. 971894 on ArchLinux i686 - Kernel 2.6.29.3
<Wild guessing> Can this be related to styles? I.e. the clear button in some style reporting wrong size (in fact 0). P.S. Sorry for the duplicate. I did in fact try to find this bug but couldn't.
After looking at bug 165703, I noticed something more: The clear button works correctly in the location bar in KDE 4.2.3. It seems only the line edit controls are affected.
Created attachment 34687 [details] testcase indeed, looks like this got fixed. (4.2.90/92) @Thomas: as soon as you update, please check the clearbuttons behaviour/rendering again. thank you in advance!
This works fine. I can see text end properly on 4.2.90.
Works fine for me, too.