Skip to content

[Feature Request] cosmic-app-list: Drag to reorder window thumbnails in dock preview popup #1344

@AugusDogus

Description

@AugusDogus

Summary

When an app has multiple open windows, cosmic-app-list shows a preview popup for that app. It would be useful to allow reordering those window thumbnails by dragging them with the left mouse button inside the popup.

This is a feature I used frequently on Windows via the Taskbar Thumbnail Reorder Windhawk mod, and it's something I'm missing after switching to CachyOS w/ COSMIC.

Use Case

I arrange my window previews to match my monitor layout - left preview for the window on my left monitor, right preview for the one on my right. This lets me switch windows by muscle memory without having to read titles or squint at thumbnails.

Current Behavior

The popup allows activating or closing windows, but not rearranging their order.

Expected Behavior

  • Pressing and dragging a thumbnail starts a reorder interaction
  • Dragging a thumbnail across another preview moves it in the list
  • Releasing the mouse keeps the new order
  • A normal click without dragging still activates or minimizes the window as it does today

Other Notes

I have a draft PR with a proof-of-concept implementation: #1345
I've reviewed the PR template and want to be transparent that this was developed with the assistance of Cursor and GPT-5.4 High. I have a limited understanding of the codebase, so feel free to close if it's unwanted noise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions