Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330993 - Designing a report using two Eclipse windows not possible
Summary: Designing a report using two Eclipse windows not possible
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.3.0 RC1   Edit
Assignee: Chen Chao CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-24 03:11 EST by Helmut Neubauer CLA
Modified: 2013-05-13 02:41 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Neubauer CLA 2010-11-24 03:11:51 EST
I'm using several Eclipse windows (I'have three monitors for my work)
and sometimes I want to compare two reports, each in one window. 

Now it seems, there is only one instance of the Data Explorer view. I'm not
able to work on both reports. The Data Explorer views of both reports
are linked to the same report. I'm not sure if this is a problem for the other views, too (like Outline).
Comment 1 Zhiqiang Qian CLA 2010-11-29 02:40:03 EST
Are you opening two different reports or one report in two eclipse windows? The data explorer view is associated with editors. So for different editors they should have different instances. Seems it works all right in my environment.
Comment 2 Helmut Neubauer CLA 2010-11-29 02:52:48 EST
I'm using two reports. I've tested it again and I think it's not the view. It seems a problem of the wizards. Try to use a clean new report and add a new data set, than try to do the same for the second report in the other window. You'll get an error message, saying the data set with the same name is available, although it's in the other report. 

Second problem with property view: Try to use the Outline view in both windows, you'll see, only one property view will be updated.
Comment 3 Zhiqiang Qian CLA 2010-11-29 03:08:24 EST
Ok, I see the problem. The Property Editor View currently is designed as a singleton. Apparently we still need distinguish them in the window scope.
Comment 4 Helmut Neubauer CLA 2010-11-29 03:14:59 EST
Could you verify the other problem with adding new data sets?
Comment 5 Zhiqiang Qian CLA 2010-11-29 03:17:05 EST
Yes, it's caused by a similar reason.
Comment 6 Chen Chao CLA 2013-05-07 04:20:30 EDT
Fixed it.
Comment 7 Jesse Weinstein CLA 2013-05-07 12:18:22 EDT
(In reply to comment #6)
> Fixed it.

I'm not able to figure out which commit is being referred to by your comment. Can you provide a commit-id, or at least the exact commit message?

As discussed on the birt-pmc mailing list (http://dev.eclipse.org/mhonarc/lists/birt-pmc/msg00467.html ), future work is supposed to happen in public, on the Eclipse git repo. Part of that involves being transparent about linking commits to bug reports (and back).
Comment 8 Xiaoying Gu CLA 2013-05-13 02:41:24 EDT
Verified in 4.3M7.