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

Bug 286262

Summary: [Browser] Mac Cocoa not functioning like Carbon
Product: [Eclipse Project] Platform Reporter: Ralph Bosson <rbosson>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: bokowski, cocoakevin, ob1.eclipse, pwebster, rbosson, Silenio_Quarti
Version: 3.5Keywords: triaged
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard: stalebug
Attachments:
Description Flags
Attachment requested in Comment #1 none

Description Ralph Bosson CLA 2009-08-11 11:13:55 EDT
Build ID: 20090619-0625

Steps To Reproduce:
1. Setup Adobe Reader-->Preferences-->Internet to display PDF in browser and allow fast web view.  Tested with versions 9.1.3, 9.1.1, 9.1.0,8.1.3.

1. Create a report using BIRT
     a. I used a scripted data set, the report contained a table and grid.

2. Run RCP application and print report using the following parameters.
		browser = new Browser(composite, SWT.NONE);
		browser.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
		get path to report…
		HashMap<String, Object> parms = new HashMap<String, Object>();
		parms.put("SERVLET_NAME_KEY", "frameset");//frameset, run, 
		parms.put("FORMAT_KEY", "pdf");
		parms.put("ALLOW_PAGE", true);
		WebViewer.display(path, browser, parms)

3. The reports displays in a viewer appearing as it would when displayed in Adobe Reader.  The differences is that none of the buttons work.  For example selecting the Print icon does not open the print dialog box.

4. Build product as both a cocoa and carbon rcp application.

5. Run cocoa application which performs in the same manner as when run from within Eclipse 3.5

6. Run the carbon application and the application functions as expected with all buttons responding as expected.

Test #2
7. Set Adobe Reader-->Preferences-->Internet to NOT to display PDF in browser.

8. Run RCP application from within Eclipse and launch report.

9. The report is displayed in the application Preview.  

10. Select the Preview button that displays the report in Acrobat Reader, all functions as expected. All buttons work.

More information:
Comment 1 Kevin Barnes CLA 2009-08-11 11:39:14 EDT
Can you attach a pdf that demonstrates the problem?
Comment 2 Ralph Bosson CLA 2009-08-11 11:55:41 EDT
Created attachment 144060 [details]
Attachment requested in Comment #1
Comment 3 Lakshmi P Shanmugam CLA 2017-07-04 07:42:08 EDT
Bug triaged, visit https://wiki.eclipse.org/SWT/Devel/Triage for more
information.
Comment 4 Eclipse Genie CLA 2020-04-23 16:41:58 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.