Bug 453880 - Imprecise tooltip in PIE chart after applying fix in 251520 to address memory leak in RegionAction
Summary: Imprecise tooltip in PIE chart after applying fix in 251520 to address memory...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.1   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Birt-Chart-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-02 08:10 EST by chinni krishna CLA
Modified: 2014-12-02 08:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chinni krishna CLA 2014-12-02 08:10:41 EST
We are using BIRT chart 2.6.1 with SWT renderer to render our charts. We observed that there was a memory leak with Region object and checked the BIRT bugzilla for any bugs in those areas. Then we landed at bug 251520 which solves the problem using Rectangles instead of Regions. After applying the fix suggested in 251520, we observed another problem with Pie charts related to Tooltips. We now get imprecise tool tips on mouse hover as we used Rectangles instead of Region. If we revert this fix we get the problem of leaks in Region objects which causes "SWT No more handles" error. We cannot compromise on the memory leaks as we display 6 charts in a single window and all have tooltip with data points going over 5000 very soon and there by causing the application to hang. 

We will need a solution where there aren't any memory leaks and the pie chart is rendered with proper tool tips. We see a bug id where the problem is resolved in 4.4.1 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=337244). What was fixed as a part of RegionAction memory leaks where the bug disappeared in 4.4.1. I see that 4.4.1 birt uses Regions instead of Rectangles so that problem of imprecise tool tip won't be happening, but how is the memory leak of Region objects addressed in 4.4.1?