[Client] Screen shifted down after disconnecting external display on macOS
Issue: The game is shifted down then I try to play but only the visual components. Click target seems to me mapped to the right coordinates on the screen, just the visual elements are shifted down.
I have a MacBook Pro with no dedicated graphics card—MacBook Pro (Retina, 13-inch, Mid 2014) My external display has a resolution of 1920 x 1080 and my screen runs the native resolution (1280 x 800 that is actually 2560 x 1600).
How to reproduce:
- Plug in an external display
- Close the lid so the machine in running in clamshell mode.
- Launch LoL and get into a game.
- End/Leave the game.
- Close the client/launcher—basically quit completely.
- Unplug the display.
- Open the lid
- Launch LoL and get into a game.
The game should be shifted down. Additionally, if you go to the video setting while in game, the screen resolution dropdown should be blank.
What I think is happening: The game thinks the display is still 1920 x 1080 and creates a window that size but draws the game at the correct resolution of 1280 x 800. It looks shifted because 0,0 is the bottom left of the window.
Workaround / potential fix: I went into LoL/config/Game.cfg and changed the following setting under [General]: UserSetResolution = 1 --> 0 Height = 1080 --> 800 Width= 1920 --> 1280