[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 216795] New: css styled input text changed via js events
From:       Andrea Iacovitti <aiacovitti () libero ! it>
Date:       2009-11-30 11:58:10
Message-ID: bug-216795-5021 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=216795

           Summary: css styled input text changed via js events problems -
                    testcase
           Product: konqueror
           Version: unspecified
          Platform: Debian testing
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: khtml
        AssignedTo: konq-bugs@kde.org
        ReportedBy: aiacovitti@libero.it


Version:            (using KDE 4.3.2)
Installed from:    Debian testing/unstable Packages

I will attach a testcase through which you can check for two bugs on lineedit
widget management. The tescase contains two input text boxes whose style are
dinamically changed via javascript:
-The first one default to bordered red style and switch to unstyled (native
widget style) when focused, then back to default style onBlur.
-The second one (on the contrary) default to native style, switch to bordered
red style when focused, return to default native style onBlur.

1- Bug related to the clear button
Actually a clear button is shown on lineedit widget when it has no css border
nor background image (function RenderLineEdit::setStyle in render_form.cpp). If
you try to edit on the first input text, the style switches to the native one
(no css border, no background image) then clear button have to be shown.
Results: konqueror become semi-unresponsive and consume 100% cpu!!
Doesn't happen on the second input text box because when focused for editing
the style switch to bordered, then clear button is forbidden.
For a real life test, please go to http://blogs.koolwal.net/ , on the left side
there is a custom google search box (then with a background image) that switch
to native when focused and shows the same problem.

2- Bug related to style update
Focus and unFocus alternately the input boxes: the styles are not correctly
updated, sometime the boxes have no border at all.

Regards,
Andrea.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic