Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag and drop to save file on the standard save file dialog #48

Open
velissarious opened this issue Mar 7, 2021 · 3 comments
Open

Drag and drop to save file on the standard save file dialog #48

velissarious opened this issue Mar 7, 2021 · 3 comments

Comments

@velissarious
Copy link

In of the GUI of RISC OS when saving a file you can drag and drop the file before it has been created to the desired output directory using the mouse.

Look at this video of this feature:
https://youtu.be/oL4w3AK6Qpw?t=750

Some screenshots from the video:
The save dialog:
image
Dragging the file to the output directory:
image
Dropping it has placed it and saved in the desired directory.
image

@probonopd
Copy link
Member

probonopd commented Jun 28, 2021

Great pointer to RISC OS who set the standard when it comes to drag-and-drop in many ways.

We want it to work the other way around though, because this is our rough guideline: Drag a file from Filer into the Save dialog to save the file under the name of the existing file, thus overwriting it.

But this is currently broken because the drag-and-drop operation results in a file:/// URI rather than a path.

@kettle-7
Copy link

I just take the first seven characters off.

@probonopd
Copy link
Member

probonopd commented Jun 28, 2021

No, there must be a proper way to do this. Something like FmPathList* srcPaths = pathListFromQUrls(data->urls());.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants