Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Preferences validation dialog is not given focus, so document is editable #9975

Closed
redmunds opened this issue Nov 19, 2014 · 2 comments · Fixed by #10022
Closed

Preferences validation dialog is not given focus, so document is editable #9975

redmunds opened this issue Nov 19, 2014 · 2 comments · Fixed by #10022

Comments

@redmunds
Copy link
Contributor

Recipe

  1. Debug > Open Preferences File
  2. Edit a defined preference to have an invalid value, such as:
"tabSize": { line: 0, ch: 0 },
  1. Important: leave focus in editor
  2. Ctrl+S (to save file) and F5 (to Reload Brackets)

Result
Modal Error Reading Preferences dialog is displayed, but focus is still in document and it's editable!

Expected
Dialog creates the illusion of modality. You can see this by clicking on dialog (without dismissing it) -- focus cannot be returned to document at this point.

@busykai busykai self-assigned this Nov 20, 2014
@busykai
Copy link
Contributor

busykai commented Nov 20, 2014

@redmunds i'll take this one. added that dialog in the first place.

busykai added a commit that referenced this issue Nov 26, 2014
@busykai busykai mentioned this issue Nov 26, 2014
@redmunds redmunds added this to the Release 1.1 milestone Dec 2, 2014
@redmunds
Copy link
Contributor Author

redmunds commented Dec 2, 2014

Confirmed. Closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants