Items in context menu dissapear in Project Explorer view

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Items in context menu dissapear in Project Explorer view

Mihaela Popoiu

Hi,

 

I'm working on customizing an Eclipse-based IDE according to the customer's needs.

 

* The customized IDE is based on Eclipse 4.5.2 (Mars), mostly used for C/C++ development.

* New commands are added in context menu of projects, visible in the Project Explorer view.

* Sometimes, in the project's context menu some commands may show up in a different order than expected; on the next display of the context menu, the misplaced commands disappear.

* The misbehaving commands are a mix of new and existing commands.

* No obvious pattern as to when this behavior occurs, pretty hard to reproduce.

* A found workaround is to close/reopen the corresponding view (Project Explorer), then the commands show again, and the order is correct.

 

I tried as a possible fix to eliminate all the conditions "enableWhen", "visibleWhen", and also the property testers form plugin.xml of the plugins contributing to the menu. Since then, the issue did not reproduce anymore.

 

However, I would like to determine the root cause of this behavior. Does anyone has a clue where to look for the root cause? Is there any way  / tool to debug this kind of issue?

 

Thank you!

Mihaela Popoiu


_______________________________________________
platform-ui-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev
Reply | Threaded
Open this post in threaded view
|

Re: Items in context menu dissapear in Project Explorer view

Mickael Istria-5
Hi,

Can you please first try your use-case against an up-to-date Platform (either 4.7.2 or 4.8.M4) ?

Cheers,

_______________________________________________
platform-ui-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev