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.
For support reasons suggest to allow the user to copy this text into clipboard either by making it selectable or by adding a button "Copy to Clipboard"
*** Issue 70623 has been marked as a duplicate of this issue. ***
*** Issue 70321 has been marked as a duplicate of this issue. ***
Created attachment 28367 [details] patch implementing the enhancement
I have attached patch that implements the copy/paste functionality for values in About/Details dialog, I have added also a button to copy prefered info to clipboard, screenshot is attached - don't know if it's acceptable from UI point of view to have a button in this dialog.
Example of product info copied to clipboard: NetBeans IDE Dev (Build 060112) 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05 Windows XP version 5.1 running on x86 en_US (nb); Cp1252
Created attachment 28368 [details] screenshot of the dialog
Thanks Milan for nice solution. It's OK for me from the description you described (It's out of my possibilities test your patch). So only thing I would mention is: hope that it is possible to mark/select & copy whole Netbeans product info.
Excellent, Milan. Go ahead and integrate the patch in trunk. Thanks
Jano, please review the changed GUI of the About dialog and let me know if it's acceptable. Thanks.
After discussion with mkubec, I'm taking this issue, will update the UI a bit and going to merge into the trunk. Thanx mkubec for your contribution!
Created attachment 29335 [details] final impl patch, with copy action as regular button
slightly modified version of original mkubec's patch integrated into main trunk: Checking in resources/copy.gif; /cvs/core/src/org/netbeans/core/resources/copy.gif,v <-- copy.gif initial revision: 1.1 done Checking in ui/Bundle.properties; /cvs/core/src/org/netbeans/core/ui/Bundle.properties,v <-- Bundle.properties new revision: 1.81; previous revision: 1.80 done Checking in ui/ProductInformationPanel.java; /cvs/core/src/org/netbeans/core/ui/ProductInformationPanel.java,v <-- ProductInformationPanel.java new revision: 1.30; previous revision: 1.29 done Checking in ui/ProductInformationPanel.form; /cvs/core/src/org/netbeans/core/ui/ProductInformationPanel.form,v <-- ProductInformationPanel.form new revision: 1.14; previous revision: 1.13 To see the change, go to Help->About, tab Details in latest dev builds.
Any particular reason we need a copy button if you can select text and press Ctrl-C?
Well, I think it's easier to copy comprehensive info by one click than selecting line after line and copy/pasting several lines like that. Other advantage is that if we teach users to use it we will have exactly the same full info about the build in bug reports. Also we can customize product info copied to clipboard.
Yes, as Milan said.
You would not need to select each line separately; Ctrl-A should do that, right? Assuming it's all one text component. Not sure about on Windows, but on Gnome and I think on some other Java apps there are various places where you get a summary dialog with various uneditable info and Ctrl-A Ctrl-C works to copy it all to clipboard. Check Firefox 1.5 About dialog for an example. Or Credits and License subdialogs of Nautilus's About, or tabs in Pan's About. Eclipse has a pretty thorough About dialog which you should look at if you haven't already - makes it quite easy to browse or copy all relevant info in one place. The analogy to NB is pretty close of course - shows plug-ins and their locations, startup params, etc.
Unfortunately, info is not in one text component, so Ctrl+A Ctrl+C doesn't work. Changing this would mean complete UI reshake, and we didn't want to do it, as bigger about box redesign is planned AFAIK. But anyway I still prefer the button - we will get still the same shape of the info and also asking the user for build info in IZ is simpler.
*** Issue 56855 has been marked as a duplicate of this issue. ***
*** Issue 64789 has been marked as a duplicate of this issue. ***
verified in NB Dev (200612201900)
*** Issue 91385 has been marked as a duplicate of this issue. ***