Skip to content

bar: match the blur corners of joined pills - #4446

Merged
purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:bar-pill-blur-corners
Nov 28, 2026
Merged

purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:bar-pill-blur-corners

Conversation

@Conava

@Conava Conava commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fix the blur sticking out around grouped bar pills (see screenshots). The blur had less rounded corners than the pills, so it showed past their edges.

Part of the issue and fix is in quickshell / dux-qt-base, I will open the PR there shortly. dux-qt-base PR

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

Related issues

Screenshots / video

Before:
screenshot_2026-11-27_20-12-59

After:
screenshot_2026-11-27_20-12-13

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 dux-docs to document any new behaviors: https://github.com/duxlabs-dev/dux-docs

Pills joined into a group registered one blur radius for all four
corners: the inner radius for first, middle and last pills, even at
the group's rounded outer ends. The blur reached past those ends and
showed as a light edge over dark windows. The pill now hands its own
corner radii to the blur region, and on a split pill each end follows
the press morph only when its own segment is pressed, like the fill.

The squared-corner blur patch is sized to whole pixels, so it still
covers the corner when the runtime keeps the body's fractional radius
and builds blur regions inside the painted shape.
@github-actions github-actions Bot added fix ui Quickshell UI under quickshell/ labels Nov 27, 2026
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: per-corner blur radii on visualContent against the segment fill and press morph (solo, split, mirrored and vertical), the blurSubRegionComp fallback after blurRadius was removed (no other readers in quickshell or PLUGINS), and the whole-pixel bar corner regions in DBarBody. Model: claude-opus-5-5.

@purian23
purian23 merged commit 6372a01 into duxlabs-dev:master Nov 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants