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

Bug 355407

Summary: Chart interactivity menu to specify the Event does not expand
Product: z_Archived Reporter: Marco Armani <marco.armani>
Component: BIRTAssignee: Heng Li <liheeng>
Status: VERIFIED FIXED QA Contact: Maggie Shen <lshen>
Severity: blocker    
Priority: P3 CC: bluesoldier, liheeng, marco.armani
Version: 3.7.0   
Target Milestone: 3.7.2   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Marco Armani CLA 2011-08-22 11:40:31 EDT
I'm testing the BIRT charting package on OSX. Everything seems to work fine except picking the Event for chart interactivity options.

Here's how I configured the Eclipse plugin:
- Downloaded eclipse-SDK-3.7-macosx-cocoa.tar.gz  straight from the BIRT site
- Clicked on Help -> Install New Software
- Work with: --All Available Sites--
- Selected the entire Business Intelligence, Reporting and Charting branch
- Next, Next, Agree to license, and Install

Now the Report Design view is available.
So then:
- I created a new Report
- Created a new Data Source using ClassicModels
- Created a new Data Set using

[code]
select CUSTOMERNAME, CLASSICMODELS.CUSTOMERS.CREDITLIMIT
from CLASSICMODELS.CUSTOMERS
where CLASSICMODELS.CUSTOMERS.STATE='CA'
[/code]

- Created a new Chart. Leaving the default options as they were: Bar chart, 2D, SVG
[b]NOTE:[/b] if you continue to the next step and try to set the data series for the chart, you might [b]crash Eclipse[/b]. This has happened to me consistently, so the work around I've found is to create the Chart and simply hit Finish without going to the Select Data tab. Save the report, and then double click on the chart to get the Edit Chart window back and go to Select Data and continue setting it all up.
- Under 'Select Data' I used the CREDITLIMIT for my Y series, and CUSTOMERNAME for my X series
- Under 'Format Chart' I selected Value (Y) Series and clicked on the Interactivity button
- The 'Series Interactivity' pop-up window appeared.
- Clicking the top drop-down list to select an Event didn't do anything. It looked like the list expanded for a split second but the overall effect was no access to selecting any of the Events other than 'Mouse Click'.
- The Action drop-down list worked just fine, and so did the Cursor list.

The Event list has a different style than the other two lists (Combo box vs. List???) so that might be where the problem lies?
Following the same steps using the Windows installation of Eclipse correctly displayed the Event drop-down menu. I also tried loading a report (designed under the Windows installation) with interactivity options using various Events, and it loaded and ran fine under OSX. I just wasn't able to modify any of the events. So this must be a UI issue in the OSX version of the BIRT plugin.

This seems like a simple fix. Would anyone know if/how it can be fixed?

Thank you,
Marco
Comment 1 Heng Li CLA 2012-01-04 01:43:44 EST
The cause is focus out event mechanism in Mac-OSX is differnt from
windows, when creating and opening a shell, if the shell doesn't cover
parent component, it will fire a focus out event for current shell and
set focus for parent component first, this behavior will cause current
shell is closed. I noticed for Combo widget in Mac-OSX, the pop-up list
of Combo is still covering its combo edit, this behavior is different
from windows.I think the behavior of Combo widget in Max-OSX is to avoid
unexpected focus out event for combo pop-up list.
Now I made a hard-code change to fix this, if current OS is Mac-osx,
still make pop-up shell to cover parent component.
Comment 2 Maggie Shen CLA 2012-01-04 01:47:16 EST
verified on build 3.7.2 v20120104-1141