Skip to content

bar: stop island satellites from reaching to the screen edge - #4347

Merged
purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:island-satellite-edge-clicks
Nov 20, 2026
Merged

purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:island-satellite-edge-clicks

Conversation

@Conava

@Conava Conava commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Description

On an island bar with the satellites placed next to the island, clicking the empty part of the bar still reached the first or last satellite widget.
This was intended for widgets that sit on the edge of the screen and this PR limits it to those. When widgets sit near the island this functionality is disabled.

Normal bars and island bars with the satellites at the screen edges keep the edge reach.

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

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

On an island bar with the satellites placed next to the island, the
first and last satellite widget still took every click in the empty
strip out to the screen edge, a reach meant for widgets that sit at
the edge. Clicking the wallpaper left of the workspace switcher
switched workspaces or opened the overview, and clicking right of the
tray reached the tray instead of the empty-bar handler, so popouts and
tray menus opened with a click did not close.

A section now only counts as being at the screen edge when the
satellites are not placed next to the island.
@Conava
Conava marked this pull request as ready for review November 20, 2026 12:17
@github-actions github-actions Bot added fix ui Quickshell UI under quickshell/ labels Nov 20, 2026
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: edgeIsScreenEdge on the four DBarContent sections, its only consumer (the edge-reach edgeStrip in DBarBody.qml through is*BarEdge), the islandSatellitesHugIsland definition, and the existing barWindow access in the same bindings. Model: claude-opus-5-5.

@purian23
purian23 merged commit 9af09bd into duxlabs-dev:master Nov 20, 2026
5 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