Repository navigation
Linux: Annotate on GNOME lab (capsule and ink float on XWayland) - #1529
Merged
Merged
Conversation
thdxr
force-pushed
the
linux-annotate-gnome
branch
from
November 8, 2026 07:50
b11946a to
cd35f66
Compare
Rune won't back an overlay with an XWayland window when it asks for keys on demand, so Annotate's recording capsule, ink, and picker never show on GNOME Wayland: a capture records with nothing on screen. With Labs › Annotate on GNOME (`labs.gnome_annotate`, off by default), open them on an already running XWayland like the meeting capsules do, with the same checks at each show and without ever starting XWayland. The ink is made with pointer regions and no keys, since it must take the pointer later and Rune refuses an OnDemand overlay there; Esc can't stop drawing, so the capsule's pen button or the Annotate key does. idea and diagnosis from @pkkid in #1526
XWayland overlays now update their input shape on every drawn frame
Esc can't stop drawing on the GNOME path, and a tap of the Annotate key stops the recording, not the pen; the capsule's pen button or letting go of a held key ends drawing. Use each language's existing name for the Annotate feature, evaluate the ink's XWayland check once at install, and skip the picker's check when nothing shows.
thdxr
force-pushed
the
linux-annotate-gnome
branch
from
November 8, 2026 08:47
cd35f66 to
68170ea
Compare
This was referenced Nov 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gnome-annotate, off by default, linux only, annotate group). on a wayland session without layer-shell, with this user's xwayland already running, the annotate capsule, picker and ink overlay float on xwayland, same rules as the gnome meeting capsules lab. esc can't stop drawing there; the capsule's pen button does, or letting go of a held annotate key (a tap stops the recording).closes #1526
idea, design and diagnosis by @pkkid in #1526 (their branch was used as a reference; this is our own implementation).