Bug 579275 - Can't reattach view in when Windows are overlapping in Multi-Window Application
Summary: Can't reattach view in when Windows are overlapping in Multi-Window Application
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.22   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-16 05:38 EDT by David Url CLA
Modified: 2022-03-16 07:22 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Url CLA 2022-03-16 05:38:00 EDT
I have an e4 application that consists of two TrimmedWindows where each Window shows different perspectives. When i detach a view I can only reattach it to the perspective where it came from. This is fine.

However, when the two windows overlap, I can't even attach it at any position in the original perspective, where it overlaps the other window.

E.g. Each window with size 100x100:
- Window1 position: x=0,y=0
- Window2 position: x=50,y=0
- Detached View from Window 2

reattach fails:
- to Window1
- to Window2 anywhere between positions x=50,y=0 to x=100,y=100 (I would expect that to work)

reattach succeeds:
- to Window2 anywhere between positions x=100,y=0 to x=150,y=100

So from my understanding there seems to be a bug somewhere int he logic for "at which perspective am i pointing at" as it does not take z into account.
Comment 1 David Url CLA 2022-03-16 05:47:22 EDT
A colleague reminded me that this is only happening to Window2, when it is created before Window1 during application startup. Sorry for the naming.
Comment 2 Wim Jongman CLA 2022-03-16 07:16:34 EDT
When WB is overlapping WA then WA is not active. It makes sense to me that the view cannot be dropped on an inactive WA.

If I misunderstood then a screenshot or little movie would be nice to get an idea.
Comment 3 David Url CLA 2022-03-16 07:22:50 EDT
Window1 is inactive, Window2 is active and the view belongs to Window2. But it still can not be dropped on active Window2, when there is inactive Window1 behind it.