3 Commits

Author SHA1 Message Date
a5b12fb00c chore(changelog): update
All checks were successful
Code and build check / Check code (push) Successful in 1m45s
Code and build check / Build with uv (push) Successful in 58s
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
2025-07-04 12:10:03 +05:00
b42f476f56 fix(input_manager): prevent game launch when any modal dialog is open
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
2025-07-04 12:08:43 +05:00
fd1c4e94fa fix: "File not found" error for Steam games in context menu
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
2025-07-04 11:58:25 +05:00
3 changed files with 5 additions and 1 deletions

View File

@@ -30,6 +30,7 @@
- Ошибки темы в Gamescope
- Размер иконок для desktop файлов теперь 128x128
- Пустая область при обновлении сетки игр
- Запуск игры при открытом оверлее
### Contributors
- @Dervart

View File

@@ -137,6 +137,8 @@ class ContextMenuManager:
if not exe_path or not os.path.exists(exe_path):
return False
current_exe = os.path.basename(exe_path)
elif game_card.game_source == "steam":
return False
else:
exec_line = self._get_exec_line(game_card.name, game_card.exec_line)
if not exec_line:

View File

@@ -369,6 +369,7 @@ class InputManager(QObject):
active = QApplication.activeWindow()
focused = QApplication.focusWidget()
popup = QApplication.activePopupWidget()
modal_dialog = QApplication.activeModalWidget()
# Handle Guide button to open system overlay
if button_code in BUTTONS['guide']:
@@ -460,7 +461,7 @@ class InputManager(QObject):
return
# Game launch on detail page
if (button_code in BUTTONS['confirm']) and self._parent.currentDetailPage is not None and self._parent.current_add_game_dialog is None:
if (button_code in BUTTONS['confirm']) and self._parent.currentDetailPage is not None and modal_dialog is None:
if self._parent.current_exec_line:
self.trigger_rumble()
self._parent.toggleGame(self._parent.current_exec_line, None)