Skip to content

feat(dock): add customizable proximity icon magnification - #3625

Merged
bbedward merged 2 commits into
duxlabs-dev:masterfrom
hthienloc:feat/dock-icon-zoom
Sep 29, 2026
Merged

bbedward merged 2 commits into
duxlabs-dev:masterfrom
hthienloc:feat/dock-icon-zoom

Conversation

@hthienloc

Copy link
Copy Markdown
Member

What

  • Adds hover-based icon magnification to Dock and DankBar's AppsDock.
  • Supports three magnification profiles: Parabolic, Cosine, and Gaussian.
  • Adds settings for toggling magnification, scale (105–160%), and animation profile.
  • Prevents double-scaling when magnification is enabled.
  • Adds smooth, real-time cursor tracking with no lag.

Why

  • Provides a smoother, modern dock experience inspired by Plank and macOS.
  • Gives users control over magnification scale and animation style.
recording_2026-09-29_20-24-16.mp4

@hthienloc

Copy link
Copy Markdown
Member Author

/claude review

@claude

claude Bot commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

Claude review

Dock magnification looks fine; the bar AppsDock half of the feature is not wired up and switches off hover-enlarge.

  • Bar magnification never applies (only SurfaceStrip in the dock implements it) but still disables enlarge-on-hover, quickshell/Modules/DankBar/Widgets/AppsDock.qml:45
  • New I18n.tr strings lack translator context, quickshell/Modules/Settings/DockAppearanceTab.qml:86
    Checked: SurfaceStrip hover/scale logic and idle cost, DockConfig normalize and curves, the settings UI in both tabs, the button scale guards, bar widget defaults and migration, and the translation rules. Model: claude-opus-5-5.

@hthienloc

Copy link
Copy Markdown
Member Author

/claude review

@claude

claude Bot commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found. Both earlier findings are fixed: bar magnification is now dock-only, and the new strings have translator context.
Checked: SurfaceStrip hover tracking, scale, z-order, transform origin, clip and progress animation; DockConfig defaults, normalize and the curve functions; AppsDock option gating; the button scale guards; the DockAppearanceTab settings rows and search index; idle cost (the HoverHandler is off unless magnification is enabled). Model: claude-opus-5-5.

@bbedward
bbedward merged commit ea70863 into duxlabs-dev:master Sep 29, 2026
2 checks passed
@hthienloc
hthienloc deleted the feat/dock-icon-zoom 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