Here's the issue that awaits you when you move on from NetBeans: https://youtrack.jetbrains.com/issue/JBR-5980/
I.e., it's probably connected to Swing and a race condition with the clipboard. Gj On Tue, Aug 29, 2023 at 7:39 PM Kenneth Fogel <kfo...@dawsoncollege.qc.ca.invalid> wrote: > > Thank you everyone for your comments. As someone working on Java in Education > I believe that this is a serious/critical issue. NetBeans is/was, in my > opinion, the best IDE in education. Many schools and students run Windows. > Though retired I have written a book and am now working on a project, > creating workshops. In both cases I used/use NetBeans. I can't say how much > longer I can. Having my train of thought interrupted when I do Ctrl-C and > Ctrl-V only to realize it did not work, again, is reaching the end of my > patience. Then there are the times I lose code because I forgot to restore > (Ctrl-Z) it after pasting it in my text.. I have more work lined up but I'm > not sure that I can continue with NetBeans. > > I fully appreciate that complaining about Open Source is frowned on. I should > just download the code and find/fix the problem myself. What I do not have > are the days and possibly weeks to understand how NetBeans interacts with the > clipboard to identify the problem. Is there a time when a code base becomes > so large that the potential for side effects from changes in other parts of > the code base becomes near impossible to determine without a full-time staff. > Heck, I came across Eclipse posting a paid job to deal with enhancements to > Eclipse. > > Ken > > PS: Funny Eclipse story. I began teaching using first JDeveloper and then > Eclipse. In the late 2000s Eclipse was problematic hence the eventual move to > NetBeans in my courses. In most cases the students needed to shutdown Eclipse > and restart it. I just played with the recent version of Eclipse and what did > I find? It's a menu selection that restarts Eclipse. I guess if you can't fix > it then give it a switch to turn it off and then on again in a single click. > Doing this in NetBeans buys me between 10 and 30 minutes of working > copy/paste. > > PPS: It never fails if I Cut. Is this not a significant clue? > > > -----Original Message----- > From: Kenneth Fogel <kfo...@dawsoncollege.qc.ca.INVALID> > Sent: Monday, August 28, 2023 6:50 PM > To: dev@netbeans.apache.org > Subject: Windows 11 Issues - Copy/Paste Failure > > Hi, > > I have mentioned this before, but the situation is getting worse. More often > than not, I must cut the text, paste the text into the external app such as > Word, and then restore (Ctrl-Z) the cut text back into NetBeans. This week it > started to require this just when I want to copy and paste text between tabs > in NetBeans. My uninformed guess is an issue in how NetBeans responds to the > Copy command, somehow losing its connection to the Windows clipboard that > does not happen if Cut is used. > > But wait, there is more. It has become hit or miss to copy from another > application into NetBeans. > > I can get a temporary reprieve by closing and then restarting NetBeans. > > I do have a question. How many people actively working on NetBeans do this in > a Windows rather than Linux or MacOS operating system? I can say that this > problem is unique to NetBeans in my Windows 11 environment and has not > occurred in any other application or IDE that I have used. I don't think I > can file a JIRA ticket because I cannot provide a repeatable example. > > Here is my environment from the About box: > > Product Version: Apache NetBeans IDE 18 > > Java: 17.0.7; OpenJDK 64-Bit Server VM 17.0.7+7 > > Runtime: OpenJDK Runtime Environment 17.0.7+7 > > System: Windows 11 version 10.0 running on amd64; Cp1252; en_CA (nb) > > User directory: C:\Users\omni_\AppData\Roaming\NetBeans\18 > > Cache directory: C:\Users\omni_\AppData\Local\NetBeans\Cache\18 > > > Ken Fogel > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org > For additional commands, e-mail: dev-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists