|
Quick Lists
|
|
Bug ID:
|
6423287
|
|
Votes
|
0
|
|
Synopsis
|
PargraphView returns wrong minimum span
|
|
Category
|
java:classes_swing
|
|
Reported Against
|
b06
|
|
Release Fixed
|
7(b20),
6-open(b03) (Bug ID:2152927)
|
|
State
|
9-Fix Failed,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
6306218
,
6539700
,
6559929
,
6582629
,
6612541
,
6751407
|
|
Submit Date
|
09-MAY-2006
|
|
Description
|
Note: this is not a regression.
PargraphView minimum span returns maximum of minimum spans for the views it contains.
That is wrong since we not necessarily break rows on the View boundaries.
For example :
<b>bold</b><i>italic</i>
The minimum width for this should be the width of
<b>bold</b><i>italic</i> but not the
max(width(<b>bold</b>), width(<i>italic</i>))
Posted Date : 2006-05-09 02:25:20.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
calculateMinorAxisRequirements in ParagraphView doesn't take into account adjacent views without break possibility between them, like this:
F<b>O</b>O
This makes three views. The total minimum span requirements for the above is the sum of minimum requirements of all three, but currently ParagraphView returns maximum value of the three as total minimum requirements, which is incorrect.
Posted Date : 2006-05-30 14:27:33.0
The fix, as delivered into 7b20, is invalid. It contains a logical mistake (see 6751407) and caused regressions (see 6612541 and 6539700). The fix should be re-done concerning all the details.
Posted Date : 2009-07-16 18:13:05.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |