Summary: | [Qt] Fix the focus in MiniBrowser. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yael <yael> | ||||||
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, kling | ||||||
Priority: | P2 | Keywords: | Qt | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Yael
2011-02-25 19:45:40 PST
Created attachment 83919 [details]
Patch.
Basic focus functionality.
Note that isVisible() is called before the view is created thus the extra check.
Comment on attachment 83919 [details] Patch. View in context: https://bugs.webkit.org/attachment.cgi?id=83919&action=review > Source/WebKit2/UIProcess/API/qt/qwkpage.cpp:168 > + return view->isActive(); No null check for 'view'? > Source/WebKit2/UIProcess/API/qt/qwkpage.cpp:173 > + return view->hasFocus(); No null check for 'view'? > Source/WebKit2/UIProcess/API/qt/qwkpage.cpp:178 > + return view ? view->isVisible() : false; return view && view->isVisible(); (In reply to comment #1) > Note that isVisible() is called before the view is created thus the extra check. D'oh. Another case of I-went-straight-to-the-patch-review-interface. Created attachment 83941 [details]
Patch.
Comment on attachment 83941 [details] Patch. Clearing flags on attachment: 83941 Committed r79791: <http://trac.webkit.org/changeset/79791> All reviewed patches have been landed. Closing bug. |