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 121482 - About box is missing UML's library copyright notice
Summary: About box is missing UML's library copyright notice
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-08 15:33 UTC by Antonin Nebuzelsky
Modified: 2008-12-22 10:56 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Diff of the change for review (7.37 KB, text/plain)
2007-11-08 15:38 UTC, Antonin Nebuzelsky
Details
How About will look after the fix when the extra copyright is not present (WinXP) (126.23 KB, image/png)
2007-11-08 16:00 UTC, Antonin Nebuzelsky
Details
How About will look after the fix when the extra copyright is not present (GTKlaf) (145.63 KB, image/png)
2007-11-08 16:01 UTC, Antonin Nebuzelsky
Details
How About will look after the fix when the extra copyright is there (WinXP) (126.83 KB, image/png)
2007-11-08 16:02 UTC, Antonin Nebuzelsky
Details
How About will look after the fix when the extra copyright is there (GTKlaf) (149.40 KB, image/png)
2007-11-08 16:03 UTC, Antonin Nebuzelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2007-11-08 15:33:57 UTC
It is required that if UML is installed, its library Tom Sawyer has a copyright notice visible in the Help/About dialog
box. This is the case *only if* it is installed, for other cases the About box must not include the notice.

In 5.5.x this was already resolved, but the code was available only on release55 and release551 branches. Main trunk did
not include the code because at the time of 5.5 it was agreed that for 6.0 (1) it will not be the case anymore as UML
will be rewritten to use Visual Library and (2) About box will be enhanced to provide a general API to plug in any
additional info there. This did not happen. We have to reintroduce the friend API change into the 6.0 about box to allow
UML to add the notice the same way it did in 5.5.x.
Comment 1 Antonin Nebuzelsky 2007-11-08 15:38:48 UTC
Created attachment 52726 [details]
Diff of the change for review
Comment 2 Antonin Nebuzelsky 2007-11-08 16:00:36 UTC
Created attachment 52729 [details]
How About will look after the fix when the extra copyright is not present (WinXP)
Comment 3 Antonin Nebuzelsky 2007-11-08 16:01:19 UTC
Created attachment 52731 [details]
How About will look after the fix when the extra copyright is not present (GTKlaf)
Comment 4 Antonin Nebuzelsky 2007-11-08 16:02:19 UTC
Created attachment 52732 [details]
How About will look after the fix when the extra copyright is there (WinXP)
Comment 5 Antonin Nebuzelsky 2007-11-08 16:03:24 UTC
Created attachment 52734 [details]
How About will look after the fix when the extra copyright is there (GTKlaf)
Comment 6 David Simonek 2007-11-08 16:06:33 UTC
code review: OK, simple and working, proven already in 5.5.
But I'm missing API description in javadoc in api changes - however I'm not sure if we want to document this or not.
Comment 7 Antonin Nebuzelsky 2007-11-09 16:58:52 UTC
Checking in Bundle.properties;
/shared/data/ccvs/repository/core/src/org/netbeans/core/ui/Bundle.properties,v  <--  Bundle.properties
new revision: 1.90.2.1; previous revision: 1.90
done
Checking in ProductInformationPanel.java;
/shared/data/ccvs/repository/core/src/org/netbeans/core/ui/ProductInformationPanel.java,v  <--  ProductInformationPanel.java
new revision: 1.44.2.1; previous revision: 1.44
done
Checking in ProductInformationPanel.form;
/shared/data/ccvs/repository/core/src/org/netbeans/core/ui/ProductInformationPanel.form,v  <--  ProductInformationPanel.form
new revision: 1.23.2.1; previous revision: 1.23
done
Comment 8 jrojcek 2007-11-12 10:06:50 UTC
A bit of after-notes...

To do it properly from UI point of view, the about box would eliminate the empty space dedicated for the Tom Sawyer notice if UML isn't installed. Currently 
on Win XP the big empty gap looks quite odd. On GTK it's better due to the line border around the license notice.

I approved it for 6.0 and it's okay to leave it as it is. It should be fixed after 6.0.

Comment 9 Petr Chytil 2007-11-15 11:58:55 UTC
Verified in:

Product Version: NetBeans IDE 6.0 RC1 (Build 200711131200)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/petr/.netbeans/6.0rc1