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

List:       kfm-devel
Subject:    css doesn't work correctly on FocusOut event
From:       "Slava Tokarev" <tsjoker () gmail ! com>
Date:       2008-03-23 8:40:26
Message-ID: c66becc50803230140j56eb5938v86111dc23a65c99e () mail ! gmail ! com
[Download RAW message or body]

Hi, Germain

I'm looking at http://bugs.kde.org/show_bug.cgi?id=159364 KHTML bug.
Especially at
http://samples.msdn.microsoft.com/csstestpages/Chapter_5/focus-selector-001.htmtest.

I've debugged konq for a while and found that the possible problem can be
with handling of FocusOut event. I believe that the possible place to update
style of TextArea would be render_replaced.cpp::eventFilter(); It's called
but it doesn't accept event because isRedirectedWidget() is true for
TextAreaWidget, i.e. it gathers all events by itself.

Can you point me with some direction? Why isRedirectedWidget() is true in
this case and if it is correct, then how should we (and where) handle style
changing?

Thanks,
Vyacheslav Tokarev

[Attachment #3 (text/html)]

Hi, Germain<br><br>I&#39;m looking at <a \
href="http://bugs.kde.org/show_bug.cgi?id=159364">http://bugs.kde.org/show_bug.cgi?id=159364</a> \
KHTML bug. Especially at <a \
href="http://samples.msdn.microsoft.com/csstestpages/Chapter_5/focus-selector-001.htm" \
>http://samples.msdn.microsoft.com/csstestpages/Chapter_5/focus-selector-001.htm</a> \
> test.<br>
<br>I&#39;ve debugged konq for a while and found that the possible problem can be \
with handling of FocusOut event. I believe that the possible place to update style of \
TextArea would be render_replaced.cpp::eventFilter(); It&#39;s called but it \
doesn&#39;t accept event because isRedirectedWidget() is true for TextAreaWidget, \
i.e. it gathers all events by itself.<br> <br>Can you point me with some direction? \
Why isRedirectedWidget() is true in this case and if it is correct, then how should \
we (and where) handle style changing?<br><br>Thanks,<br>Vyacheslav Tokarev<br><br>



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

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