PCSX2/pcsx2

[BUG]: Game Grid option does not update UI when game list is empty

TheTechnician27 opened this issue · 0 comments

Describe the Bug

When the game list is empty, the following message appears:

Image

When on this screen, the UI considers you to be in Game List mode. Clicking the Game Grid button in the top left (thin toolbar) or in View > Game Grid changes the underlying settings data, but this is not reflected in the toolbar icon. I know that it changes the underlying setting because, once you select a directory to populate games, PCSX2 immediately displays them in Game Grid mode. However, even once this happens, the icon in the toolbar shows Game List mode is selected:

Image

If I start in Game Grid mode then delete the game directory, the icon will remain showing Game Grid as selected until I select Game List, at which point I can no longer reselect Game Grid until I populate the list again.

The Big Picture UI behaves correctly, letting the user switch between grid and list while there are no games. Note: unlike the Desktop UI, it lacks any message for the user about their game list being empty and how to populate it; it's simply blank.

Reproduction Steps

  • Have an empty games list in the Desktop UI.
  • While Game List is selected, click Game Grid mode from the minibar or from View.
  • The minibar icon will not switch to Game Grid.
  • Add a game directory.
  • Your games will immediately display in grid view, but the minibar icon will still show Game List.

Expected Behavior

Letting the UI change with the underlying setting regardless of if the game list is empty could work. Otherwise, because nothing changes visually when you select Game Grid, PCSX2 could grey out the Game Grid option when the list is empty.

PCSX2 Revision

v2.5.148

Operating System

Linux (64bit) - Specify distro below

If Linux - Specify Distro

EndeavourOS

Logs & Dumps

No response