You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The org.netbeans.modules.maven.hints.pom.HintsPanelLogic and it's HintsPanel have some issues noticing when their state changes.
how it seems to work:
the logic polls all child panels twice per second and asks if something changed
based on that information it decides when to enable the apply button
it also decides what to do on cancel or on ok
apply and cancel was hopefully fixed in #5009 for changes within the hint panels itself.
whats left:
if a hint is turned off and enabled again in the same session the hint will be still off
this can be also seen by looking at the apply button which won't switch to enabled state when the hint is checked (-> logic doesn't know that something changed)
workaround:
restart NB
or change something else in the options panel in addition to enabling the hint (e.g warning to error)
How to reproduce
open any maven hint panel
disable a hint + press ok
try to enable the same hint again + press ok
check again if it is still enabled (it isn't)
Did this work correctly in an earlier version?
No / Don't know
Operating System
linux manjaro
JDK
19.0.1
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
Yes
Code of Conduct
Yes
The text was updated successfully, but these errors were encountered:
mbien
changed the title
Maven hints can't be enabled again after they are turned off once
Maven hints can't be enabled again after they were disabled
Dec 29, 2022
Apache NetBeans version
Apache NetBeans 16
What happened
The
org.netbeans.modules.maven.hints.pom.HintsPanelLogic
and it'sHintsPanel
have some issues noticing when their state changes.how it seems to work:
apply and cancel was hopefully fixed in #5009 for changes within the hint panels itself.
whats left:
workaround:
How to reproduce
Did this work correctly in an earlier version?
No / Don't know
Operating System
linux manjaro
JDK
19.0.1
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
Yes
Code of Conduct
Yes
The text was updated successfully, but these errors were encountered: