Bug 536559 - On Multiple screens on Mac OS X High Sierra floating windows on another screen
Summary: On Multiple screens on Mac OS X High Sierra floating windows on another screen
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.9   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Lakshmi P Shanmugam CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-01 22:24 EDT by Artanis Zeratul CLA
Modified: 2020-02-18 03:19 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artanis Zeratul CLA 2018-07-01 22:24:34 EDT
On Multiple screens on Mac OS X High Sierra.
Floating windows will move back to the main screen even if it is not the intention.
Steps to reproduce.

1.) Using Macintosh with at least 2 physical monitors
2.) With Independent Spaces configured
3.) Open Eclipse Photon/Oxygen, Java EE Developer IDE.
4.) Open any Java Maven projects
5.) Drag any window from the IDE to another screen/monitor
6.) Start typing on main editor window
7.) Notice that the window that was dragged on the other screen will go back to the location of the main window.
Comment 1 Marco Brandizi CLA 2020-01-29 13:13:47 EST
Any news with this? It makes it impossible to use the second screen.

StackOverflow has more details, the problem seems to come from the fact a change in OS/X made the screen shown on a second device as an independent virtual desktop (space, in Apple jargon):

https://superuser.com/questions/669758/stick-floating-eclipse-windows-on-second-screen-with-mac-os-10-9-mavericks

https://stackoverflow.com/questions/41867150/eclipse-floating-windows-on-mac-os-sierra
Comment 2 Lakshmi P Shanmugam CLA 2020-02-04 02:07:07 EST
(In reply to Marco Brandizi from comment #1)
> Any news with this? It makes it impossible to use the second screen.
> 
> StackOverflow has more details, the problem seems to come from the fact a
> change in OS/X made the screen shown on a second device as an independent
> virtual desktop (space, in Apple jargon):
> 
> https://superuser.com/questions/669758/stick-floating-eclipse-windows-on-
> second-screen-with-mac-os-10-9-mavericks
> 
> https://stackoverflow.com/questions/41867150/eclipse-floating-windows-on-mac-
> os-sierra

Which version of Eclipse do you see the problem? The links mention old eclipse releases, can you please try a recent release?
Link to Eclipse 2019-12 (4.14) downloads - https://www.eclipse.org/downloads/packages/
Comment 3 Marco Brandizi CLA 2020-02-05 12:40:50 EST
Hi Lakshmi,

I was using the 2019-09 and I've just tried the 2019-12. Both do pretty awful things when trying to use two screens, not just the disappearance reported in this hereby bug.

Because it's difficult to describe all the details, I've recored these two videos:

https://www.youtube.com/watch?v=APkWEvBJUP0
https://www.youtube.com/watch?v=cyUQA5v7lx0

As you can see, almost nothing works: initially the floating window disappears when I try to drop it in the second screen, then after the struggle to bring it back, it is abruptly returned to the main screen as soon as I open a modal dialog.

I don't have much experience GUI development, but my understanding is that the floating windows are forced to follow some behaviour of their parent, and a fix could be that they're left more free to stay where the user decides.
Comment 4 Lakshmi P Shanmugam CLA 2020-02-06 23:31:14 EST
(In reply to Marco Brandizi from comment #3)
Thanks for the videos. I'm able to reproduce the problems. Will investigate.
Comment 5 Lakshmi P Shanmugam CLA 2020-02-18 03:19:13 EST
The behavior is also seen with a simple SWT snippet with parent and child Shells. The problem seems to be that the parent and child shells can't be on different spaces.