Capella freezes when context menu is opened in Capella Project Explorer

Capella freezes when context menu is opened in Capella Project Explorer
I have this problem in Capella 1.2.0 and 1.1.x
In 0.8.x and 1.0.x versions there is no this problem.
I’ve added a bug on this issue.
ticket 1916
Is it a known issue?

The first time you display the context menu on a Capella elements is usually a bit longer because Capella “loads” a ton of stuff. But after this first loading, it is supposed to be almost immediate. I don’t have the problem on my Capella 1.2.0.

Stephane Bonnet wrote on Mon, 22 January 2018 01:23
The first time you display the context menu on a Capella elements is usually a bit longer because Capella “loads” a ton of stuff. But after this first loading, it is supposed to be almost immediate. I don’t have the problem on my Capella 1.2.0.
I know that Eclipse loads OSGI bundle when it is used first time. It’s not my case.
In my case there is delay every time I open context menu for Capella model elements.
Published screenshort capture with Capella behaviour on my laptop.
https://youtu.be/8VMJlVOjKb4
As I mentioned before there is no problem in 0.8.x and 1.0.x version.

Java update from 151 to 161 fixed the issue. Context menus open now not immediately but as before (when Java 144 was used).
Thanks to this issue I’ve added keyboard commands for model elements creation (see
https://forum.mbse-capella.org/t/210/
After today I’ll be using context menu only for diagram creation.

Felix Dorner have found much better solution for this issue, see bug
ticket 1916
After applying this solution context menu in Capella Project Explorer opens nearly immediately.
Felix have found that this issue depends on Eclipse bug for dynamic menus
https://bugs.eclipse.org/bugs/show_bug.cgi?id=467000
There is a workaround for this bug now.
For workaround to be used your need to add a flag to eclipse.ini file
-Declipse.workaround.bug467000=true
The resulting eclipse.ini file
-startup
plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711. jar
–launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1. 401.v20161122-1740
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Declipse.workaround.bug467000=true
-Xms1000m
-Xmx3000m
-Xss4m

Copyright © Eclipse Capella, the Eclipse Capella logo, Eclipse and the Eclipse logo are Trademarks of The Eclipse Foundation.