Repository navigation
fix(island): default reservation follows the pill below the 40px strip - #4038
Conversation
islandMetrics documents that the default reservation follows the pill, but it reserved max(strip, gap + compact). With the notch (gap 0) or a compact pill under 40px the reservation stayed at 40px, leaving a gap between the pill and docked/maximized windows (e.g. 8px for a 32px notched pill). Reserve gap + compact when islandReserveThickness is left at its default; the painted band keeps the 40px minimum and an explicit value is still reserved as set. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
/claude review |
Claude reviewNo issues found. |
Description
islandMetricssays the default reservation follows the pill, but it reservesmax(strip, gap + compact), where the strip is the 40px default ofislandReserveThickness. When the pill is shorter than 40px, the reservation stays at 40px and leaves a gap between the pill and docked or maximized windows. The pill is shorter than 40px in notch mode (no outer gap, so the default 38px pill reserves 40px) or when the compact thickness is reduced. On a 32px notched pill the gap is 8px.With the default
islandReserveThickness, the island now reservesgap + compact, the pill itself. The painted band keeps its 40px minimum, and an explicitislandReserveThicknessis still reserved as set. With the default settings (38px pill, 4px gap = 42px) nothing changes.tests/layout-resolver.test.mjs: the notch case now expects the pill height, and a case with a 32px notched pill is added. The two failing tests intests/(audio profile list/set) fail on master as well.Type of change
Related issues
None found.
Screenshots / video
None; the change only moves where docked and maximized windows start (
hyprctl monitorsreserved top: 40 before, 32 after on a 32px notched pill, Hyprland 0.57).Checklist
I18n.tr()with translator context, reusing existing terms where possible (no strings)make fmt, added/updated tests,make testpasses, andgo mod tidyis clean (no Go changes)make lint-qmlwith no new warnings (JS only)🤖 Generated with Claude Code