Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 384814 - "Fast view" doesn't collapse when clicking on an empty editor area
Summary: "Fast view" doesn't collapse when clicking on an empty editor area
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: 4.2.2   Edit
Assignee: Eric Moffatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 391934 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-11 06:08 EDT by Tomasz Zarna CLA
Modified: 2013-01-17 11:06 EST (History)
4 users (show)

See Also:


Attachments
Screenshot (62.31 KB, image/png)
2012-07-11 06:08 EDT, Tomasz Zarna CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2012-07-11 06:08:52 EDT
Created attachment 218558 [details]
Screenshot

I20120710-0800

I'm using minimized view stacks just like I did use fast views. Today I noticed one more missing bit, in addition to bug 384240.

If I expand a view from the minimized stack I would like to be able to close the view by clicking outside it. This works fine if I click on an editor or a different view, but in 3.x, with fast views, it worked even if I clicked on an empty editors area.
Comment 1 Eric Moffatt CLA 2012-07-11 09:10:59 EDT
Tomasz, good pickup...I'll tag this for SR2.
Comment 2 Eric Moffatt CLA 2012-08-21 13:47:16 EDT

*** This bug has been marked as a duplicate of bug 371598 ***
Comment 3 Eric Moffatt CLA 2012-08-27 11:28:04 EDT
I've re-opened this bug because it's the remaining case where the UI still doesn't act to take down the fast view...
Comment 4 Eric Moffatt CLA 2012-08-30 13:15:53 EDT
Note that if you hit ESC or click the icon to close the fly out pane then the active part doesn't change. This is by design since we're not sure how the rest of the code would react to a 'null' active part.

One consequence is that if you try to re-open the view it won't show. This needs to be addressed here as well.
Comment 5 Eric Moffatt CLA 2012-10-15 13:51:37 EDT
*** Bug 391934 has been marked as a duplicate of this bug. ***
Comment 6 Eric Moffatt CLA 2012-10-22 15:31:04 EDT
http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R4_2_maintenance&id=d148d5a39d857d265ad844db90e665bddaa071b5

Hide all open trim stacks whenever a mouse down is detected in an empty stack (i.e. CTF#getItemCount() == 0). If we find cases where EAP applications run into issues we can look at tightening up the cases then...

One known issue is that if you have the perspective stack minimized but open then a click on its empty editor area will close it. I can live with that for now...
Comment 7 Eric Moffatt CLA 2012-10-22 15:31:28 EDT
Marking FIXED...
Comment 8 Eric Moffatt CLA 2012-10-30 14:00:09 EDT
Verified in I20121029-2000 (4.3M3)