Skip to content

island: fix resizing the dash in edit mode - #4363

Merged
bbedward merged 1 commit into
duxlabs-dev:masterfrom
Conava:island-dash-resize
Nov 21, 2026
Merged

bbedward merged 1 commit into
duxlabs-dev:masterfrom
Conava:island-dash-resize

Conversation

@Conava

@Conava Conava commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Description

Resizing the dash in the island's edit mode was very buggy.
Making it narrower squeezed the cards into fewer columns, so they overlapped and got reordered, which changed the height and then the width again, and the island's background lagged behind with an empty area beside the cards. Making it wider or taller often did not work at all.
The island dash now resizes like the dash popout and the island control center: it can't be made narrower than the columns its cards use, and it follows the mouse directly while resizing, so one more column is easy to hit.

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

Fixes #4200

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

The island dash let the panel be narrowed below the columns its cards
use, so the cards reflowed into fewer columns, overlapped and changed
the panel height mid-drag. The dash popout already floors the width at
the tab's used columns; the island face now does the same.

While the island control center is resized, the island turns its
spring off and stretches its input region over the screen, so the
surface follows the pointer and the drag keeps reaching the grip. The
dash face never set that flag: its surface lagged behind the cards and
drags to the right or down often did not take.
The flag is renamed from controlCenterResizing to panelResizing and the
dash face sets it too, clearing it and its size preview if the face
goes away mid-drag.

Fixes duxlabs-dev#4200
@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: rename of controlCenterResizing to panelResizing (no stale references left), the dash face now driving the shared resize flag through a bound handler and clearing it with the preview on destruction, minStep using usedColumns the same way DDashPopout does, and idle cost (no new timers, connections or processes). Model: claude-opus-5-5.

@bbedward
bbedward merged commit b1e7358 into duxlabs-dev:master Nov 21, 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.

Buggy island dashboard resize

2 participants