Repository navigation
island: fix resizing the dash in edit mode - #4363
Merged
Merged
Conversation
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
Contributor
Claude reviewNo issues found. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Related issues
Fixes #4200
Screenshots / video
Checklist
I18n.tr()with translator context, reusing existing terms where possiblemake fmt, added/updated tests,make testpasses, andgo mod tidyis cleanmake lint-qmlwith no new warnings