cosmic-files/src
leyoda 11d435770e yoda: add ↑↓ buttons next to drag handle in toolbar editor
DnD source+destination wiring from 1cf17dc builds but the drag-drop
doesn't fire reliably in practice (suspected: either dnd_source's
shell.capture_event() on CursorMoved swallows events the destination
needs to see, or intra-window DnD has a Wayland-specific hiccup on the
current sctk/cosmic-comp pairing).

Adds two plain click-handled buttons per enabled row (↑ go-up-symbolic,
↓ go-down-symbolic, both disabled at list edges) so reorder is
functional regardless of DnD state. Backed by new messages
ToolbarMoveUp / ToolbarMoveDown that swap adjacent positions in the
Vec<ToolbarAction>.

The drag handle + DnD source/destination wrapping stays in place — if
DnD gets fixed upstream or on a future libcosmic it'll Just Work, and
the arrows remain as a keyboard-friendly fallback.
2026-04-24 08:29:07 +02:00
..
mounter perf: avoid holding async mutex guards across await points 2026-04-14 17:04:48 +02:00
operation Refactor trash handling to improve portability 2026-04-17 12:54:33 -06:00
app.rs yoda: add ↑↓ buttons next to drag handle in toolbar editor 2026-04-24 08:29:07 +02:00
archive.rs Fix windows compilation issues 2026-04-17 13:31:55 -06:00
channel.rs perf: avoid holding async mutex guards across await points 2026-04-14 17:04:48 +02:00
clipboard.rs fix: handle slight delay in availability of clipboard data 2026-04-13 11:53:25 -06:00
config.rs yoda: phase 3 — drag-drop toolbar editor in Settings 2026-04-24 08:13:30 +02:00
context_action.rs Fix: remove context actions from open/save dialog 2026-04-10 02:58:20 +03:00
dialog.rs Refactor trash handling to improve portability 2026-04-17 12:54:33 -06:00
key_bind.rs chore: update to the latest libcosmic 2026-04-08 15:15:48 -06:00
large_image.rs chore: clippy 2026-01-30 21:05:46 +01:00
lib.rs Only use uzers on unix, do not fork on mac 2026-04-17 12:54:33 -06:00
load_image.rs chore: update to the latest libcosmic 2026-04-08 15:15:48 -06:00
localize.rs chore: clippy 2026-01-30 21:05:46 +01:00
main.rs chore: update dependencies 2026-03-24 11:25:59 -06:00
menu.rs Refactor trash handling to improve portability 2026-04-17 12:54:33 -06:00
mime_app.rs yoda: prefer cosmic-yoterm over upstream cosmic-term in terminal fallback 2026-04-23 19:17:26 +02:00
mime_icon.rs Fix windows compilation issues 2026-04-17 13:31:55 -06:00
mouse_area.rs chore: update to the latest libcosmic 2026-04-08 15:15:48 -06:00
spawn_detached.rs fix: avoid leaving zombie processes on unix 2025-10-12 17:04:54 +10:00
tab.rs Fix windows compilation issues 2026-04-17 13:31:55 -06:00
thumbnail_cacher.rs Fix windows compilation issues 2026-04-17 13:31:55 -06:00
thumbnailer.rs Put libcosmic/desktop behind desktop feature 2026-04-17 12:54:33 -06:00
trash.rs Fix windows compilation issues 2026-04-17 13:31:55 -06:00
zoom.rs perf: general minor performance optimisations 2025-10-29 08:16:50 +10:00