Replace leaf entry with persistent horizontal toolbar and shared panel state

This commit is contained in:
阿白叔 committed 2026-10-11 11:31:07 +08:00
1 parent d2501d0112
commit 19361fd1cc
18 files changed
+1010 -454

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
"""Explicit application shutdown: closing the feature panel only hides it."""
import pytest
from PySide6.QtWidgets import QApplication
from dx_productivity.ui.main_window import MainWindow
@pytest.fixture(autouse=True)
def shutdown_productivity_windows(qtbot):
yield
for window in QApplication.topLevelWidgets():
if isinstance(window, MainWindow):
startup = getattr(window, 'startup_controller', None)
if startup is not None and startup.is_running():
qtbot.waitUntil(lambda: not startup.is_running(), timeout=10000)
window.request_exit()