Skip to content

fix: set quick capture window title#174

Closed
dannrs wants to merge 1 commit into
ZenNotes:mainfrom
dannrs:fix/quick-capture-window-title
Closed

fix: set quick capture window title#174
dannrs wants to merge 1 commit into
ZenNotes:mainfrom
dannrs:fix/quick-capture-window-title

Conversation

@dannrs

@dannrs dannrs commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Summary

This small PR fixes the title of the quick capture window, making it distinguishable from the main ZenNotes window on Wayland compositors.

The quick capture window now has a different title: ZenNotes Quick Capture

This gives compositor rules something stable to match against.

Fixes #155

Testing:

  • Open ZenNotes on Linux with a Wayland compositor. I tested with niri.
  • Open the quick capture window.
  • Run niri msg pick-window or an equivalent window inspection command.
  • Confirm that the title of the quick capture window is now: ZenNotes Quick Capture.

@dannrs
dannrs requested a review from adibhanna as a code owner June 14, 2026 12:47
@adibhanna

Copy link
Copy Markdown
Contributor

Merged into the active release branch (`release/v2.4.0`) as b26395b rather than via this PR — your branch also carried two unrelated commits from `main` (the GitHub Sponsors / `FUNDING.yml` changes), so I cherry-picked just your fix commit onto the release branch to keep it clean. Your authorship is preserved on the commit. Nothing was rejected — this ships in v2.4.0.

Thanks @dannrs! Clean, correct fix: the constructor `title` plus `document.title` in `QuickCaptureApp` is exactly the right combo so the title sticks after the renderer loads, giving Wayland compositors (niri & co.) a stable `ZenNotes Quick Capture` toplevel to match against. Closes #155.

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.

Quick capture window is indistinguishable from the main window on Wayland, breaking WM-side hotkey binding

2 participants