You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/12/29 22:39:51 UTC

[GitHub] [netbeans] mbien opened a new issue, #5165: Maven hints can't be enabled again after they are turned off once

mbien opened a new issue, #5165:
URL: https://github.com/apache/netbeans/issues/5165

   ### Apache NetBeans version
   
   Apache NetBeans 16
   
   ### What happened
   
   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
   
   1. open any maven hint panel
   ![artifact-upgrade-options](https://user-images.githubusercontent.com/114367/210017364-6498cb27-fa16-4343-a8ff-98e57235dbe9.png)
    2. disable a hint + press ok
    3. try to enable the same hint again + press ok
    4. 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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] mbien closed issue #5165: Maven hints can't be enabled again after they were disabled

Posted by GitBox <gi...@apache.org>.
mbien closed issue #5165: Maven hints can't be enabled again after they were disabled
URL: https://github.com/apache/netbeans/issues/5165


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] mbien commented on issue #5165: Maven hints can't be enabled again after they were disabled

Posted by GitBox <gi...@apache.org>.
mbien commented on issue #5165:
URL: https://github.com/apache/netbeans/issues/5165#issuecomment-1368031357

   I managed to fix the rest too in the same PR. Probably no need for followups assuming everything works ok.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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