Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 163828 - [FastView] 3.3 presentation: duplicate views when restoring single view from new FVBs
Summary: [FastView] 3.3 presentation: duplicate views when restoring single view from ...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Eric Moffatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 153957
  Show dependency tree
 
Reported: 2006-11-08 11:58 EST by Markus Keller CLA
Modified: 2007-03-23 08:42 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 Markus Keller CLA 2006-11-08 11:58:01 EST
I20061107-0800

- new workspace, 3.3 presentation, restart
- minimize the left view stack (Package Exp., Type H.)
- click on Package Explorer icon
- Alt+-, uncheck Fast View

Now I have two views that call themselves Package Explorer, but only one of them contains the real contents of the PE. The other one is mostly gray and contains areas that are not redrawn. The two instances of PE also switch contents sometimes: the good one becomes gray and the widgetry snaps over to the previously bad one.

I tried to close and reopen the Package Explorer view, but I failed. The second instance kept appearing. This strange state persists across restarts. Only resetting the perspective helped.
Comment 1 Markus Keller CLA 2006-11-08 12:01:26 EST
The same thing happens when I open a restorable fast view, grab its title, and drag it to another window border.
Comment 2 Eric Moffatt CLA 2006-11-08 13:01:32 EST
Hmmm, I'm not quite sure waht to do with these. The general intent was to make the 'trim stacks' as simple as possible (which is why they don't have the drag behaviour etc that the old Fast View bar does...).

I guess that what I should do is wire off the drag behaviour for trim stack views and -either-:

a) Remove the close button   -or-
b) Handle the close by removing the entry from the stack

Do you have a preference?
Comment 3 Markus Keller CLA 2006-11-08 13:29:42 EST
> The general intent was to make
> the 'trim stacks' as simple as possible (which is why they don't have the drag
> behaviour etc that the old Fast View bar does...).

Hmm, I think that won't work. People (including myself) will start asking for all the missing features from the original fast view bar very quickly.

If I really have to choose, I'd take (b), but I would prefer
c) act like the old fast view bar
Comment 4 Eric Moffatt CLA 2006-12-08 14:25:47 EST
Deferring in favor of getting the Commands story done...
Comment 5 Eric Moffatt CLA 2007-02-06 14:50:10 EST
Actually, these issues are now addressed. We plan on offering similar functionality for both the legacy Fast View Bar and the new trim stacks. You'll be able to drag views into, out of and between the presentation and any view stacks showing in the trim (including the legacy FVB). You'll also be able to close a view that is in a Trim Stack.

This also means that the operations which are leading to this defect (i.e. the manipulations allows on an 'active' Fast View through its pane) will be handled symmetrically (so we won't be wiring them off, we'll simply handle the changes).
Comment 6 Eric Moffatt CLA 2007-02-28 15:34:33 EST
Fixed as of >20070228...
Comment 7 Eric Moffatt CLA 2007-03-21 09:59:07 EDT
This scenario now restores the stack but induces a painting issue...
Comment 8 Eric Moffatt CLA 2007-03-23 08:42:08 EDT
Verified in 20070322-1600.

I've opened bug 178987 to track the repaint issue...