Skip to content

helium/zen: keep top bar open for bubbles, delay mouse-exit collapse#1397

Merged
dumbmoron merged 1 commit intomainfrom
zen-fixups
Apr 19, 2026
Merged

helium/zen: keep top bar open for bubbles, delay mouse-exit collapse#1397
dumbmoron merged 1 commit intomainfrom
zen-fixups

Conversation

@dumbmoron
Copy link
Copy Markdown
Member

  • add a tween to the animation
  • delay collapsing when leaving hover area (1s for leaving the window, 250ms for leaving to content)
  • prevent top container from collapsing if it has any open bubbles or sidebar
Screen.Recording.2026-04-18.at.20.27.12.mov

fixes #1216
fixes #1262
fixes #1263

@dumbmoron dumbmoron requested a review from wukko April 18, 2026 18:39
@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 18, 2026

Reviews (1): Last reviewed commit: "helium/zen: keep top bar open for bubble..." | Re-trigger Greptile

Comment thread patches/helium/ui/experiments/zen-mode.patch
Comment thread patches/helium/ui/experiments/zen-mode.patch
@dumbmoron dumbmoron enabled auto-merge (squash) April 19, 2026 07:26
@dumbmoron dumbmoron merged commit 5085b57 into main Apr 19, 2026
10 checks passed
@dumbmoron dumbmoron deleted the zen-fixups branch April 19, 2026 07:27
@past-gen
Copy link
Copy Markdown

  • delay collapsing when leaving hover area (1s for leaving the window, 250ms for leaving to content)

@dumbmoron option to make timings customizable in settings, please? Or to disable them when the window's in "maximized" state, at least?

@scientiac
Copy link
Copy Markdown

scientiac commented Apr 26, 2026

@dumbmoron The delay is one way to solve the issue but I want you to take a look at how Kagi's Orion browser on Linux (beta) handles this:

The toggle open triggers as the mouse approaches the edge of the window, but the toggle off trigger is when the mouse focuses on web page and doesn't if the mouse is outside the window.

EDIT! : I checked the new version and it does work like that. Sorry for the ping.

zen-mode-trim-compressed.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants