Skip to content

Add LiveView window navigation and link ink to the top container (1.7.8) - #192

Merged
marcosqlbi merged 6 commits into
mainfrom
feature/liveview-window-navigation
Oct 31, 2026
Merged

marcosqlbi merged 6 commits into
mainfrom
feature/liveview-window-navigation

Conversation

@Alberto-Ferrari

@Alberto-Ferrari Alberto-Ferrari commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add a third LiveView button to activate its source window, and one system-wide shortcut for both directions. From Whiteboard it goes to the source window of the selected LiveView, then the last one visited, then the only one with a source window. From any other application it returns to Whiteboard and resumes that feed. Activating the existing windows follows their virtual desktops. The visited feed keeps capturing while editing, including when background capture pausing is enabled.

Preferences → Live View → Source window shortcut offers Ctrl+Alt+Shift+W, Ctrl+Alt+. and Ctrl+Alt+J. Ctrl+Alt+Shift+W is the default because a registered hotkey takes its keys from every other application, Ctrl+Alt combinations type characters with AltGr on many European layouts, and Visual Studio uses Ctrl+Alt+J. A fixed list avoids having to reject Whiteboard's own shortcuts and reserved Windows-key combinations. For the same reason the shortcut is registered only while a LiveView has an available source window or a visit is under way. A conflict is reported when jumping or when the preference changes, and the shortcut is released on close.

Preserve the Windows capture picker. Automatically match its result by title and exact capture dimensions, enabling navigation only for a unique candidate. Display captures, ambiguous matches, and matching failures keep capture working with navigation disabled. Retain the matched handle and process ID for the capture session.

Link newly drawn strokes to the frontmost container they touch. Ink drawn on overlapping containers now follows the top container; a stroke spanning multiple containers also follows the frontmost one. Existing stroke links are preserved. Update documentation and regression tests for stacking order, overlaps, and crossing strokes.

Bump the version to 1.7.8, with release notes for both changes.

Validation

  • Local Release build, both smoke-test suites, and the explicit Windows capture integration test pass with .NET 10.0.403, including after the shortcut change.
  • The original GitHub failure occurred in the application smoke test when Windows Graphics Capture rejected capture-item creation with E_INVALIDARG. Compilation and installer builds passed.
  • CI now exercises the production matching logic with supplied descriptions, including ambiguity, size and title mismatches, and inaccessible candidates. Native identity and hotkey lifecycle tests remain in the default suite, including switching between shortcuts and releasing them.
  • Settings tests cover the shortcut default, an unrecognized stored value, and the round trip of every preset.
  • Real capture integration checks are explicitly available with --liveview-navigation-capture on an interactive desktop; they are not silently skipped after errors.

Interactive verification

Alberto confirmed that the cross-desktop round trip works in an interactive test, before the shortcut became two-way and configurable. The shortcut's forward direction and the Preferences row have not been tried interactively yet.

Matching remains best-effort because the Windows picker does not expose its source HWND. See docs/liveview-navigation.md for the broader regression checklist.

🤖 Generated with Claude Code

@Alberto-Ferrari Alberto-Ferrari changed the title Add LiveView source navigation and return shortcut Add LiveView window navigation and link ink to the top container Oct 30, 2026
@Alberto-Ferrari
Alberto-Ferrari marked this pull request as ready for review October 30, 2026 22:26
marcosqlbi and others added 3 commits October 31, 2026 13:27
The return shortcut now also goes to the source window when Whiteboard is
active: the selected LiveView, then the last one visited, then the only one
with a source window. Preferences -> Live View -> Source window shortcut offers
Ctrl+Alt+Shift+W (default), Ctrl+Alt+. and Ctrl+Alt+J. The hotkey is
registered only while a LiveView has an available source window or a visit is
under way, because it takes the keys from every other application.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@marcosqlbi marcosqlbi changed the title Add LiveView window navigation and link ink to the top container Add LiveView window navigation and link ink to the top container (1.7.8) Oct 31, 2026
@marcosqlbi
marcosqlbi merged commit 7f15eee into main Oct 31, 2026
5 checks passed
@marcosqlbi
marcosqlbi deleted the feature/liveview-window-navigation branch October 31, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants