Bug 149275 - Web Inspector: pressing ESC to dismiss find bar doesn't restore previously focused element
Summary: Web Inspector: pressing ESC to dismiss find bar doesn't restore previously fo...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 149198
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-17 11:39 PDT by BJ Burg
Modified: 2016-12-13 15:35 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BJ Burg 2015-09-17 11:39:11 PDT
This makes it kind of awkward to use the global find shortcut (149198) and change your mind. Perhaps we need a focus controller that can keep track of focus changes and rollback if necessary.

STEPS TO REPRODUCE:

 * Go to Elements panel
 * Set caret focus on the quick console
 * CMD+F to search
 * ESC to dismiss search box

EXPECTED:

 * Caret and focus returns to quick console

ACTUAL:

 * Caret disappears, nothing seems to be focused

NOTES:

* Does not reproduce without global find shortcut (149198)
* Does not reproduce if the split console is open. In that case, the focus is properly restored.
Comment 1 Radar WebKit Bug Importer 2015-09-17 11:39:41 PDT
<rdar://problem/22743008>