View Issue Details

IDProjectCategoryView StatusLast Update
0006597The Dark ModGUIpublic02.03.2025 18:47
ReporterFiver Assigned To 
PrioritynormalSeveritynormalReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSDebianOS Version11 Bullseye
Product VersionTDM 2.12 
Summary0006597: If menu doesn't have enough time to open from the game when summoned the first time then it will never open
DescriptionThis happens when the user presses esc key twice too fast. It also means that it will be more difficult to quit the program.

This was discovered in TDM 2.12/64 #10651, but is also reproducible in dev build TDM 2.13/64 #10920.
Steps To ReproduceWhen TDM works as expected:
* Start TDM and load a saved game
* Press esc and wait for the menu to appear
* Press esc and return to the game
* Press esc twice fast
* Menu opens and closes fast and game continues
* User can switch between game and menu with esc no matter how fast they press esc (expected)
* Close TDM

To provoke the issue:
* Start TDM and load a saved game
* Press esc twice fast
* The menu does not have time to open before game continues
* Press esc
* Game pauses and the pointer appears but there is no menu (unexpected)
* Press esc
* Game continues
* User cannot reach menu or easily quit TDM
* Bring up TDM console, type "exit", press enter to exit TDM
Tagsgui, robustness, usability

Activities

nbohr1more

nbohr1more

31.12.2024 19:11

developer   ~0016931

Please test with the latest Dev build:

https://forums.thedarkmod.com/index.php?/topic/20824-public-access-to-development-versions/
Fiver

Fiver

01.01.2025 09:44

reporter   ~0016932

It is also reproducible in the latest dev build TDM 2.13/64 #10920.
Daft Mugi

Daft Mugi

02.03.2025 18:47

developer   ~0016979

I was finally able to reproduce this.

1. Select "Volta 1: The Stone".
2. Quit game.
3. Launch game.
4. Start mission.
5. Press ESC twice rapidly. (Press ESC so fast that the menu screen is there for the shortest time possible. You should see the mouse cursor briefly - perhaps for 100 ms.)
6. (Now, in game.) Press ESC once to open the main menu. (The main menu will be black.)

I didn't have time to look into the cause of the issue, but I think it has something to do with the initial fade in of the main menu getting interrupted. The initial fade in happens the first time the main menu is opened after starting a mission. If the main menu is allowed to fade in the first time (press ESC only once, not twice rapidly), then the press-ESC-twice-rapidly bug is not reproducible (in my experience).

Issue History

Date Modified Username Field Change
31.12.2024 14:46 Fiver New Issue
31.12.2024 14:46 Fiver Tag Attached: gui
31.12.2024 14:46 Fiver Tag Attached: robustness
31.12.2024 14:46 Fiver Tag Attached: usability
31.12.2024 19:11 nbohr1more Note Added: 0016931
01.01.2025 09:44 Fiver Summary If menu doesn't have time to open from the game the first time then it will never open => If menu doesn't have enough time to open from the game when summoned the first time then it will never open
01.01.2025 09:44 Fiver Description Updated
01.01.2025 09:44 Fiver Note Added: 0016932
02.03.2025 18:47 Daft Mugi Note Added: 0016979