Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313277 - [Regression] "pixels" changes to "points" automatically if input invalid value for chart
Summary: [Regression] "pixels" changes to "points" automatically if input invalid valu...
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.6.0   Edit
Assignee: Birt-Chart-inbox@eclipse.org CLA
QA Contact: Xiaodan Wang CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-18 01:39 EDT by Xiaodan Wang CLA
Modified: 2010-05-24 08:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.