Skip to content

topbar: reorder app buttons by dragging - #73

Open
GuilhermeProvenci wants to merge 1 commit into
Lemxy:mainfrom
GuilhermeProvenci:feature/drag-taskbar-buttons
Open

GuilhermeProvenci wants to merge 1 commit into
Lemxy:mainfrom
GuilhermeProvenci:feature/drag-taskbar-buttons

Conversation

@GuilhermeProvenci

Copy link
Copy Markdown
Contributor

Summary

Taskbar buttons currently have to be reordered through the context menu. This change lets users drag pinned and running app buttons directly along the bar, with live feedback while dragging.

  • Keeps the existing pin-order file compatible and persists the order of pinned items.
  • Keeps running-window placement for the lifetime of the window and synchronizes the existing Move Left/Right commands.
  • Preserves normal click behavior when the pointer does not cross the drag threshold, and handles lost mouse capture.

Validation

  • cargo test --locked -p topbar -- --skip stale_claude_pin_resolves_to_installed_version: passed (8 tests). The excluded pre-existing test depends on a specific installed Claude package version and failed on this machine.
  • The drag interaction was exercised by the user in the customized fork. This isolated upstream build has not been manually exercised with every bar orientation and grouped-window combination.

@ninjatall12

Copy link
Copy Markdown

I agree, this needs to be added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants