Bug 239761 - Report design in Eclipse is not saved
Summary: Report design in Eclipse is not saved
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: Birt-ReportDesigner CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2008-07-07 03:17 EDT by Assaf CLA
Modified: 2008-11-19 05:29 EST (History)
1 user (show)

See Also:


Attachments
screen shot of eclipse designer ->border tab (55.71 KB, application/x-zip-compressed)
2008-07-08 01:55 EDT, Assaf CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Assaf CLA 2008-07-07 03:17:12 EDT
Build ID: 2.3.0

Steps To Reproduce:
1.I set borders to data cells and save the changes in eclipse 3.4.0
2. The changes seem to be unsaved - border color,bordor 
   width etc..
3. XML was not changed after save


More information:
Comment 1 Zhiqiang Qian CLA 2008-07-07 23:29:44 EDT
I cannot reproduce this issue, have you any error log or messages?
Comment 2 Assaf CLA 2008-07-08 01:19:09 EDT
No error is produced.
I'm using the eclipse from the All-in_one (2.3).
Try changing the color / width/type of border for a data cell (cell in a data row of a table). sometimes the save button is not activated after performing a samll change (like a single color change of the border). Sometime you change the color for certain cells -> save-> go back to the cell you changed and the color is black again...



(In reply to comment #1)
> I cannot reproduce this issue, have you any error log or messages?

Comment 3 Zhiqiang Qian CLA 2008-07-08 01:27:18 EDT
(In reply to comment #2)
> No error is produced.
> I'm using the eclipse from the All-in_one (2.3).
> Try changing the color / width/type of border for a data cell (cell in a data
> row of a table). sometimes the save button is not activated after performing a
> samll change (like a single color change of the border). Sometime you change
> the color for certain cells -> save-> go back to the cell you changed and the
> color is black again...
> 
I think there's some misunderstanding here. The "set border" action actually contains two steps: 1. select border color/style/width. 2. click the buttons bellow or preview area to apply border settings. You see because by only changing the border color/style/width, UI will not know which side of border you want to change, you need explicitly click specific button or area to provide this info.

Comment 4 Assaf CLA 2008-07-08 01:36:53 EDT
I select the second step as well (to decide where the border will appear).
The border will appear but if I then change the color to gray for example and press save , the border will still stay black.

(In reply to comment #3)
Comment 5 Zhiqiang Qian CLA 2008-07-08 01:39:51 EDT
(In reply to comment #4)
> I select the second step as well (to decide where the border will appear).
> The border will appear but if I then change the color to gray for example and
> press save , the border will still stay black.
> 
> (In reply to comment #3)
> 
each time you change the color/style/width, you need click the button to apply again. As UI is still not sure which border you want to change.
Comment 6 Assaf CLA 2008-07-08 01:55:05 EDT
Created attachment 106781 [details]
screen shot of eclipse designer ->border tab
Comment 7 Assaf CLA 2008-07-08 01:58:06 EDT
The problem is 
1.That changing the color of the border in not marked detected as a change to the report and does not allow save after that (I must change other attributes to get the save activeted)
2. Also, if I change a color for on cell only when I move over to other cells that same color is chosen for them as well (even though their border has a another color all together)

Comment 8 Zhiqiang Qian CLA 2008-07-08 02:18:21 EDT
(In reply to comment #7)
> The problem is 
> 1.That changing the color of the border in not marked detected as a change to
> the report and does not allow save after that (I must change other attributes
> to get the save activeted)

Yes, changing the color does not actually change the model, only when you click the button, the change will then applied to model. In this case, if you don't apply the change, even save is activated, the color change will not be saved.

> 2. Also, if I change a color for on cell only when I move over to other cells
> that same color is chosen for them as well (even though their border has a
> another color all together)

When you first time select a cell, UI will try match the settings of current cell, if you switch to another cell, UI will keep current state in case you like to apply same settings to other cell. But if you switch to another type of report item, the UI state will be reset.



Comment 9 Zhiqiang Qian CLA 2008-08-03 23:57:38 EDT
We may have some border setting UI enhancement in the future to avoid such confusion.