Bug 579618

Summary: Opening a file as Parameter does not work on OS X
Product: [Eclipse Project] Platform Reporter: Marco Descher <marco>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: thatnitind
Version: 4.23   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=102299
Whiteboard:
Attachments:
Description Flags
difference on opening none

Description Marco Descher CLA 2022-04-07 08:36:23 EDT
Created attachment 288409 [details]
difference on opening

I downloaded Eclispe-IDE-2022-03. After extraction (both on Windows 10 and OS X 11.6.5) I executed for 

Windows

commands
1) eclipse eclipse.ini and then
2) eclipse artifacts.xml

reaction
1) opens the IDE and correctly shows eclipse.ini
2) uses the already opened IDE to additionally open artifacts.xml

OS X

commands
1) ./eclipse ../Eclipse/eclipse.ini
2) CTRL+Z to gain the terminal,  eclipse ../Eclipse/artifacts.xml

reaction
1) opens the IDE but does not show eclipse.ini
2) tries to open a new IDE which fails, as workspace already in use
3) ./eclipse --launcher.openFile ../Eclipse/artifacts.xml does also not work

Shouldn't this work according to https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fproduct_open_file.htm?

Related reference
https://stackoverflow.com/questions/61630418/add-swt-opendocument-swt-listener-to-e4application-of-rcp-app