one-copy: bring forward the app's main window, not winit's tool window #3

Merged
merge-queue merged 1 commit from fp17-skip-tool-windows into main 2026-11-28 03:30:08 -08:00
Owner

A second String Lab started while the open one is minimized exited 0 but left it minimized (FP-17, tested on treadmill). window_of took the process's first visible, unowned top-level window, and once String Lab is minimized that is winit's 12x12 Winit Thread Event Target popup (WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE, winit 0.30 platform_impl/windows/event_loop.rs), so the restore and foreground calls went to it.

  • Changed: window_of (Rust, Windows) also skips windows with WS_EX_TOOLWINDOW or WS_EX_NOACTIVATE; a tool or no-activate window is never an app's main window.
  • Left alone: the lock, the holder check, the Go package (it has no window part).
  • Test: no automated test, since one would show windows on the desktop of the PC running it; after release the treadmill desktop test runs again against String Lab.

Work packages: https://openproject.home.romaine.life/wp/FP-17, https://openproject.home.romaine.life/wp/AHT-218

🤖 Generated with Claude Code

A second String Lab started while the open one is minimized exited 0 but left it minimized (FP-17, tested on treadmill). `window_of` took the process's first visible, unowned top-level window, and once String Lab is minimized that is winit's 12x12 `Winit Thread Event Target` popup (`WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE`, winit 0.30 `platform_impl/windows/event_loop.rs`), so the restore and foreground calls went to it. - **Changed:** `window_of` (Rust, Windows) also skips windows with `WS_EX_TOOLWINDOW` or `WS_EX_NOACTIVATE`; a tool or no-activate window is never an app's main window. - **Left alone:** the lock, the holder check, the Go package (it has no window part). - **Test:** no automated test, since one would show windows on the desktop of the PC running it; after release the treadmill desktop test runs again against String Lab. Work packages: https://openproject.home.romaine.life/wp/FP-17, https://openproject.home.romaine.life/wp/AHT-218 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Bring forward the app's main window, not winit's tool window (FP-17)
All checks were successful
Suite go / check-test-windows (pull_request) Successful in 56s
Suite default / reused-checks (pull_request) Successful in 15s
Suite rust / scope (pull_request) Successful in 9s
Suite release / scope (pull_request) Successful in 9s
Suite default / check-fetches (pull_request) Has been skipped
Suite default / check-rules (pull_request) Has been skipped
Suite go / check-format (pull_request) Has been skipped
Suite go / check-services (pull_request) Has been skipped
Suite rust / check-services (pull_request) Has been skipped
Suite rust / check-machete (pull_request) Has been skipped
Suite release / build (none, ubuntu-latest) (ubuntu-latest, none) (pull_request) Has been skipped
Suite release / home-sync (pull_request) Has been skipped
Suite release / dispatch (pull_request) Has been skipped
Suite rust / check-format (pull_request) Successful in 15s
Suite rust / check-audit (pull_request) Has been skipped
Suite release / module (pull_request) Has been skipped
Suite release / reserve (pull_request) Has been skipped
Suite release / check-build (none, ubuntu-latest) (ubuntu-latest, none) (pull_request) Has been skipped
Suite release / publish (pull_request) Has been skipped
Suite release / check-package (pull_request) Has been skipped
Suite release / finalize (pull_request) Has been skipped
Suite release / reused-checks (pull_request) Has been skipped
Suite release / deploy-image (pull_request) Has been skipped
Suite rust / check-typos (pull_request) Has been skipped
Suite go / check-test-linux (pull_request) Successful in 16s
Suite rust / check-test-linux (pull_request) Successful in 20s
merge-queue landed on main
Suite rust / check-test-windows (pull_request) Successful in 57s
Suite go / reused-checks (pull_request) Successful in 8s
Suite rust / reused-checks (pull_request) Successful in 8s
4813c63fb1
merge-queue deleted branch fp17-skip-tool-windows 2026-11-28 03:30:08 -08:00
Sign in to join this conversation.
No reviewers
No labels
queue
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/one-copy!3
No description provided.