studio
studio copied to clipboard
broken drag & drop ?
Describe the bug Can't drag & drop and official pack. Seems forbidden / unsupported : The UI doesn't let drag & drop.
To Reproduce When trying to D&D from the library to the device, stories' text is highlighted instead of a clear D&D effect. When releasing the selected text, a React errors is triggered
Expected behavior
- D&D should work.
- If if doesn't, an explanation should be provided (or a clear icon)
- A simple clickable button, as a consistent and simpler fallback, should exists to do such an important action as uploading an item to the device (or a command-line cli alternative)
Screenshots
Logs The device is perfectly detected (UUID, fs size, firmware version, ...)
Desktop and environment (please complete the following information):
- OS: Linux
- Browser Chromium
- Java version: openjdk version "21.0.4" 2024-07-16
- STUdio application version 0.4.1 / 0.4.0
- Firmware version: 3.1
With Firefox, no error in the console (but no drag & drop either).
I tried call the endpoint manually:
curl http://localhost:8080/api/device/addFromLibrary -H "Content-Type: application/json" --data-binary '{"uuid":"74e59c16-6a28-45ce-9906-fca8fd69f23c", "path": "22137b298646433580694a4c9a2d7e89.pack"}'
(uuid taken from the library object, format=fs
)
=> Response {"transferId":"c6731478-b1fd-40be-a89c-ecb4e3cd4a7e"}
=> log Copying file 22137b298646433580694a4c9a2d7e89.pack (346.74 MB) to /media/me/LUNII/.content/FD69F23C
=> Actual result: Only the directory is created under .content
. No file is created.
copyPackFolder(src, dest)
should really be the subject of a standalone simple command-line operating on a plain file-system level : it's such a core and critical feature.
Issue copied over from https://github.com/DantSu/studio/issues/7 (I don't understand what/why this other repository copied rathern than forked this one, released a new minor version with no possibility to evaluate the actual changes from a common git history. Is that other one a legit' or a malware-oriented repository?)