Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313277

Summary: [Regression] "pixels" changes to "points" automatically if input invalid value for chart
Product: z_Archived Reporter: Xiaodan Wang <xwang>
Component: BIRTAssignee: Birt-Chart-inbox <Birt-Chart-inbox>
Status: CLOSED INVALID QA Contact: Xiaodan Wang <xwang>
Severity: normal    
Priority: P3 CC: Lionel.wyl
Version: 2.6.0   
Target Milestone: 2.6.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Xiaodan Wang CLA 2010-05-18 01:39:32 EDT
Description:
"pixels" changes to "points" automatically if input invalid value for chart.

Build number:
2.6.0.v20100518-1142

Steps to reproduce:
1. New a chart, in Property Editor->General, input 212 pixels for Width
2. Change width to "-10", and press enter, check the width of the chart.

Expected result:
Width is still "212 pixels".

Actual result:
Width is "212 points" (see the screenshot).

Error log:
N/A
Comment 1 Yulin Wang CLA 2010-05-24 03:08:34 EDT
This is expected behavior. This is an enhancement rather than a regression
If invalid value is inputted, default value will be used instead. In this case, 212 points will be used.
Comment 2 Xiaodan Wang CLA 2010-05-24 08:07:25 EDT
Verified, closed.