Ludeon Forums

Ludeon Forums

  • January 22, 2021, 08:25:42 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Mac UI Unresponsive on secondary display (Build 0.0.250)  (Read 3035 times)

TooMuchPete

  • Muffalo
  • *
  • Posts: 7
  • Refugee
    • View Profile
Mac UI Unresponsive on secondary display (Build 0.0.250)
« 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.

Logged

W1Z25

  • Colonist
  • ***
  • Posts: 139
  • Legendary Survivor
    • View Profile
Re: Mac UI Unresponsive on secondary display (Build 0.0.250)
« Reply #1 on: November 04, 2013, 03:55:47 PM »

what if you minimize or maximize the window?
Logged

TooMuchPete

  • Muffalo
  • *
  • Posts: 7
  • Refugee
    • View Profile
Re: Mac UI Unresponsive on secondary display (Build 0.0.250)
« Reply #2 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
Logged

Tynan

  • Developer
  • Administrator
  • Transcendent
  • *****
  • Posts: 12469
    • View Profile
    • Tynan's Blog
Re: Mac UI Unresponsive on secondary display (Build 0.0.250)
« Reply #3 on: November 04, 2013, 04:18:44 PM »

Does it work on the primary display?
Logged
Tynan Sylvester - @TynanSylvester - Tynan's Blog

TooMuchPete

  • Muffalo
  • *
  • Posts: 7
  • Refugee
    • View Profile
Re: Mac UI Unresponsive on secondary display (Build 0.0.250)
« Reply #4 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.
Logged

Tynan

  • Developer
  • Administrator
  • Transcendent
  • *****
  • Posts: 12469
    • View Profile
    • Tynan's Blog
Re: Mac UI Unresponsive on secondary display (Build 0.0.250)
« Reply #5 on: November 04, 2013, 05:07:24 PM »

Good bug.
Logged
Tynan Sylvester - @TynanSylvester - Tynan's Blog