Bug 121343 - [Presentations] [R21] M4 2.1 Presentation Views rendered improperly
Summary: [Presentations] [R21] M4 2.1 Presentation Views rendered improperly
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P4 major with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Paul Webster CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2005-12-18 19:20 EST by Daniel Spiewak CLA
Modified: 2006-03-11 00:41 EST (History)
9 users (show)

See Also:


Attachments
Screenshot of Bad Views Rendered (80.75 KB, image/png)
2005-12-22 12:31 EST, Daniel Spiewak CLA
no flags Details
Screenshot of bad R21 Presentation rendering. (121.40 KB, image/jpeg)
2005-12-26 09:35 EST, Ringo De Smet CLA
no flags Details
Eclipse Views Incorrectly Rendered GTK (35.79 KB, image/png)
2006-01-25 11:27 EST, Daniel Spiewak CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Spiewak CLA 2005-12-18 19:20:59 EST
I'm one of those hold-outs who are still shaking our fists at Big Brother and that impossibly inefficient space-wasting 3.0 presentation by still using the 2.1 presentation. :-)  Unfortunately, it seems that the views in 3.2 M4 are rendered about 5 pixels to the right and down from where they should be.  I'm attaching a screenshot asap to show you what's going on.  Are you guys stopping support on this original LAF or is this just a function of M4 still being technically an alpha version?
Comment 1 Daniel Spiewak CLA 2005-12-18 19:23:22 EST
Darn it, seems that switching the presentation to the 3.0 and then back to 2.1 fixes the problem.  No idea why.  I appologize for wasting your time.  I've resolved the bug as WORKSFORME. :-)  Later...
Comment 2 Daniel Spiewak CLA 2005-12-19 21:12:01 EST
Sorry to reopen this, but it seems that the fix I highlighted before (to change and then reset the perspective) only works the first time opening the workspace.  The next time I opened it (after having it work with the workaround), it went back to the buggy view.
Comment 3 Michael Van Meekeren CLA 2005-12-22 10:26:07 EST
could you attach a screenshot?  and the answer is no we are not stopping support for 2.1 presentation
Comment 4 Daniel Spiewak CLA 2005-12-22 12:31:37 EST
Created attachment 32151 [details]
Screenshot of Bad Views Rendered

I appologize for not adding this sooner, I thought I had. :-)  Oh well, crazy life before christmas.  It seems that this bug can be reproduced by using the 3.0 presentation and then switching to the 2.1.  After restarting into 2.1, restart Eclipse again and the views will be off as shown.
Comment 5 Ed Burnette CLA 2005-12-22 15:33:57 EST
Was there a change in the Presentation API?
Comment 6 Gunnar Wagenknecht CLA 2005-12-23 04:50:42 EST
I tried reproducing this on my Windows XP SP2 notebook. I wasn't able to cause this off-painting.

Daniel, can you give us a complete list of steps to reproduce this? Please try this with a clean workspace and with a clean Eclipse SDK (without 3rd party plug-ins installed).

What's your environment? Do you have any UI-customizing software installed on Windows? I noticed that the minimize, maximize and close buttons are rendered differently on your OS. 
Comment 7 Michael Van Meekeren CLA 2005-12-23 09:52:35 EST
to answer comment #5, no there were no changes, but there have been changes in the layout of the workbench, especially the trim (top, bottom, left and right).
Comment 8 Daniel Spiewak CLA 2005-12-23 10:20:35 EST
Steps to reproduce:

1) Extract Eclipse freshly in a new directory
2) Use the default workspace path (I'm not using the default on my other copy of Eclipse)
3) Close the welcome screen and the hierarchy view pane
4) Change 'Current Presentation:' to 'Eclipse 2.1 Style Presentation'
5) Restart Eclipse
6) Close Eclipse
7) Start Eclipse

The problem occured exactly as before.

In answer to your question, I don't have anything flakey about my WS environment except that I'm using the Royale theme and I've got the javaw.exe.manifest file just about everywhere on the system. :-)  Other than that, it's just a vanilla Windows XP Pro install (well, as vanilla as a ThinkPad preconfiguration gets).
Comment 9 Ringo De Smet CLA 2005-12-26 09:35:14 EST
Created attachment 32237 [details]
Screenshot of bad R21 Presentation rendering.

Daniel, you are not alone. I also prefer the R21 presentation style and I also have the problem. It is actually even worse than you reported. I have added an attachment and on first sight, it looks quite normal. Where you see the Progress view, it is not a single view: it should be a docked view together with the Error Log, Console and Search results. I do not have the tabs available to switch between these views.
Comment 10 Daniel Spiewak CLA 2005-12-26 13:29:46 EST
Good to hear that it's not just me. :-)
Comment 11 Michael Van Meekeren CLA 2006-01-03 09:24:10 EST
moving to PW to investigate
Comment 12 Ed Burnette CLA 2006-01-05 10:21:05 EST
Do y'all need any help with this one?
Comment 13 Daniel Spiewak CLA 2006-01-25 11:27:23 EST
Created attachment 33603 [details]
Eclipse Views Incorrectly Rendered GTK

I did some more testing, it seems that this problem also occurs on GTK Linux.  Anyone have access to a Mac to test this on?
Comment 14 Ed Burnette CLA 2006-01-25 12:13:19 EST
Is anybody working on this one right now?
Comment 15 Paul Webster CLA 2006-01-25 12:22:39 EST
Ed, not at the moment ... we're working to get new API in before the 320M5 API freeze.

Later,
PW
Comment 16 Daniel Spiewak CLA 2006-02-14 16:25:43 EST
I hate to be a pain, and I know you're all working on new API features for M5, which is great, but this is a little frustrating.  It would seem to me that a major UI feature completely broken should fall under a higher priority than new features.  There, I've said it, now I can stop being a pill. :-)  The 3.0 look is great, but it's no substitute for the 2.1 efficiency.
Comment 17 Daniel Spiewak CLA 2006-02-14 17:02:08 EST
Thanks. :-)
Comment 18 Kory Markevich CLA 2006-03-10 21:36:59 EST
I believe this has been fixed in 3.2M5.  I encountered it in 3.2M4, and it also appeared when I initially started up 3.2M5.  When I opened the PDE perspective however (for the first time) it went away.  I went back to the Java perspective and it was back.  So I closed the Java perspective and then re-opened it, and everything was fine.
Comment 19 Daniel Spiewak CLA 2006-03-10 23:09:19 EST
I tried it briefly when I downloaded M5.  I'll try it again in more depth if I get some time tomorrow.
Comment 20 Gunnar Wagenknecht CLA 2006-03-10 23:18:04 EST
Thanks. It would be really helpful if you could collect some steps to reproduce with a clean workspace and no additional plug-ins (just the SDK/Platform).
Comment 21 Daniel Spiewak CLA 2006-03-10 23:26:28 EST
The steps to reproduce are in comment #8.  That was taken with a clean workspace and a clean SDK.
Comment 22 Ed Burnette CLA 2006-03-11 00:19:42 EST
I tried the steps in comment #8 and could not reproduce it on 3.2M5.
Comment 23 Daniel Spiewak CLA 2006-03-11 00:41:48 EST
Very interesting.  I can confirm what Ed said about being unable to reproduce with a fresh workspace and fresh install.  Also, it seems that now when I change the view with my old workspace and install it also doesn't reproduce.  

Very strange indeed.  I tried to reproduce immediately after installing M5 and it still happened.  It's possible that I forgot to clean the workspace after installing M5.  I have since cleaned because of the installation of a new plugin.  I'm going to change this to WORKSFORME since I can't reproduce anymore.