Bug 149275

Summary: Web Inspector: pressing ESC to dismiss find bar doesn't restore previously focused element
Product: WebKit Reporter: BJ Burg <bburg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: graouts, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on: 149198    
Bug Blocks:    

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>