GitHub user neilcsmith-net edited a comment on the discussion: Windows clipboard issues discussion
> NB picks up external clipboard _content_ on focus re-activation. It doesn't > poll to get the actual external _history_. Well, it doesn't poll, so that is strictly correct. But flavor listeners might fire when the window isn't focused, ~~so the history could include all external changes~~. Except on Windows where they are removed on focus loss because of issues with external changes. See comment in NbClipboard -https://bz.apache.org/netbeans/show_bug.cgi?id=247585 EDIT : actually, missed there's also code to ignore the changes when not focused anyway - https://github.com/apache/netbeans/blob/master/platform/o.n.bootstrap/src/org/netbeans/NbClipboard.java#L313 So the listeners are still attached but not propagating the changes to the history on other OS. ~~On X11 the external changes are a bit hit and miss anyway - on my system only the first external change fires.~~ All in all, it's the internal changes that we need to worry about, and they need an alternative solution now that we're not registering NbClipboard as the default clipboard. EDIT2 :smile: : Of course, it's a _flavor_ event, not a content event! eg. changing between external text and file copy works. Which also shows why this isn't the right approach anyway. GitHub link: https://github.com/apache/netbeans/discussions/7051#discussioncomment-12660726 ---- 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