The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Roboron on January 09, 2022, 10:12:32 PM

Title: Unable to open the pakset installer if Simutrans is fullscreen/borderless
Post by: Roboron on January 09, 2022, 10:12:32 PM
Requisites:
1. Microsoft Windows
2. Simutrans 123 SDL2 or GDI

Steps to reproduce:
1. Open simutrans with -borderless or -fullscreen launch parameter and at least one pakset installed.
2. Click "Install" on the pakset selection screen.
3. Pakset installer opens, but simutrans becomes unresponsive and you are unable to switch to the pakset installer until simutrans is killed.

Explanation: It seems that Microsoft Windows will make any fullscreen application exclusive (it doesn't matter if it is true fullscreen or just borderless), and thus prevent any application from being shown when Simutrans becomes unresponsive.

Some possible solutions:
1. Prevent simutrans from becoming unresponsive (obviously). I have not looked at why it becomes unresponsive.
2. Integrate the installer into simutrans as it is in Linux/Mac?
3. Workaround the Windows bug feature, at least for borderless fullscreen, as explained here https://discourse.libsdl.org/t/true-borderless-fullscreen-behaviour/24622/16 (don't like, dirty solution)
Title: Re: Unable to open the pakset installer if Simutrans is fullscreen/borderless
Post by: prissi on January 10, 2022, 01:49:39 PM
Well, the installer has jsut to remove fullscreen attribute from it temporary. Seems to work without side effects in r10344
Title: Re: Unable to open the pakset installer if Simutrans is fullscreen/borderless
Post by: Roboron on January 10, 2022, 05:26:23 PM
Yes it does. Thank you very much.