Bug 194043 - Clear button on line edit fields hide the end of the text
Summary: Clear button on line edit fields hide the end of the text
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.2.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: testcase, triaged
: 194074 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-25 16:06 UTC by Thomas Jarosch
Modified: 2009-06-29 09:55 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing the problem (38.15 KB, image/png)
2009-05-25 16:08 UTC, Thomas Jarosch
Details
testcase (359 bytes, text/html)
2009-06-20 18:53 UTC, Florian Reinhard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Jarosch 2009-05-25 16:06:54 UTC
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
Comment 1 Thomas Jarosch 2009-05-25 16:08:44 UTC
Created attachment 33994 [details]
Screenshot showing the problem
Comment 2 Thomas Jarosch 2009-05-25 16:17:40 UTC
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.
Comment 3 Dario Andres 2009-05-25 21:01:33 UTC
*** Bug 194074 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-05-25 21:03:36 UTC
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
Comment 5 Suren Karapetyan 2009-05-25 21:21:28 UTC
<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.
Comment 6 Thomas Jarosch 2009-05-26 09:09:11 UTC
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.
Comment 7 Florian Reinhard 2009-06-20 18:53:41 UTC
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!
Comment 8 Ruchir Brahmbhatt 2009-06-26 15:23:38 UTC
This works fine. I can see text end properly on 4.2.90.
Comment 9 Thomas Jarosch 2009-06-29 09:55:33 UTC
Works fine for me, too.