FunkyFr3sh / cnc-ddraw

GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic 2D games for better compatibility with Windows 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS/Android) and Virtual Machines
https://discord.gg/afWXJNDDF5
MIT License
2.13k stars 143 forks source link

Tiberian Sun options menu breaks when swapping from fullscreen to windowed #237

Closed Crimsonum closed 7 months ago

Crimsonum commented 10 months ago

When running Tiberian Sun and using Alt+Enter to swap from fullscreen to windowed mode, the options menu layout breaks. Worse, if I then open the ingame jukebox (music menu), the tracklist extends beyond the window canvas, which causes my PC to grind to a halt. I can't back out from the jukebox as the exit button is hidden beyond the window.

Returning to fullscreen returns the options menu to normal. Pre-configuring the game to run in windowed mode also renders the menu correctly.

Normal: fullscreen

Borked: windowed

Tested using the latest CnC-DDraw version, though I first noticed this issue on 5.6.0.0.

FunkyFr3sh commented 10 months ago

I can't reproduce it, seems to be another issue related to high DPI settings.

So if you're going back to 5.5.0.0 just for testing, it doesn't happen there?