File Browser: Make full file name label draggable #104830

Closed
Julian Eisel wants to merge 8 commits from JulianEisel:temp-file-browser-full-label-drag into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

8 Commits

Author SHA1 Message Date
Julian Eisel 73cfd3664b Use full line height to trigger dragging 2023-03-15 15:57:11 +01:00
Julian Eisel 8528ab1e52 Merge branch 'main' into temp-file-browser-full-label-drag 2023-03-15 15:27:55 +01:00
Julian Eisel 68b1927ab5 Merge branch 'main' into temp-file-browser-full-label-drag 2023-02-28 11:17:30 +01:00
Julian Eisel 7339d04839 Cleanup: Remove redundant parenthesis 2023-02-27 16:55:35 +01:00
Julian Eisel 4f8d4737b1 Merge branch 'main' into temp-file-browser-full-label-drag 2023-02-27 16:48:00 +01:00
Julian Eisel 232d6bd4bf Fix missing check for optional dragging on icon 2023-02-17 12:15:17 +01:00
Julian Eisel 87f650c147 Merge branch 'main' into temp-file-browser-full-label-drag 2023-02-17 11:18:38 +01:00
Julian Eisel 735ac5a8e7 File Browser: Expand draggable area to full file name
Previously only the icon of a file could be dragged in the list display
modes, the name label would invoke box select. This made dragging quite
finicky. I've seen this cause quite some frustration, especially when
the file browser is used as a regular editor to drag data from into
other editors.

Instead follow the Outliner (and some other file browsers like the macOS
one): Dragging on empty space invokes box select, dragging on the name
or icon invokes drag & drop of the item.

Note that 1e9564864c and 6da512f0bc were needed to prepare this change.
2023-02-16 17:20:31 +01:00