Bug 539973 - Properties for diagram description does not display all parameters on Mac OS !
Summary: Properties for diagram description does not display all parameters on Mac OS !
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Properties (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-10-09 13:49 EDT by Olivier Prouvost CLA
Modified: 2018-12-06 07:45 EST (History)
3 users (show)

See Also:


Attachments
Properties on Mac OS (266.17 KB, image/jpeg)
2018-10-09 13:53 EDT, Olivier Prouvost CLA
no flags Details
Properties on Windows 10 (352.92 KB, image/jpeg)
2018-10-09 13:56 EDT, Olivier Prouvost CLA
no flags Details
Features installed (135.98 KB, image/png)
2018-10-10 03:05 EDT, Olivier Prouvost CLA
no flags Details
Features installed when using the marketplace (54.77 KB, image/png)
2018-10-10 03:41 EDT, Pierre-Charles David CLA
no flags Details
Sirius project available while sirius is not installed ! (893.63 KB, image/png)
2018-10-10 12:41 EDT, Olivier Prouvost CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Prouvost CLA 2018-10-09 13:49:06 EDT
On Mac OS X (Mojave but I think also with High Sierra), the property dialog for a new representation does not display the Domain Class and other parameters ! 

I will attach the screenshot for Mac and for Windows (for the same project).
Comment 1 Olivier Prouvost CLA 2018-10-09 13:53:33 EDT
Created attachment 276189 [details]
Properties on Mac OS

A lot of parameters are missing and it is not possible to use Sirius on Mac !
Comment 2 Olivier Prouvost CLA 2018-10-09 13:56:21 EDT
Created attachment 276190 [details]
Properties on Windows 10

Must edit my design file in my Windows 10 VM !!!!
Comment 3 Olivier Prouvost CLA 2018-10-09 14:05:11 EDT
The problem is the same whatever the choice of the meta model : 

* choosing metamodel from workspace in the same eclipse instance
* choosing metamodel from registry (dev or runtime) with another eclipse launched

And I tried to find some sirius logs or swt logs but I found nothing in the log file...
Comment 4 Pierre-Charles David CLA 2018-10-10 02:56:38 EDT
This looks a lot like the problem reported here in the forum (under Windows): https://www.eclipse.org/forums/index.php/t/1095492/

The issue was just that Sirius was only partially installed (via plug-in dependencies) and some parts were missing. Apparently installing explicitly the specifier feature fixed the issue for that user (see my answer on the forum). Can you try that?
Comment 5 Olivier Prouvost CLA 2018-10-10 03:04:52 EDT
I installed Sirius using the market place in my new Eclipse

And I have the feature in my eclipse (see attachement)
Comment 6 Olivier Prouvost CLA 2018-10-10 03:05:25 EDT
Created attachment 276193 [details]
Features installed
Comment 7 Olivier Prouvost CLA 2018-10-10 03:07:45 EDT
And if I check for updates, everything is up to date.
Comment 8 Stephane Begaudeau CLA 2018-10-10 03:11:43 EDT
I tried on my laptop using macOS Mojave and everything is working (in my case I have all Sirius plugins available). It may be coming from the subset of plugins installed by the feature.
Comment 9 Pierre-Charles David CLA 2018-10-10 03:17:52 EDT
(In reply to Olivier Prouvost from comment #5)
> I installed Sirius using the market place in my new Eclipse
> 
> And I have the feature in my eclipse (see attachement)

The Sirius features visible on the screenshot do not include the one I mention on the forum. The "Sirius Runtime" features are the parts of Sirius needed to run Sirius-based modelers, but if you want to create new modelers you need the org.eclipse.sirius.specifier.ide.ui.

I'll check if the issue comes from the Marketplace configuration.
Comment 10 Pierre-Charles David CLA 2018-10-10 03:41:55 EDT
Created attachment 276194 [details]
Features installed when using the marketplace

Starting from a Eclipse Commiters package from SimRel 2018-09, I installed Sirius from the marketplace (https://marketplace.eclipse.org/content/sirius). I tested both through the marketplace client and via drag-and-drop, and get the features visible in the attached screenshot installed.

Note the "Sirius Specifier Environment" which is marked as required by the marketplace entry. It corresponds to the "org.eclipse.sirius.specifier" feature id. It is slightly different in content from the "org.eclipse.sirius.specifier.ide.ui" that I mentioned in my answer on the forum, but both include the full VSM editor, including the properties views for all Sirius dialects. In your previous screenshot, neither of these two seem to be installed, so I don't know how you ended up in that situation, but installing any of these explicitly from the SimRel repo ("Sirius Specifier Environment" aka "org.eclipse.sirius.specifier" is the one that is categorized/visible in this context) should normally fix the issue.
Comment 11 Olivier Prouvost CLA 2018-10-10 12:39:27 EDT
This is really bad... I got it... Actually I did not install Sirius from eclipse market place... 

That should not work like this... If you install the Eclipse Modeling 0918 and create a new wizard, you can create a sirius viewpoint specification project...(see attachement)... !! 

And it does not work in this case on Mac.. 

So you are right, we must install sirius properly after install of Eclipse Modeling from scratch... But in this case, the wizard should not be proposed because it is confusing... 

Or may be the default modeling eclipse install is not compliant for Mac OS ? 

Anyway, there is a problem with that.. Sirius or not Sirius in the default Eclipse Modeling this is the question...
Comment 12 Olivier Prouvost CLA 2018-10-10 12:41:00 EDT
Created attachment 276202 [details]
Sirius project available while sirius is not installed !

After an Eclipse Modeling Install, the wizard is proposed but it does not work after... Should be removed or install should be updated for Mac OS X