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 141240 - diagrams in different zoom levels have very small difference
Summary: diagrams in different zoom levels have very small difference
Status: RESOLVED WONTFIX
Alias: None
Product: uml
Classification: Unclassified
Component: Reporting (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-22 23:03 UTC by Peter Lam
Modified: 2009-01-14 19:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
uml project with model report (751.16 KB, application/x-compressed)
2008-07-22 23:04 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2008-07-22 23:03:24 UTC
build 20080722

The 2 bigger images almost show no difference in some diagram. Some diagrams are ok.

- unzip the attached uml project 
- open the generated report from the project in the report directory
- click on All Diagrams 
- click on the "c2Dependencies", "State Diagram 1",  diagram
- click on the icon (same as Fit Diagram on the UML diagram toolbar) on the right frame to get in navigation mode
- click on the zoom out button, the 1st click almost shows no difference for the image

"Sequence Diagram 1" has one of the 3 images missing or empty but not sure if it's related to this issue. Will leave it
here first. I can put it in a separate issue if needed.
Comment 1 Peter Lam 2008-07-22 23:04:16 UTC
Created attachment 65287 [details]
uml project with model report
Comment 2 Yang Su 2008-08-15 20:49:45 UTC
The current logic generates three png image files for a diagram with scale set to

1. current zoom level
2. the zoom level that fits the image into the pre-defined view port size of 1000 x 700
3. currentZoom >= 1 ? 0.5: 1

Three zoom levels are not evenly spaced, depending on the individual case, the scale factors could be very close. It is
indeed less than ideal, which should be fixed. However, the defect is considered minor and non-critical, p3 or p4 would
be more appropriate.
Comment 3 Sergey Petrov 2009-01-14 19:20:16 UTC
minor or just missed functionality withot real impact