DescriptionBetter handle showing suggest apps dialog before previous one is hidden
There is delay between suggest apps dialog restoring focus to file manager
window (which happens in BaseDialog.hide) and suggest dialog reporting
result and being marked not shown (which happens in onHide callback).
If another suggest apps dialog is started during that time, it should
fail silently instead of reporting error. Also, any widget container
state set by the new dialog should be reset.
BUG=477106
TEST=1. Open suggest apps dialog for a file.
2. Cancel the dialog by pressing 'Esc'.
3. Try to open an new dialog immediately by clicking 'Enter'
(the list entry for the initial file should have focus at this point)
4. Verify no error is shown.
5. Verify subsequent attempts to open the dialog succeed (after a second
or two)
Committed: https://crrev.com/e783c6b2f5924db874884e2f31232ffdeee47fb9
Cr-Commit-Position: refs/heads/master@{#326829}
Patch Set 1 #Patch Set 2 : . #
Total comments: 3
Patch Set 3 : updated a comment, and rebase #
Messages
Total messages: 10 (3 generated)
|