ShadowBlip / OpenGamepadUI

Open source gamepad-native game launcher and overlay
https://opengamepadui.readthedocs.io
GNU General Public License v3.0
432 stars 17 forks source link

Opening side menus (main/QAM) shows the home menu behind the current menu #151

Open ShadowApex opened 1 year ago

ShadowApex commented 1 year ago

When on any menu other than home (e.g. Library, Settings, etc.), and you open up the main menu or QAM, the home menu is shown behind the current menu:

image

This is due to how VisibilityManager is implemented, which has a visible_during property that allows menus to be visible when the main menu, qam, and OSK are being shown.

One potential way this could be fixed could be to use a separate StateMachine for these overlay menus (main menu, qam, and OSK). We would just need some mechanism to re-focus the current menu when no states remain in the overlay menu state machine.

philmmanjaro commented 2 months ago

At least in 0.34.1 I don't see that issue anymore. The Library screen has now a gray background.