Hi all,
When my application quits anexpectedly, every time I open app a window pops up with "The last time you opened "MyApp", it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?". This window cannot be closed and has two buttons that perfom nothing on click. While this dialog is visible, my main window cannot be closed (I can only force quit the applicaiton), and if I try to open native file dialog, application blocks.
The workaround I found is to open application while holding shift key.
I tried various suggestions with no results like:
defaults write com.apple.Preview ApplePersistenceIgnoreState -bool yes
or
defaults write -app 'preview' ApplePersistence -bool no.
or
defaults write com.apple.CrashReporter DialogType none
Please help me fixing this issue. Is there any solution to control buttons in this dialog? Did someone found solution to disable this window from showing?
I currently use JavaFX from Java 8.0.51 on Mac OSX.