Skip to content

feat(dock): sync background and icons in frame overview - #3252

Merged
bbedward merged 2 commits into
duxlabs-dev:masterfrom
hthienloc:feat/dock-overview-sync
Sep 1, 2026
Merged

bbedward merged 2 commits into
duxlabs-dev:masterfrom
hthienloc:feat/dock-overview-sync

Conversation

@hthienloc

Copy link
Copy Markdown
Member
  • Keep FrameDockHost pre-instantiated in FrameWindow when dockOpenOnOverview is enabled to eliminate QML Loader instantiation lag on overview toggle.
  • Add overviewReveal property to DockBody and snap slide spring positions instantly on overview enter.
  • Enforce showDock check in DockBody reveal property so dock stays hidden outside overview when showDock is disabled.
recording_20260901_211719.mp4

- Keep FrameDockHost pre-instantiated in FrameWindow when dockOpenOnOverview is enabled to eliminate QML Loader instantiation lag on overview toggle.
- Add overviewReveal property to DockBody and snap slide spring positions instantly on overview enter.
- Enforce showDock check in DockBody reveal property so dock stays hidden outside overview when showDock is disabled.
@hthienloc

Copy link
Copy Markdown
Member Author

/claude review

Comment thread quickshell/Modules/Dock/DockBody.qml Resolved
Comment thread quickshell/Modules/Dock/DockBody.qml Resolved
@claude

claude Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Claude review

Two behavior issues in the rewritten reveal binding; the smart/regular auto-hide rewrite itself is equivalent to the old logic.

  • Dock still hover-reveals when showDock is off, since the frame dock host and its 1px hover strip are now always alive, quickshell/Modules/Dock/DockBody.qml:378
  • hiddenForFullscreen moved ahead of the overview return, so the dock no longer opens in overview over a fullscreen window, quickshell/Modules/Dock/DockBody.qml:372

Checked: reveal branch equivalence, frame dock host lifetime and input mask, overview snap handler, no translation/mock/go changes. Model: claude-opus-5.

- Evaluate overviewReveal before hiddenForFullscreen so dock can open in overview over fullscreen windows.
- Return false when showDock is disabled to prevent hover reveals outside overview.
@hthienloc

Copy link
Copy Markdown
Member Author

/claude review

@claude

claude Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found — the two findings from the previous run are both fixed in 76a25f5e.

  • !SettingsData.showDock now short-circuits reveal, so the always-alive frame dock host no longer hover-reveals a disabled dock.
  • hiddenForFullscreen stayed after if (overviewReveal) return true;, so the overview-over-fullscreen behavior is unchanged.

Checked: reveal branch equivalence vs. the old smart/regular auto-hide logic (identical), _dockHostedHere widening against Dock.qml's variant model and frameHostsDockForScreen (still mutually exclusive, no double dock), input mask / exclusive zone with showDock off (mask strip sits inside the frame cutout gutter, shouldReserveDockSpace still gated on showDock), the onOverviewRevealChanged snap path against SpringMotion.snapTo/retarget, no translation, mock or Go changes. Model: claude-opus-5.

@bbedward
bbedward merged commit b32fe1e into duxlabs-dev:master Sep 1, 2026
1 check passed
@hthienloc
hthienloc deleted the feat/dock-overview-sync branch November 15, 2026 15:38
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.

2 participants