Repository navigation
Conversation
Ohualtex
force-pushed
the
feat/windows-island-bottom-placement
branch
2 times, most recently
from
November 13, 2026 11:55
eb88168 to
8d815a9
Compare
…M#1021) Adds a Windows setting to place the Dynamic Island at the bottom edge of the screen, opening upwards, while keeping the top edge completely clear for application titlebars and menus. - Add island_position (top | bottom) to Settings with backward-compatible defaults. - Dynamically calculate bottom_inset from monitor work area so the island sits right above a docked bottom taskbar (or flush against the screen bottom). - Flip island styling in CSS (body.edge-bottom) with upward rounded corners. - Update webview click-through hit-testing (Bridge.setIslandRect) so clicks above the bottom island pass through seamlessly. - Add Island position dropdown under General Settings with full translations in 14 languages. - Add comprehensive unit tests in Rust and TypeScript.
Ohualtex
force-pushed
the
feat/windows-island-bottom-placement
branch
from
November 25, 2026 18:44
8d815a9 to
d2c8b47
Compare
This branch has not been deployed
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.
Closes #1021. Closes #446.
Problem
On Windows, Coucou's main Dynamic Island window and wake strip were anchored exclusively to the top edge of the display (
y = mp.y + top_inset). While #989 solved top-docked taskbar collisions by offsetting the island downwards, users whose workflow involves frequent use of titlebars, browser tabs, or app menus at the top requested an option to place the island at the opposite screen edge (the bottom), opening upwards (as requested by @bebelsrd07 in #1021 and #446). This also aligns with the multi-edge placement support introduced in 0.5.8 on macOS.Changes
windows/src-tauri/src/settings.rs&windows/src/core/state.ts):island_position("top" | "bottom", default"top") toSettings. Fully backward-compatible; missing or older settings files default to"top".windows/src-tauri/src/island.rs):bottom_inset_fromandbottom_insetwhich calculate the delta between physical display bottom and work area bottom bounds ((monitor_y + monitor_h) - (work_y + work_h)).island_position == "bottom", places the window aty = mp.y + ms.height - bottom_inset - ph, ensuring the wake strip (6px) and expanded panel sit neatly above any docked bottom taskbar (or flush against the screen bottom if auto-hidden).current_screen_keyto track bottom taskbar and edge changes dynamically.windows/src/):Top edge/Bottom edge) under General Settings, complete with localized strings for all 14 supported languages inextra.json.body.edge-bottom #wake-stripand#islandpinned tobottom: 0with inverted top rounded corners (border-radius: 14px 14px 0 0).island.ts, updatedapplyGeometryandislandRectsoy = viewportH - hhwhen anchored to the bottom. Mouse coordinates, bot gaze, andBridge.setIslandRectclick-through hit-testing automatically adjust so clicks above the island pass through cleanly to underlying windows.bottom_inset_fromand backward-compatible settings parsing.windows/tests/island-position.test.mjs.tsc --noEmitpass with zero failures.