Bug 15014 - Page not redrawn when switching perspectives
Summary: Page not redrawn when switching perspectives
Status: RESOLVED DUPLICATE of bug 4805
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 major (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-01 12:59 EDT by Ryan Cooper CLA
Modified: 2002-05-14 10:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Cooper CLA 2002-05-01 12:59:34 EDT
Build: 20020430 

Steps:
1. Download SWT examples ZIP and extract into eclipse directory.
2. Restart Eclipse
3. Open resource perspective
4. Show SWT Layout exaples view in resource perspective
5. Dock view on page
6. Maximize the view
7. Switch to Java Perspective

Some of the workbench parts are not redrawn. Also, trying to open a type 
(Ctrl+Shift+T) opens the dialog box, but the list of possible matches stays 
empty (no matter what is typed). The same behavior occurs if another view in 
the resource perspective is maximized, as long as the SWT Examples view is the 
visible view in it's tab folder. If no view is maximized in the resource 
perspective, everything works fine upon switching to the Java Perspective.
Comment 1 Eduardo Pereira CLA 2002-05-13 18:02:26 EDT
Removing zoomOut from busySetPerspective hides the problem.

Aparently this is a known SWT bug. setBounds() inside a setRedraw false/true 
block does not always paint the background.

Released busySetPerspective. Going to move this report to SWT since this may 
show up in other cases since we use setRedraw false/true in many cases.
Comment 2 Steve Northover CLA 2002-05-14 10:32:17 EDT

*** This bug has been marked as a duplicate of 4805 ***