Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Don't execute commands from the shell when a modal dialog is open. #2490

Open
core-ai-bot opened this issue Aug 29, 2021 · 6 comments

Comments

@core-ai-bot
Copy link
Member

Issue by gruehle
Saturday Jan 19, 2013 at 13:44 GMT
Originally opened as adobe/brackets#2617


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.


gruehle included the following code: https://github.com/adobe/brackets/pull/2617/commits

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Saturday Jan 19, 2013 at 17:30 GMT


reviewing

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Saturday Jan 19, 2013 at 17:45 GMT


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?

@core-ai-bot
Copy link
Member Author

Comment by gruehle
Saturday Jan 19, 2013 at 19:26 GMT


That seems fine with me. Anyone else have objections?

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Saturday Jan 19, 2013 at 22:05 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Saturday Jan 19, 2013 at 22:14 GMT


Merging.

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Saturday Jan 19, 2013 at 22:31 GMT


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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant