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.

Bug 39545 - The text in Help | About -> Details tab is not selectable
Summary: The text in Help | About -> Details tab is not selectable
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords: UI
: 56855 64789 70321 70623 91385 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-03 11:59 UTC by iformanek
Modified: 2008-12-22 20:53 UTC (History)
7 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
patch implementing the enhancement (70.12 KB, text/plain)
2006-01-12 22:17 UTC, Milan Kubec
Details
screenshot of the dialog (21.88 KB, image/png)
2006-01-12 22:28 UTC, Milan Kubec
Details
final impl patch, with copy action as regular button (73.86 KB, patch)
2006-03-21 17:24 UTC, David Simonek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description iformanek 2004-02-03 11:59:28 UTC
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"
Comment 1 Jiri Rechtacek 2005-12-20 13:41:06 UTC
*** Issue 70623 has been marked as a duplicate of this issue. ***
Comment 2 Milan Kubec 2006-01-12 14:10:24 UTC
*** Issue 70321 has been marked as a duplicate of this issue. ***
Comment 3 Milan Kubec 2006-01-12 22:17:03 UTC
Created attachment 28367 [details]
patch implementing the enhancement
Comment 4 Milan Kubec 2006-01-12 22:25:48 UTC
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.
Comment 5 Milan Kubec 2006-01-12 22:27:14 UTC
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
Comment 6 Milan Kubec 2006-01-12 22:28:43 UTC
Created attachment 28368 [details]
screenshot of the dialog
Comment 7 dmladek 2006-01-13 08:07:20 UTC
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.
Comment 8 Jiri Rechtacek 2006-01-13 14:53:24 UTC
Excellent, Milan. Go ahead and integrate the patch in trunk. Thanks
Comment 9 Milan Kubec 2006-01-16 19:02:45 UTC
Jano, please review the changed GUI of the About dialog and let me know if it's
acceptable. Thanks.
Comment 10 David Simonek 2006-03-17 14:04:06 UTC
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! 
Comment 11 David Simonek 2006-03-21 17:24:17 UTC
Created attachment 29335 [details]
final impl patch, with copy action as regular button
Comment 12 David Simonek 2006-03-21 17:29:19 UTC
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.

Comment 13 Jesse Glick 2006-03-21 22:30:23 UTC
Any particular reason we need a copy button if you can select text and press Ctrl-C?
Comment 14 Milan Kubec 2006-03-22 08:00:06 UTC
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.
Comment 15 David Simonek 2006-03-22 14:11:29 UTC
Yes, as Milan said.
Comment 16 Jesse Glick 2006-03-22 17:11:10 UTC
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.
Comment 17 David Simonek 2006-03-22 17:38:48 UTC
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.      
Comment 18 Milan Kubec 2006-03-23 14:37:46 UTC
*** Issue 56855 has been marked as a duplicate of this issue. ***
Comment 19 David Simonek 2006-06-20 12:41:13 UTC
*** Issue 64789 has been marked as a duplicate of this issue. ***
Comment 20 Marian Mirilovic 2006-12-21 08:54:57 UTC
verified in NB Dev (200612201900)
Comment 21 Marian Mirilovic 2006-12-21 08:56:26 UTC
*** Issue 91385 has been marked as a duplicate of this issue. ***