Skip to content

Workspace switcher widget improvements - #3977

Merged
bbedward merged 6 commits into
duxlabs-dev:masterfrom
apollo79:workspace-switcher-widget-improvements
Oct 28, 2026
Merged

bbedward merged 6 commits into
duxlabs-dev:masterfrom
apollo79:workspace-switcher-widget-improvements

Conversation

@apollo79

Copy link
Copy Markdown
Member

Description

  • makes the font size and pill size dependent on the bar font size
  • fixes an issue where the pills could get bigger than the widget itself (extend over the background)
  • fixes text contrast for all kinds of colors (font color now depends on the pill color: secondary, tertiary, custom backgrounds, inactive)
  • improved contrast for the inactive workspaces (higher text opacity)
  • remove strong jitter when switching workspaces
  • styling (opinionated): for the segmented style, fully round the corners of the active workspace
  • improve readability of the window count badge (shown for inactive workspaces when multiple windows of the same app are open)
  • add an option to always show the app icons at full opacity (because dimming them makes them look a bit dirty and often has bad contrast)
  • increases opacity for inactive app icons to make them look less washed out and improve contrast with background

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other: Improvement

Related issues

Screenshots / Videos

Change Before After
window count indicatorand fully rounded active pill dms_capture_1793146650380 dms_capture_1793146800317
font size dms_capture_1793146848368 dms_capture_1793146831170
contrast dms_capture_1793146892711 dms_capture_1793146913919

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dlx-docs to document any new behaviors: https://github.com/duxlabs-dev/dux-docs

@hthienloc

Copy link
Copy Markdown
Member

/claude review

@claude

claude Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: WorkspaceSwitcher label sizing, ink/contrast logic, CountBadge centering, synchronous data load on workspace switch, BarPillSurface joined-corner animation, new setting default/toggle/I18n, settings search index, deprecated shims. Model: claude-opus-5-5.

@bbedward
bbedward merged commit a88be89 into duxlabs-dev:master Oct 28, 2026
2 checks passed
dux-ci Bot pushed a commit that referenced this pull request Oct 28, 2026
port 2.0

(cherry picked from commit a88be89)
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.

3 participants