Bug 262808 - [Presentations] Eclipse editors do not expand to full workspace when opened underneath the welcome page
Summary: [Presentations] Eclipse editors do not expand to full workspace when opened u...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-28 14:15 EST by Patrick Hornberger CLA
Modified: 2019-09-06 15:32 EDT (History)
1 user (show)

See Also:


Attachments
Application opened with welcome page - file has been loaded in background. (78.45 KB, image/jpeg)
2009-01-29 14:27 EST, Patrick Hornberger CLA
no flags Details
After closing welcome page (108.12 KB, image/jpeg)
2009-01-29 14:27 EST, Patrick Hornberger CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Hornberger CLA 2009-01-28 14:15:47 EST
Build ID: M20080911-1700

Steps To Reproduce:
1. Create an RCP that allows opening of files outside of the workspace via command line arguments.
2. Start with a brand new workspace, clean configuration.
3. Use command line arg to point to a file to be opened.
4. RCP will open the file in a editor, however the user will still see the welcome page which takes up the entire workspace.
5. When user closes the welcome page, they will see that the editor does not fill up the entire workspace area that the editor should be occupying.

Perhaps because the welcome page is being displayed, the size calculations are not correct for editors?


More information:
Comment 1 Eric Moffatt CLA 2009-01-29 14:18:14 EST
Patrick, could you please attach a screen shot showing the result after closing the Intro?
Comment 2 Patrick Hornberger CLA 2009-01-29 14:27:03 EST
Created attachment 124190 [details]
Application opened with welcome page - file has been loaded in background.
Comment 3 Patrick Hornberger CLA 2009-01-29 14:27:35 EST
Created attachment 124191 [details]
After closing welcome page
Comment 4 Eric Moffatt CLA 2009-01-29 15:22:17 EST
What happens when you resize the window when it's in this state? Does the editor expand to take up all the space then? How about on the second restart (i.e. when the intro doesn't come up?
Comment 5 Patrick Hornberger CLA 2009-01-29 16:14:59 EST
Resizing the window does not cause the editor to resize at all in this state.  However, minimizing the editor (not the window) and then restoring it again will cause it to begin behaving correctly.
Comment 6 Eric Moffatt CLA 2009-01-30 11:07:41 EST
Patrick, is there a chance that you could provide a 'stub' RCP app that shows the effect? Something really simple (i.e. uses the text editor...) would really help us in tracking this down (this is a code flow we hadn't anticipated).

Also, you can likely mitigate this (for now) by setting the Intro view into 'standby' state before opening the editor. This will place the Intro view (un-maximized) to the right of the editor area...the code below should work to do this...

        IIntroManager im = PlatformUI.getWorkbench().getIntroManager();
        if (im != null) {
           im.setIntroStandby(im.getIntro(), true);

Comment 7 Patrick Hornberger CLA 2009-02-02 19:11:24 EST
Thanks guys,

Your workaround solved the problem for me.  I will try to find some time to whip up a stub app. We're in a busy time period right now so it might take awhile...
Comment 8 Eric Moffatt CLA 2009-02-10 15:42:45 EST
Thanks Patrick, we all know the feeling...;-).
Comment 9 Eclipse Webmaster CLA 2019-09-06 15:32:07 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.