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 124259

Summary: birdview ignoring level of detail
Product: platform Reporter: Milos Kleint <mkleint>
Component: GraphAssignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Milos Kleint 2007-12-19 10:09:31 UTC
when a widget is composed of multiple level of detail widgets, the birdview will only magnify the level show in the main
view. In my expectation it should show the widget as it would appear in the given zoom factor.
Comment 1 David Kaspar 2007-12-27 09:48:17 UTC
This is a bug. The bird view is using different scale without affecting zoom-factor property of a scene. This is
correct. The problem is that LevelOfDetailsWidget checks the zoom-factor property only. It should check the scaling
within the Graphics2D instance. This may be a problem. Therefore better solution would be to introduce
"GraphicsContext"-like property on a scene. The rendering-context would be by each view while painting them. It would be
also possible to use the property in Widget.paint* methods (during scene-rendering) to ask about rendering-context info
e.g. zoom-factor, view JComponent or target type (print, bird, satellite, main, ...).