This commit is contained in:
Your Name
2026-11-26 15:46:20 +08:00
parent db6d327e91
commit be79e09c83
170 changed files with 21159 additions and 13217 deletions
+12
View File
@@ -167,6 +167,18 @@ def shell_window(
application.processEvents()
def test_minimize_preserves_session_and_close_requests_application_exit(
shell_window: ShellWindow, application: QApplication
) -> None:
exits = []
shell_window.close_requested.connect(lambda: exits.append(True))
shell_window.showMinimized()
application.processEvents()
assert exits == []
shell_window.close()
assert exits == [True]
def test_legacy_shell_matches_reference_geometry_at_both_acceptance_sizes(
application: QApplication,
shell_window: ShellWindow,