Opened 40 hours ago

Last modified 25 hours ago

#15374 new defect

ANDROID: Log Debug level is reset when force closing the app

Reported by: antoniou79 Owned by:
Priority: normal Component: Port: Android
Version: Keywords:
Cc: Game:

Description

This was mentioned on Discord (android-support channel) and it affects ScummVM 2.8.1.1 and 2.9.0git, probably older versions too.

If the user sets the Debug level to something other than None (From Global Options -> Misc -> Debug level), eg. "4", then press Apply and Ok (or just Ok), and then force close ScummVM from the "recent apps" system view of the Android OS, then upon relaunching ScummVM the Debug level will be reset to None.

This happens consistently with the above steps. It also does not matter if ScummVM is at the launcher screen or running some game when it's forced closed. The bug will occur either way.

However, the bug will not happen if the user exits the game or ScummVM properly (ie. from Launcher using "Quit" and from within the game using GMM's Quit or Return to Launcher and then Quit).

I have not tested as of yet, if there are cases of games where using their native Quit menu option would result in this bug too.

Note: This bug was brought up as something that was noticed while trying to trigger a more serious bug, whereby the games list would be wiped upon launching ScummVM (presumably due to the ScummVM configuration file being reset). It's very likely the later more serious bug is also connected to force closing the ScummVM app, albeit it's not as consistently reproducible. The user reporting the issue was on an Android 14, running ScummVM 2.8.1.1.

Change History (1)

comment:1 by antoniou79, 25 hours ago

This issue, and the more serious one of wiping the configuration file, may be have the same root cause with an similar issue reported for iOS here: https://bugs.scummvm.org/ticket/14623

Note: See TracTickets for help on using tickets.