Re: Unable to quit after cancelling Savables

2018-02-09 Thread Neil C Smith
On Fri, 9 Feb 2018 at 10:07 Marco Rossi wrote: > Dear all, > Emilian has fixed this issue. These involve some changes in the applemenu > module (see https://github.com/apache/incubator-netbeans/pull/411/files). > At this point how could I integrate this fix in my application built on top > of NB

Re: Unable to quit after cancelling Savables

2018-02-09 Thread Marco Rossi
Dear all, Emilian has fixed this issue. These involve some changes in the applemenu module (see https://github.com/apache/incubator-netbeans/pull/411/files). At this point how could I integrate this fix in my application built on top of NB 8.2 platform? Is there a way to override that classes wi

Re: Unable to quit after cancelling Savables

2018-02-06 Thread Emilian Bold
I does look like a bug in org.netbeans.modules.applemenu.NbApplicationAdapterJDK8.handleQuitRequestWith(AppEvent.QuitEvent e, QuitResponse response) Seems to me that when the user cancels QuitResponse.cancelQuit should be called. Actually, the Javadoc is quite clear https://docs.oracle.com/jav

Re: Unable to quit after cancelling Savables

2018-02-06 Thread Emilian Bold
Might be something more subtle, I know I could be able to press Cancel with Salvables. Can you create a simple project that reproduces this problem? --emi Original Message On 5 February 2018 12:57 PM, Marco Rossi wrote: > Hi to all, > I’ve noticed a possible bug: when I quit

Unable to quit after cancelling Savables

2018-02-05 Thread Marco Rossi
Hi to all, I’ve noticed a possible bug: when I quit my custom Netbeans Platform application (from menu bar > Quit... in OS X environment), if there are some AbstractSavable instances in the SavableRegistry, it appears the default Save dialog (see picture) asking user if he would like to save cha