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

ScriptEditor is hidden before asking to save scripts #58

Open
hinerm opened this issue Aug 12, 2015 · 2 comments
Open

ScriptEditor is hidden before asking to save scripts #58

hinerm opened this issue Aug 12, 2015 · 2 comments
Assignees

Comments

@hinerm
Copy link
Member

hinerm commented Aug 12, 2015

ScriptEditor is CloseConfirmable so it should present the save dialog for its scripts before being hidden. The fact that it isn't suggests it may be getting picked up by the IJ1 close mechanism first.

My first guess is that there could be a parent/child problem where the editor window is being hidden even though child windows aren't ready yet.. so it could just be a traversal order problem

@ctrueden
Copy link
Member

The Script Editor is only one window, though, with multiple tabs... so further investigation needed.

To reproduce:

  • Open ImageJ.
  • Press [ for Script Editor.
  • Type asdf into the box.
  • Quit ImageJ using File > Quit.
  • Watch the Script Editor window disappear before the "Do you want to save changes?" dialog appears—twice. (The fact that it appears twice is a second but probably related bug, I guess.)

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

3 participants