Skip to content

Linux: Annotate on GNOME lab (capsule and ink float on XWayland) - #1529

Merged
thdxr merged 3 commits into
devfrom
linux-annotate-gnome
Nov 8, 2026
Merged

thdxr merged 3 commits into
devfrom
linux-annotate-gnome

Conversation

@thdxr

@thdxr thdxr commented Nov 8, 2026 •

Copy link
Copy Markdown
Member
  • adds labs › annotate on gnome (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).
  • bumps rune 53c7f60f → f2fb51ea (56 commits, a targeted pin, not rune dev head), which includes Overlay: an XWayland surface's hit regions follow every frame it draws rune#279 (xwayland input shape follows every drawn frame) plus other rune changes, e.g. borders drawing over the fill, line height, pixel snapping, fontique system fonts. the six meeting-capsule goldens moved from that, light variants now show a 1 px grey rim on the capsule edge. the labs golden moved for the new row.

closes #1526

idea, design and diagnosis by @pkkid in #1526 (their branch was used as a reference; this is our own implementation).

@thdxr
thdxr force-pushed the linux-annotate-gnome branch from b11946a to cd35f66 Compare November 8, 2026 07:50
thdxr added 3 commits November 8, 2026 03:46
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
thdxr force-pushed the linux-annotate-gnome branch from cd35f66 to 68170ea Compare November 8, 2026 08:47
@thdxr
thdxr merged commit ece7cf9 into dev Nov 8, 2026
4 checks passed
@thdxr
thdxr deleted the linux-annotate-gnome branch November 8, 2026 09:13
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.

Annotate can't draw on GNOME Wayland: capsule and ink need XWayland (Hex lab + one-line Rune fix)

1 participant