JDK-8123270 : Multiline text is rendered outside of control bounds
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-09-16
  • Updated: 2015-06-17
  • Resolved: 2013-09-27
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 8
8Fixed
Related Reports
Duplicate :  
Relates :  
Description
Text is rendered uoutside control bounds only if setWrapped is not set.
Comments
Verified with b114
05-11-2013

Target build: b111
09-10-2013

RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/ToggleButtonsTest/setTextAlignmentTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds
01-10-2013

RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/MenuButtonsTest/setTextOverrunMultiLineTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/SplitMenuButtonsTest/setTextOverrunMultiLineTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds
01-10-2013

Fixed with : changeset: 5175:4d3df4e0c494 tag: tip user: mickf date: Fri Sep 27 16:11:37 2013 +0100 summary: RT-32966 : Multiline text is rendered outside of control bounds, reviewed by Leif
27-09-2013

RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/ButtonsTest/setTextOverrunMultiLineTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/LabelsTest/setTextAlignmentTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/LabelsTest/setTextOverrunMultiLineTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/MenuButtonsTest/setTextAlignmentTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/SplitMenuButtonsTest/setTextAlignmentTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/ToggleButtonsTest/setTextOverrunMultiLineTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/HyperliksTest/setTextAlignmentTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/HyperliksTest/setTextOverrunMultiLineTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds
26-09-2013

I closed RT-31662 as a duplicate of this issue.
26-09-2013

Affected tests: ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/EllipsisTest/ellipsisTest
20-09-2013

Feel free to assign back if this can't be solved by reinstating the clip rect. Maybe it can be applied conditionally based on the label's layoutBounds? Otherwise, I can look into implementing vertical truncation of the text. This won't handle an overflowing graphic, though, but maybe that's acceptable since the app should be responsible for that.
18-09-2013

This is a regression caused by fix for RT-30552, which removed the clip rectangle from LabeledSkinBase.
16-09-2013

RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/RadioButtonsTest/setTextAlignmentTest Exception java.lang.InterruptedException RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/RadioButtonsTest/setTextAlignmentTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/RadioButtonsTest/setTextOverrunMultiLineTest Exception java.lang.InterruptedException RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/RadioButtonsTest/setTextOverrunMultiLineTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds
16-09-2013

RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/CheckBoxesTest/setTextAlignmentTest Exception java.lang.InterruptedException RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/CheckBoxesTest/setTextAlignmentTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/CheckBoxesTest/setTextOverrunMultiLineTest Exception java.lang.InterruptedException RULE ControlsAutomatedTestSuite/javafx/scene/control/test/labeled/CheckBoxesTest/setTextOverrunMultiLineTest Exception org.jemmy.TimeoutExpiredException: State 'Control having expected image' has not been reached in ... milliseconds
16-09-2013