Opened 3 months ago

Last modified 3 weeks ago

#16464 new defect

GUI: Black screen after "change" from Grid View in High resolution to List View in Low Res (more easily triggered on Android with changing orientation)

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

Description (last modified by antoniou79)

This originally was experienced on a Android 16 device, then reproduced on an Android 10 device, and finally on a Windows desktop. See second message for steps to replicate the necessary conditions and reproduce this on Windows.
---
On Android, I have tested with ScummVM Android 2.9.1.1 and latest 2026.1.0, with a clean installation of the app each time.

This is a device where the default GUI scale setting (100% Medium, via Global Options -> GUI -> Gui scale) results in the following behavior:

  • On landscape orientation, the low res version of the GUI is used. This seems to be due to my setting (via the Android settings) increased (by one notch) font size and "display size".
  • On portrait orientation, the high res version of the GUI is used.

Steps to reproduce:

  • Start ScummVM in portrait mode. Switch to Grid view, if not already in that mode.
  • Click on a game from the list (eg. one of the bundled demos) so that the "context" menu will appear around the game's icon.
  • Switch the phone's orientation to horizontal/landscape and wait for ScummVM to auto-adjust the display.

This will result in a black screen, where the cursor is visible, and sometimes also the tooltip with the game's name. ScummVM still is operational (it does not crash).

The issue seems to fix itself if I rotate the phone, changing its orientation, a few times.

Extra notes:

  • When switching from portrait Grid view, to landscape (low res, auto switch to list view), then switching back to portrait stays in List view.

Change History (3)

comment:1 by antoniou79, 3 weeks ago

The issue was reproduced consisently on a Huawei (Android 10) tablet device, too.

It also seems to be triggered when a tooltip is visible (because the mouse cursor hovers over a control that has a tooltip) in the Grid View; the other conditions must also be met.

More importantly, I found a way to replicate this issue on a Windows desktop PC, (so it's not quite Android specific, albeit it is more likely to get it there)

The steps to reproduce on Windows PC:

  • Launch ScummVM in windowed mode
  • Switch to List view (if not already there)
  • Click on the Maximize button of the ScummVM window (still not full screen) and make sure that ScummVM uses the high resolution display layout (this should be the case for most modern PCs I think). If it's not on high resolution layout, use Global Options -> GUI -> GUI Scale dropdown for a setting that will result in the high resolution layout for ScummVM, while maximized.
  • Click on the Restore button of the ScummVM window.
  • Resize the ScummVM window to low(er) dimensions until ScummVM switches to low resolution display layout.
  • Click on Maximize button again (ScummVM should now switch to high resolution)
  • Change to Grid View.
  • Move the mouse cursor over a game, click once, and keep the cursor there (do not move it).
  • Use the keyboard key combo Win+Down Arrow, which should trigger the Restore Window Size function, without having to move the mouse.

The above should trigger the reported issue on ScummVM desktop. On mine, I get a black screen for ScummVM with only the cursor showing. Maximizing the window once, keep the screen black. Restoring the window after that may bring back the normal ScummVM display.

Note: I am not able to trigger the issue on the desktop for the "tooltip showing in Grid view" case, because when trying the key combo Win+Down Arrow in the final step above, the tooltip goes away.

comment:2 by antoniou79, 3 weeks ago

Component: Port: AndroidGUI
Description: modified (diff)
Summary: ANDROID: Black screen after rotating from portrait to landscapeGUI: Black screen after rotating from portrait to landscape (more easily triggered on Android)

comment:3 by antoniou79, 3 weeks ago

Summary: GUI: Black screen after rotating from portrait to landscape (more easily triggered on Android)GUI: Black screen after "change" from Grid View in High resolution to List View in Low Res (more easily triggered on Android with changing orientation)
Note: See TracTickets for help on using tickets.