-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
2.7.3
-
None
Drag and dropping file paths that exceed the path length limit of the Windows API does not get detected by Picard.
The issue is that Windows does transport the file path differently in this case, and Qt5 does not handle this natively in the drop handler. Hence for Picard the drop event is registered, but the handler does not see any dropped path.
In case of long paths the Qt5 QMimeData does not automatically provide the dropped URLs. After some research I think the dropped path names can be extracted from the provided data in 'application/x-qt-windows-mime;value="Shell IDList Array"'.
But we need custom code to parse this structure. There is some documentation available at https://docs.microsoft.com/de-de/windows/win32/shell/clipboard (see the CFSTR_SHELLIDLIST).
See also PICARD-2076
- has related issue
-
PICARD-1779 Picard does not notify a user when loading a file is rejected.
- Closed
- is related to
-
PICARD-2076 Respect Windows 10 > 1607 removal of 260 limit on filenames
- Closed