This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The dialog used to go to a line (Ctrl-G in default bindings) overwrites the X clipboard automatically, thus stopping me from: - select a line number in an error by double-clicking it - open the dialog - paste the copied number with a combination of Backspace + middle-click I would expect the current number to be highlighted without changing the clipboard.
I'm sorry, but I don't understand. The steps you mentioned work just fine in my dev build. What is wrong?
I just tried with the nightly drop 200903080201 and the problem remains. I noticed that it is necessary to use the Goto dialog once before, though. Here is a complete list of steps to reproduce: 1) open some file in the editor 2) use the Goto dialog to go to some line (i.e. enter some number in there and confirm) 3) highlight a number (or some other text) with the mouse --> the result is that the X-clipboard will contain the selection and that it can be pasted via click of the middle button of the mouse (assuming default mouse mappings) 4) open the Goto dialog again after that last step the Goto dialog will contain the previously used line number and have it highlighted, overriding the X-clipboard, i.e. pasting via middle mouse button will paste the line number in the dialog, not the selection made in step 3. The expected behavior would be that the dialog has the previous entry highlighted (as to be able to replace it by typing), but the X-clipboard should remain unchanged since the selection was made programmatically and not by mouse interaction. Just a minor annoyance since I sometimes try to use the X-style copy and paste to paste line numbers into that dialog, which seems impossible after the first time the dialog was used.
BTW: an example of the expected behavior is the quick search field in Firefox: hitting Ctrl+K will take you there and highlight all existing content, but will not change the X-clipboard.
Reproducible, thanks for info
I guess this is really only a minor annoyance as you've said. Thanks for the report though.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss