| Summary: | [Intro] Restoring WorkBench perspective out of Welcome page shows CheatSheet maximized | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Manuel Maier <manuel.maier> |
| Component: | User Assistance | Assignee: | Chris Austin <ChrisAustin> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P5 | CC: | ChrisAustin, helmut.haigermoser, stephen.francisco |
| Version: | 3.5 | Keywords: | helpwanted |
| Target Milestone: | 3.8 M4 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Manuel Maier
CQ:WIND00091067 Can we get a technical comment from platform-UI? Can you reproduce, is this fixable in 3.8? Thanks a lot! :) Helmut This is a result of a combination of two things: 1) Both Welcome and Cheat Sheets share a stack 2) 'Go to Workbench' closes the view and opens a trim equivalent Under regular conditions there's only the Welcome open in the stack so 'go to workbench' causes the whole stack to go empty which in turn causes it to restore the other stacks. Here, since there's another view open in the same stack it remains maximized... I'll take a look to see if there's a fix... OK...I have some code that will fix the defect but it's under the UA component so I can't commit it... In org.eclipse.ui.internal.intro.impl.model.url.IntroURL there's a method called switchToLaunchBar() in there is a call to 'closeIntro' (that's what causes the view to close) just before that line we need to force the intro back into 'standby' state (i.e. not maximized) by adding the following code: PlatformUI.getWorkbench().getIntroManager().setIntroStandby(intro, true); I'll pass this along to the UA component... >
> I'll pass this along to the UA component...
Thanks Eric! :)
UA, please let us know if this is a fix you'll accept into the 3.8 stream! :)
Helmut
Yes, this looks like a simple fix. I have added the code and tested - looks good. Change committed to master, integration. http://git.eclipse.org/c/platform/eclipse.platform.ua.git/commit/?h=integration&id=ebaa5c26e60b0a64d63de4c72ea7cfda8f4edc02 (In reply to comment #5) > Yes, this looks like a simple fix. I have added the code and tested - looks > good. > > Change committed to master, integration. > > http://git.eclipse.org/c/platform/eclipse.platform.ua.git/commit/?h=integration&id=ebaa5c26e60b0a64d63de4c72ea7cfda8f4edc02 Thanks Chris, good work! :) Helmut |