Bug 384965 - Stacked view hangs out from the window, when the window is resized.
Summary: Stacked view hangs out from the window, when the window is resized.
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.2.2   Edit
Assignee: Eric Moffatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-12 11:38 EDT by Gábor Lipták CLA
Modified: 2013-01-17 13:03 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gábor Lipták CLA 2012-07-12 11:38:40 EDT
Build Identifier: 20120531-0157

Lets imagine, that you
have two displays. A fullhd display, and a smaller notebook display. You set
the size of the minimized stack popup according to the larger display. Then you
drag the window to the smaller display, or simple unplug the bigger display. If
you click now on the minimized stack, you simply do not see anything from the
bottom of the popup. No scrollbar, no nothing.

Suggestion:
- there could be an option like "automatically fit the side of the stack". So
if for example the stack is on the left side, the height of the popup would fit
the height of the window, and the user could change the width of it only. Or if
the stack is at the bottom, then the width could fit automatically, and the
height could be set.
- the second option is the same like above, the only difference is that there
would not be such option, but the "popup" would not exceed the window, and a
scrollbar would appear.

Opinions?

Reproducible: Always

Steps to Reproduce:
1. Stack a view
2. minimize the stack
3. strech the minimized staccked view to fit the window
4. make the window smaller
5. enjoy the non visible non scrollable parts.
Comment 1 Eric Moffatt CLA 2012-07-17 11:18:34 EDT
The short solution is to force the window into the *current* bounds of the owning shell *without* changing the stored values (so that if you move back to the larger display you get the larger fly out).

Over the long haul my preferred solution to the docked / undocked laptop story would be to allow the user to define different UI arrangements for each and have the system determine which is the most appropriate one to use by examining the current Display setup.
Comment 2 Eric Moffatt CLA 2012-10-03 15:02:51 EDT
The behavior to force the popup into the shell's bounds has already been implemented as part of the trim Dragging defect...
Comment 3 Eric Moffatt CLA 2013-01-17 13:03:31 EST
Verified in M20130116-1800.