Repository navigation
Conversation
DragDrop::start_with_icon starts a native drag with an optional Icon: straight RGBA pixels, a buffer scale and the hotspot under the pointer. Driver::start_with_icon defaults to start, so backends without icons keep working; the Wayland adapter passes the icon to winit's DragDrop::start_with_icon. Pins the winit fork's canopa/wayland-drag-icon. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kevinard
added a commit
to kevinard/canopa
that referenced
this pull request
Nov 13, 2026
Browsing: - Long names lose their middle; List headings sort and reverse on click, start at their leading edge, and dividers trade with the column beside them. - Hover washes on rows, headings and quiet buttons; readable tooltips; menus open at the pointer and hold only what fits their context. - Clicking empty space deselects; mouse Back/Forward buttons navigate; single click opens a folder in a parent column. - List view can open folders in place as a tree; folders-first is an option. Both are global view settings. - Emblems for links, unreadable and read-only items; themed icons for Home and the XDG personal folders. - Status bar names the selected item and its type; "Recent activity" is gone. - Properties panel renames from its name field and offers "Allow executing" under Access. - Search uses the location field: its search button opens it and a cross closes it; the toolbar has no Search button. - Unsaved-changes prompts are modal cards over a dimmed window. Drag and drop: - Drops into the items' own folder are refused; the pointer label appears only when a drop acts; dragged rows fade. - Dragged items' icons follow the pointer (winit and Iced forks' start_with_icon, kevinard/winit#8 and kevinard/iced#9). Tabs: - A tab bar with close buttons, middle-click close, new-tab button and file drop targets. - Tabs are dragged as native drags: their picture follows the pointer, a pin marks where they land, they move between windows, and a drag ending outside every Files window opens the tab in a new window. Escape gives up the drag. Keyboard: Move tab left/right and Move tab to new window. Toolbar, places and Preferences: - New Folder is an ordinary toolbar item; older toolbars keep it. - The application mark before the toolbar is gone. - Music, Videos, Templates and Public are built-in places; places use the icon theme's icons. - Preferences' Toolbar, Sidebar and Shortcuts pages give each row its own controls, with pickers to add buttons and places. Recorded in docs/files/adr/0170. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Canopa tracking PR. Stacked on
canopa/drag-drop(#6) and merged intocanopa/main; it is not meant to be merged here.What
window::drag_drop::DragDrop::start_with_iconstarts a native drag likestart, with an optionalIcon(straight RGBA pixels, a buffer scale and the logical hotspot under the pointer).Driver::start_with_iconhas a default that ignores the icon and callsstart, so other drivers are unchanged. Thewinitadapter passes the icon to the winit fork'sDragDrop::start_with_icon(kevinard/winit#8), which this topic pins.Why
Canopa Files shows what is being dragged under the pointer, as other Wayland file managers do (Files ADR 0170).
Verification
cargo check -p iced_winit -p iced_runtimeandcargo test -p iced_runtime -p iced_winit --libpass at this topic. Canopa Files builds againstcanopa/mainand its drag tests pass.Upstream
Applies on top of #6 (inventory W5b). Upstream iced has no native drag source API yet.
🤖 Generated with Claude Code