Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 85654 - [Presentations] Standalone views not resized properly
Summary: [Presentations] Standalone views not resized properly
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 RC1   Edit
Assignee: Stefan Xenos CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 86297 87878 95467 97602 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-16 23:36 EST by Ed Burnette CLA
Modified: 2005-05-31 15:15 EDT (History)
9 users (show)

See Also:


Attachments
Demonstrates resize problem (11.27 KB, image/png)
2005-02-16 23:37 EST, Ed Burnette CLA
no flags Details
Another demonstration of the resize problem (9.24 KB, image/png)
2005-02-16 23:37 EST, Ed Burnette CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Burnette CLA 2005-02-16 23:36:51 EST
If you resize the application it doesn't redraw the left view correctly. It's
hard to describe so I'll attach a couple of screenshots of what I'm seeing.
Comment 1 Ed Burnette CLA 2005-02-16 23:37:19 EST
Created attachment 18039 [details]
Demonstrates resize problem
Comment 2 Ed Burnette CLA 2005-02-16 23:37:49 EST
Created attachment 18040 [details]
Another demonstration of the resize problem
Comment 3 Wassim Melhem CLA 2005-02-17 02:24:06 EST
are you using the refurbished template?  It resizes beautifully. 
Comment 4 Ed Burnette CLA 2005-02-17 08:56:22 EST
Yes, created fresh with I20050215-2300.
I first noticed it failing in the I20050209 build, was going to report it, then
the next few times I tried it it worked, but then it stopped working again even
with the new version so I reported it. I saw the problem whether I ran it from
an installed image (see 
http://www.eclipsepowered.org/archives/2005/02/16/rcp-installer/), invoked it
from the Product Configuration editor, or invoked it from the Plug-in Manifest
editor.
Comment 5 Ed Burnette CLA 2005-02-17 14:54:16 EST
Try maximizing the outer shell, sometimes that causes the resize problems to
start. I mean, click on Window's maximize button in the shell trim. I can also
make it happen by doing a resize very quickly, like grab the side of the window
and throw it across the screen while I release the mouse.

It seems to be a problem with standalone views that don't have title bars. In
rcpMail.rcp.Perspective.java it says:

layout.addStandaloneView(NavigationView.ID,  false, IPageLayout.LEFT, 0.25f,
editorArea);

If I change that false to a true then I don't see the resize problem.
Maybe an SWT bug in CTabFolder? It's like it's behind an event or two on resizes.
Comment 6 Nick Edgar CLA 2005-02-17 15:04:04 EST
Looks like it might be due to how the presentations handles resizing.  A
different StackPresentation is used for standalone views.

In any case, it's certainly not a problem in how the Mail template itself is coded.

Stefan, can you please investigate?
Comment 7 Nick Edgar CLA 2005-03-14 10:51:26 EST
Need to address for 3.1.
Comment 8 Nick Edgar CLA 2005-03-14 10:51:57 EST
*** Bug 87878 has been marked as a duplicate of this bug. ***
Comment 9 Nick Edgar CLA 2005-03-23 11:21:17 EST
*** Bug 86297 has been marked as a duplicate of this bug. ***
Comment 10 Conny Kreyssel CLA 2005-04-22 03:57:08 EDT
Bug #85899 probably duplicat of this bug?!
Comment 11 Nick Edgar CLA 2005-05-06 12:07:35 EDT
*** Bug 85899 has been marked as a duplicate of this bug. ***
Comment 12 Stefan Xenos CLA 2005-05-16 14:02:17 EDT
EmptyTabFolder.layout wasn't doing anything. Fixed in head. Also added a new
perspective to the tests plugin that can reproduce the bug.
Comment 13 Nick Edgar CLA 2005-05-19 09:59:28 EDT
*** Bug 95467 has been marked as a duplicate of this bug. ***
Comment 14 Tod Creasey CLA 2005-05-27 14:08:07 EDT
Verified using both the view and the mail example in 20050527
Comment 15 Nick Edgar CLA 2005-05-31 15:15:37 EDT
*** Bug 97602 has been marked as a duplicate of this bug. ***