Chromium Code Reviews
DescriptionThe shell dialog code explicitly disables the browser HWND before calling the Windows API to select a file.
When the dialog is closed, the browser HWND gets a WM_ACTIVATE but is still disabled, which messes up with the focus restoration.
This patch ensures we restore the focus explicitly when the browser HWND is reenabled to work-around that issue.
BUG=3380
TEST=Set the focus on a page with scroll-bars, right-click to do a 'save as'. Close the dialog. The arrow keys should let you scroll the page. Accelerators such as Ctrl-T should still work. Test 'open a file', 'print' and the font selection dialog (in the options). When closing the dialog the focus should return to the view that last had focus.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26029
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|
|||||||||||||||||||