microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6.01k stars 2.12k forks source link

BuildWindow sometimes opens out of screen with 2 monitors running on different DPI #919

Closed devedse closed 7 years ago

devedse commented 7 years ago

After strugling a bit with my BuildWindow not appearing whenever I clicked it from the HoloToolkit menu I found out that it had gone out of my screen.

To get it back I had to change the DPI of my main monitor to 100% after which it would appear somewhere on my right screen again.

To reproduce the issue:

  1. Open Unity + BuildWindow on screen running on 100% dpi
  2. Drag Unity to screen running 200% dpi
  3. Start dragging buildwindow from screen with 100% dpi to screen with 200% dpi. It now disappears into infinity. (When you now release your mouse it's gone).

I'm not sure if this an issue that can be solved in the MRT, but if we can do something like whenever you open the window that it will appear in a visible position, that would be great.

StephenHodgson commented 7 years ago

Already on top of it. Kinda a unity bug with the editor windows, but I made a work around that makes sure the window opens already docked next to the game tab.

devedse commented 7 years ago

Woo thanks