Skip to content

spotlight: fix bottom radius - #4068

Merged
bbedward merged 1 commit into
duxlabs-dev:masterfrom
cmleon51:fix/spotlight_radius
Nov 2, 2026
Merged

bbedward merged 1 commit into
duxlabs-dev:masterfrom
cmleon51:fix/spotlight_radius

Conversation

@cmleon51

@cmleon51 cmleon51 commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Description

As mentioned in #4067 the bottom corners of the spotlight search bar while having a global radius of 0 were never rounded

Cause: when calculating the radius of the bottom of the spotlight the code would reach NaN since it would try to divide by 0

Fix: limit the denominator to 1 if the global radius is 0

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

Fix #4067

Screenshots / video

Before:
image

After:
image

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

@github-actions github-actions Bot added fix ui Quickshell UI under quickshell/ labels Nov 1, 2026
@bbedward
bbedward merged commit 09b6a69 into duxlabs-dev:master Nov 2, 2026
3 checks passed
purian23 pushed a commit that referenced this pull request Nov 2, 2026
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.

Spotlight Bar doesnt respect radius strength

2 participants