Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Toolbar and Statusbar disappears (Toolbar and Statusbar disappears after hiding and unhiding the WorkBench)
Toolbar and Statusbar disappears [message #1731302] Wed, 04 May 2016 08:15 Go to next message
Peter Naef is currently offline Peter NaefFriend
Messages: 2
Registered: May 2016
Junior Member
Hi everybody,

on our application based on Mars RCP i can observ the following strange behavior:

step 1: hide the workbench (programmaticaly)
		this.windows = PlatformUI.getWorkbench().getWorkbenchWindows();
		for (IWorkbenchWindow window : this.windows)
		{
			window.getShell().setVisible(false);
		}


step 2: again unhide the workbench
		for (IWorkbenchWindow window : this.windows)
		{
			window.getShell().setVisible(true);
		}


At this point the Toolbar and the Statusbar are no more visible. Mad
I can reactivate them by executing the menu Window/Hide Toolbar. The first execution makes the Statusbar visible and the second also the Toolbar.

When i repeat again step 1 (hide workbench) and step 2 (unhide) the Toolbar and Statusbar are still visible, like expected.

Has anybody an idea how to prevent disapearance of Toolbar/Statusbar after a 1st attempt of hide/unhide the workbench.
Thanks
Peter

Re: Toolbar and Statusbar disappears [message #1731378 is a reply to message #1731302] Wed, 04 May 2016 17:31 Go to previous messageGo to next message
Jonah Graham is currently offline Jonah GrahamFriend
Messages: 403
Registered: June 2014
Senior Member
Sounds interesting. What platform/os/version are you running. Any chance of a small/reproducible test case. If so a workaround and/or bug report will be possible.
Re: Toolbar and Statusbar disappears [message #1731658 is a reply to message #1731378] Mon, 09 May 2016 05:53 Go to previous message
Peter Naef is currently offline Peter NaefFriend
Messages: 2
Registered: May 2016
Junior Member
It's running on Windows 7, Java 8 32bit.
I'll try to create a small demo as soon as possible.
Unfortunately with a small demo a reproduction is not possible Sad

[Updated on: Tue, 10 May 2016 13:51]

Report message to a moderator

Previous Topic:@FXMLLoader Deprecated
Next Topic:declarative service dependencies
Goto Forum:
  


Current Time: Wed Sep 30 23:18:03 GMT 2020

Powered by FUDForum. Page generated in 0.02332 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top