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

Don't execute commands from the shell when a modal dialog is open. #2617

Merged
merged 1 commit into from
Jan 19, 2013

Conversation

gruehle
Copy link
Member

@gruehle gruehle commented Jan 19, 2013

This is a temporary quick fix for #2616

If a modal HTML dialog is open, don't execute commands that originate from the shell. The proper long-term solution is actually disabling command when a modal dialog is open, but that is a much bigger effort that should be a user story.

@ghost ghost assigned redmunds Jan 19, 2013
@redmunds
Copy link
Contributor

reviewing

@redmunds
Copy link
Contributor

This looks good on Win7.

On Mac 10.8, I can still execute commands in the Brackets menu, such as Quit and the Hide commands. Is that OK?

@gruehle
Copy link
Member Author

gruehle commented Jan 19, 2013

That seems fine with me. Anyone else have objections?

@peterflynn
Copy link
Member

The Mac issue was true in previous builds as well, since that native menu already existed.

@redmunds
Copy link
Contributor

Merging.

redmunds added a commit that referenced this pull request Jan 19, 2013
Don't execute commands from the shell when a modal dialog is open.
@redmunds redmunds merged commit d11b7d8 into master Jan 19, 2013
@redmunds redmunds deleted the glenn/issue-2616 branch January 19, 2013 22:15
@peterflynn
Copy link
Member

I filed #2619 for the pre-existing bug with Quit being enabled while a quit dialog is already open. (It's not specific to menus either -- can also repro with the window close widget).

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

Successfully merging this pull request may close these issues.

None yet

3 participants