Skip to content

Linux: keep the island at petit, and collapse it when the pointer leaves - #233

Closed
partum55 wants to merge 4 commits into
Louis-CFM:mainfrom
partum55:never-hide-petit
Closed

partum55 wants to merge 4 commits into
Louis-CFM:mainfrom
partum55:never-hide-petit

Conversation

@partum55

@partum55 partum55 commented Oct 5, 2026 •

Copy link
Copy Markdown

What

  • Windows/Linux: the island no longer hides after being compact (petitToHiddenDelay = -1 disables it); it stays at petit.
  • Linux/GNOME: the island is a regular window whose input region is cut to the island shape, so the page gets no mouse event once the pointer is outside and WebKit does not always report the exit. GDK's leave-notify-event is now reported as a far-away cursor, so home → petit still triggers.
  • Re-apply the input region on every map (GTK can reset it) and drop the titlebar on the regular-window island.
  • A click on the bare top strip of the expanded island closes it (not on a button, not while pinned).
  • package-lock.json version synced to 0.1.1.

Testing

cargo check, tsc --noEmit, and a release .deb build, tested by hand on Ubuntu GNOME (Wayland): works as expected.

🤖 Generated with Claude Code

partum55 and others added 2 commits October 5, 2026 03:50
…region

On GNOME the island is a regular window whose input region is cut to the
island shape, so the page gets no mouse event once the pointer is outside
and WebKit does not always report the exit. Report GDK's leave-notify as a
far-away cursor. Also re-apply the input region on every map, and drop the
titlebar from the regular-window island.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 5, 2026 10:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

partum55 and others added 2 commits October 5, 2026 13:54
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Copy link
Copy Markdown
Owner

Thank you! Auto-close on Linux is now handled on main by #160 (#307). Keeping the island at its small size for good and closing it from the top strip changes shipped behaviour on every platform, so it isn't merged. The idea of re-applying the input region on map is welcome as a small separate PR.


Generated by Claude Code

@Louis-CFM Louis-CFM closed this Oct 7, 2026
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.

3 participants