Re: ToggleFullScreenAction fails on MacOS

2018-06-06 Thread Emilian Bold
What I see in ./applemenu/src/org/netbeans/modules/applemenu/layer.xml is that the generic action is hidden on macOS: That's why you are getting a null. So, there is no API to call that action on macOS as far as I can tell. This workaround does the

A org.openide.util.RequestProcessor$FastItem exception has occurred.

2018-06-06 Thread Luff,Chris
Getting a FastItem exception pretty frequently when there is a syntax error in another part of the code. I simply put the dot after the object and up pops the exception. Any thoughts before I log a JIRA. ***STACK TRACE Product Version = Apache NetBeans IDE Dev (Build

Re: ToggleFullScreenAction fails on MacOS

2018-06-06 Thread Patrik Karlström
Den ons 6 juni 2018 kl 14:36 skrev Emilian Bold : > The actual NPE might help. Maybe you have to create a dummy even and not > send null to actionPerformed? > > If it's reproducible you should report it to the bugtracker > https://issues.apache.org/jira/projects/NETBEANS/summary > > --emi > >

ToggleFullScreenAction fails on MacOS

2018-06-06 Thread Patrik Karlström
Hi, Actions.forID("Window", "org.netbeans.core.windows.actions.ToggleFullScreenAction").actionPerformed(null); I *think* that I have successfully run the code above on a mac a couple of years back, but that might have been before they changed their maximize/full screen handling. Today I noticed