GitHub user neilcsmith-net added a comment to the discussion: Windows clipboard issues discussion
Thank you for taking the time to check this! I think this is worth exploring assuming it fixes the issue for everyone as this code is already partially broken via security manager removal. It's simpler, less invasive, and needs fixing anyway. Given the changes in NbClipboard registration with removal of the security manager, the flavor listener doesn't seem to add a lot. Clipboard history is somewhat unreliable, although it's partly to do with not registering changes from inside the IDE - flick focus away and back and it might catch up. We could rethink this feature, and the immediate removal of the flavor listener will probably leave the same behaviour as NB25 at the least. ExplorerActionsImpl may need some testing, but there are possibly other events to schedule the update from, if it's needed on other than property changes at all? ExplorerActions is deprecated and doesn't seem to have usage in the IDE at all any more? I'd missed the ComponentInspector when looking through these - not sure what impact that might have, but like clipboard history, it's possibly somewhat broken already? GitHub link: https://github.com/apache/netbeans/discussions/7051#discussioncomment-12651726 ---- This is an automatically sent email for notifications@netbeans.apache.org. To unsubscribe, please send an email to: notifications-unsubscr...@netbeans.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists