Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ancillary windows disappear across multiple monitors #3468

Closed
meganhenriksen opened this issue Oct 8, 2019 · 7 comments
Closed

Ancillary windows disappear across multiple monitors #3468

meganhenriksen opened this issue Oct 8, 2019 · 7 comments
Assignees
Labels
bug Something isn't working Missions Issues which are a priority for missions

Comments

@meganhenriksen
Copy link

ISIS version(s) affected: at least 3.6 and above

Description
When using x11 forwarding from Ubuntu to OSX ancillary windows such as the Control Network Navigator in qnet or the Advanced Stretch Tool in qview will disappear when moved from one monitor to another. The window continues to exist (if you show everything in the workspace), but there isn't a simple way of retrieving it from off-screen.

This especially happens if the extra monitor is placed on the left side of the Mac (a common set up, since all the usb ports are on the right). Digging into it, it appears to be related to the QT library.

How to reproduce
Most of this is in the description, but:

  1. Have a Mac with an extra monitor attached, set up on the left side of the mac.
  2. Sign into an ubuntu system and use x11 forwarding
  3. Open qview or qnet
  4. Move a window such as the control network navigator or the advanced stretch tool in qview to the other monitor.

Possible Solution

Additional context

@jlaura jlaura added the bug Something isn't working label Nov 13, 2019
@jessemapel
Copy link
Contributor

I can confirm I was able to reproduce this on my Mac. On Mac OS 10.13, I ran qmos over X11 on an Ubuntu 18 system and when I moved the open file dialog from one monitor to another it disappeared. My main window was still locked indicating the sub window was still open.

@jessemapel
Copy link
Contributor

jessemapel commented Nov 20, 2019

I was also able to confirm this was a problem in ISIS3.5.0

@meganhenriksen What are you using to do X11 on your mac? I was able to reproduce this with XQuartz.

@jlaura jlaura added the Missions Issues which are a priority for missions label Dec 9, 2019
@Kelvinrr Kelvinrr self-assigned this Dec 16, 2019
@Kelvinrr
Copy link
Collaborator

I was able to replicate this using non-ISIS apps. Specifically, the sub-window doesn't join the other monitor's desktop and instead stays within same desktop but out of view. This seems to be an XQuartz issue. I will spend some time to see if I can find a workaround. Can you answer Jesse's question about what you are using for X11 on Mac?

@Kelvinrr
Copy link
Collaborator

Kelvinrr commented Dec 16, 2019

destop_issue

Example showing the problem. Note when I zoom out and the window is still in the same desktop but out of view (you just have to trust it disappeared as soon as I dropped it into the other desktop). And this happens with any app I use x11 forwarding on from Ubuntu to Mac, not just ISIS.

If you can confirm the same on your side that would be great.

@gravatite
Copy link

@meganhenriksen What are you using to do X11 on your mac? I was able to reproduce this with XQuartz.

We are also using XQuartz at LROC.

@Kelvinrr
Copy link
Collaborator

Kelvinrr commented Dec 16, 2019

XQuartz issue currently open: https://gitlab.freedesktop.org/xorg/xserver/issues/764

A workaround that I tested and worked: https://discussions.apple.com/thread/5477021

That workaround requires a reset on your Mac box and would put you in a legacy mode that is less than ideal if you really like your multi-desktop setup in MacOS. But it seems like an issue Apple and Xquartz need to sort out and seems out of scope for us.

@Kelvinrr
Copy link
Collaborator

Closing. If anything changes we can re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Missions Issues which are a priority for missions
Projects
None yet
Development

No branches or pull requests

5 participants