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

Bug 344300

Summary: Editing an RPTDESIGN with Birt RCP Designer is very slow when using a theme
Product: z_Archived Reporter: LE HELLIDU <vincent.lehellidu>
Component: BIRTAssignee: Yueqian Wang <ywang>
Status: VERIFIED FIXED QA Contact: Xiaoying Gu <bluesoldier>
Severity: major    
Priority: P3 CC: bluesoldier
Version: 2.6.1   
Target Milestone: 3.7.0 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete
Attachments:
Description Flags
the report + the example library in a zip file none

Description LE HELLIDU CLA 2011-04-29 11:38:56 EDT
Created attachment 194371 [details]
the report + the example library in a zip file

Hello,

We meet an important performance issue while editing a report.

In the attachements, I provided an example that allow you to figure out how slow is the edition of my reports using theme.

Example of actions that are very long:
- Delete a table
- Edit a databinding with double-click on elements in the table
...

Everything works perfectly when I do not set a Theme :
PropertyEditor - Report - General - Themes = None
(instead of Themes = example.CustomTheme)

Perhaps it is due to embedded image of the library ?
Or report item from the library that I set to my header page and footer page ?

The fact is to edit a report with a Theme became a nightmare !

Please, help us to have better performances because this feature is very nice to manage styles of many reports with only 1 library file.

Thank you
Comment 1 Xiaoying Gu CLA 2011-05-03 22:45:23 EDT
(In reply to comment #0)
> Created attachment 194371 [details]
> the report + the example library in a zip file
> 
> Hello,
> 
> We meet an important performance issue while editing a report.
> 
> In the attachements, I provided an example that allow you to figure out how
> slow is the edition of my reports using theme.
> 
> Example of actions that are very long:
> - Delete a table
> - Edit a databinding with double-click on elements in the table
> ...
> 
> Everything works perfectly when I do not set a Theme :
> PropertyEditor - Report - General - Themes = None
> (instead of Themes = example.CustomTheme)
> 
> Perhaps it is due to embedded image of the library ?
> Or report item from the library that I set to my header page and footer page ?
> 
> The fact is to edit a report with a Theme became a nightmare !
> 
> Please, help us to have better performances because this feature is very nice
> to manage styles of many reports with only 1 library file.
> 
> Thank you

Can you reproduce this issue in the All-In-One?
It seems deleting a table takes a long time in all-in-one 2.6.2 release also,  but double clicking on a data item seems respond normal.
Comment 2 LE HELLIDU CLA 2011-05-04 05:06:29 EDT
(In reply to comment #1)
> (In reply to comment #0)
> Can you reproduce this issue in the All-In-One?
> It seems deleting a table takes a long time in all-in-one 2.6.2 release also, 
> but double clicking on a data item seems respond normal.

I also reproduce this issue in 2.6.2.
It is not the double-click action which is longer, it is when you edit with double-click and then => validate a modification of the databinding edition
The modification is long to be efficient, it takes several seconds before you can use BIRT Rcp Designer.
The time depends of the size of your report, it can takes over than 10 seconds to be able to use Designer for many of our reports.
An other point of slowness, to open a report it is much longer with a theme. It is nearly instaneous when you disable it.
Comment 3 Yueqian Wang CLA 2011-05-12 02:43:00 EDT
Optimize the searching logic for styles.
Comment 4 Xiaoying Gu CLA 2011-05-13 01:52:09 EDT
Verified with daily build 3.7.0.v20110512-0630