JDK-6751407 : GlyphView.getMinimumSpan return value is not the minimum span
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2008-09-23
  • Updated: 2011-01-19
  • Resolved: 2009-07-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
The fix for 6423287 "PargraphView returns wrong minimum span" introduced new method, GlyphView.getMinimumSpan. As it was noted later, it returns not the minimum span for the view, but the span of the largest non-breakable area within the view (ie, the span of the paragraph view built out of the minimum possible glyph view fragments.) Actually the method should return the minimum span of the non-split glyph view. So its implementation should be changed to match the expectations.

Possibly new method should be introduced that returns the current value, as it's needed to implement the correct ParagraphView layout (see 6423287 for details.)

Comments
EVALUATION The fix for 6539700 (jdk7 version) eliminates this issue, so closing as duplicate.
16-07-2009