|Strange Menu Drawing Behavior With Exported RCP [message #1817201]
||Mon, 18 November 2019 13:49
| Brandon Lewis
Registered: May 2012
I'm on Oxygen. I'm on a controlled linux system at my job and Oxygen is the last Eclipse version that is compatible with my GTK2 libs (of which I have no control over).|
I've exported an Eclipse application with one of my plugins. My Product is set to org.eclipse.platform.ide and the Application is org.eclipse.ui.ide.workbench - bascially exporting Eclipse with my plugin bundled in.
I exported this with a Tycho/Maven build and all works well - except users get the Welcome to Eclipse! screen - which I want to remove.
Removing it seems to require an RCP.... okay... I'll get the benefit of possibly controlling the first active perspective and size etc...
I've since tried to create my own Product, but I've set the Application to org.eclipse.ui.ide.workbench - I don't want to throw the baby out with the bathwater as they say.
Strangely, on my linux system, the Menus are not drawn at all when the app launches. If I switch to another window and then back - then all the workbench menus appear. Or I can minimize the app, and once I unminimize, the menus will be present. Or I can almost re-paint the menu and toolbars with my mouse.
This happens only on the initial launch. All subsequent launches display the menus naturally as expected.
I have never seen this before.
Anyone ever seen this? I've tried to tweak with preWindowOpen and postWindowOpen, but of course, I've launch the org.eclipse.ui.ide.workbench Application so those have no effect.
If I launch my own Application, I now have two problems: 1) All the workbench menus I want are not there (because I'd have to add them with my RCP), but also 2) The menu items I do have don't appear initially, until I manipulate the window. So I still have my original problem - menus strangely don't get drawn on initial launch.
If I switch back to using the org.eclipse.platform.ide Product, all my menus appear as expected - yet so does the annoying Welcome screen.
Looks like I'm running Red Hat Linux Enterprise with GNOME 2.28.2
[Updated on: Mon, 18 November 2019 13:50]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01874 seconds