fix(desktop-wake): multi-hwnd subclass + no maximize on search popup (1.2.8)
All checks were successful
Publish Python Package to Gitea / publish (push) Successful in 37s

SearchResultWindow2 can be warmed after main is already warm; desktop-wake no longer maximizes the popup.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-02 21:10:15 +08:00
parent 84157758e6
commit 17ac1b4e11
11 changed files with 96 additions and 27 deletions

View File

@@ -34,7 +34,8 @@ class ProfileTests(unittest.TestCase):
self.assertIn("search_result", p.warm_markers)
self.assertIn("user_item", p.warm_markers)
self.assertFalse(p.activate_maximize)
self.assertEqual(p.native_hwnd_class, "WeWorkWindow")
# 1.2.8+:对浮层本身 n2-wake(多窗子类化);不再改注主窗
self.assertFalse((p.native_hwnd_class or "").strip())
self.assertIn("native_helper", p.wake_strategies)
self.assertIn("n2-wake", p.native_args or [])