[Webkit-unassigned] [Bug 43169] [Qt] Html autofocus not working with QGraphicsWebView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 21 03:26:28 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=43169


Jan Erik Hanssen <jhanssen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jhanssen at gmail.com




--- Comment #1 from Jan Erik Hanssen <jhanssen at gmail.com>  2010-11-21 03:26:28 PST ---
(In reply to comment #0)
> Launch QtTestBrowser in graphics-based mode with
> 
> $ run-launcher --qt -graphicsbased http://google.com
> 
> the google page auto focus on the main textfield after it finishes loading the page. However, with graphicsbased QtTestBrowser it does not work, while works fine with QWidget based (QWebView).

The problem seems to be that QGraphicsScene only propagates focus events if they are caused by tab or backtab in cases where there is no active focus item. Only way around this that I can see is to install an event filter on the scene to capture the focus events.

I'll upload a possible patch shortly.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list