[jira] [Commented] (NETBEANS-3714) Applying options enable PHP cluster

2020-01-18 Thread Ernie Rael (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17018738#comment-17018738
 ] 

Ernie Rael commented on NETBEANS-3714:
--

The following, from org.netbeans.modules.ide.ergonomics.fod.OptionCntrl 
{code:java}
@Override
public JComponent call() throws Exception {
assert EventQueue.isDispatchThread();
// it would be better not to close the dialog...
EventQueue.invokeLater(this);
return new JButton();
}

@Override
public void run() {
OptionsDisplayer.getDefault().open();
}

{code}
makes me wonder...

> Applying options enable PHP cluster
> ---
>
> Key: NETBEANS-3714
> URL: https://issues.apache.org/jira/browse/NETBEANS-3714
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Laszlo Kishalmi
>Priority: Critical
>
> I've noticed that since a few weeks ago, if I apply anything in the options 
> dialog box, the dialog box disappears, all PHP modules are turning on, then 
> the dialog box reappears.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-3714) Applying options enable PHP cluster

2020-01-18 Thread Ernie Rael (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17018733#comment-17018733
 ] 

Ernie Rael commented on NETBEANS-3714:
--

I noticed this a few weeks ago as well. I'm curious about whether there is a

_WARNING [org.netbeans.api.options.OptionsDisplayer]: Options Dialog is opened_

in the log. I thought the fix mentioned below got rid of this, but that wasn't 
the target of the fix and I'm not certain. I didn't carefully make sure one way 
or the other.

A few weeks ago I noticed that after "Apply", a keymap listener in a plugin was 
being called when NOT in the EDT. I filed NETBEANS-3674 and fixed it. That 
report has a partial stack trace.

While investigating, I saw that doing Tools>Options>Editor>Formatting and 
changing Language combo box from "AllLanguages" to "JavaScript" to "JSON" would 
usually enable the apply button even though nothing was changed. I'm guessing 
that hitting "Apply" causes things to happen relating to these editors which in 
turn cause the modules to be turned on.

 

I wonder if there is something in or around the options dialog that detects 
stale information and that might be causing the dialog to disappear and 
re-appear. (For me, while investigating, the trick was figuring out how to 
reproduce; just close/open NetBeans around 5 times and it stops automatically 
turning on the php modules and then it is primed to turn on those modules 
because of actions from the options dialog)

> Applying options enable PHP cluster
> ---
>
> Key: NETBEANS-3714
> URL: https://issues.apache.org/jira/browse/NETBEANS-3714
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Laszlo Kishalmi
>Priority: Critical
>
> I've noticed that since a few weeks ago, if I apply anything in the options 
> dialog box, the dialog box disappears, all PHP modules are turning on, then 
> the dialog box reappears.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists