Ludeon Forums

RimWorld => Bugs => Topic started by: TooMuchPete on November 04, 2013, 03:47:27 PM

Title: Mac UI Unresponsive on secondary display (Build 0.0.250)
Post by: TooMuchPete on November 04, 2013, 03:47:27 PM
In windowed mode (Mac OSX 10.8), it appears that UI elements don't use display-relative positioning. If you move the game window onto a secondary display, the UI becomes unresponsive.

Title: Re: Mac UI Unresponsive on secondary display (Build 0.0.250)
Post by: W1Z25 on November 04, 2013, 03:55:47 PM
what if you minimize or maximize the window?
Title: Re: Mac UI Unresponsive on secondary display (Build 0.0.250)
Post by: TooMuchPete on November 04, 2013, 04:07:41 PM
If the window is minimized, you cannot access the UI anyway, so I can't really test that, but maximizing has no impact.

This might be wrong but, based on the behavior, it appears that the app is drawing based on screen coordinates rather than local coordinates

https://developer.apple.com/library/mac/documentation/cocoa/conceptual/CocoaDrawingGuide/Transforms/Transforms.html (https://developer.apple.com/library/mac/documentation/cocoa/conceptual/CocoaDrawingGuide/Transforms/Transforms.html)
Title: Re: Mac UI Unresponsive on secondary display (Build 0.0.250)
Post by: Tynan on November 04, 2013, 04:18:44 PM
Does it work on the primary display?
Title: Re: Mac UI Unresponsive on secondary display (Build 0.0.250)
Post by: TooMuchPete on November 04, 2013, 04:32:23 PM
Sorry, I should have mentioned: yes, it works like a charm on the primary. I can move it back and forth and it goes from working to not working.

Two other notes:

1. my primary display is a Retina display, so that might be a factor.

2. If I put the window partially on one display and partially on another, I can reproduce the exact point at which the UI goes unresponsive. In the title bar, when the window split moves to the right of the middle of the 'W' in "RimWorld", all of the UI elements work (even the ones that are on the secondary display). When the split is to the left of the middle of the 'W', none of the UI works -- even the UI elements on the primary display.
Title: Re: Mac UI Unresponsive on secondary display (Build 0.0.250)
Post by: Tynan on November 04, 2013, 05:07:24 PM
Good bug.