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

Support drag-and-drop of URLs from web browsers onto the Desktop #21

Closed
probonopd opened this issue Dec 12, 2020 · 6 comments
Closed

Support drag-and-drop of URLs from web browsers onto the Desktop #21

probonopd opened this issue Dec 12, 2020 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@probonopd
Copy link
Member

The nemo file manager seems to support this. So should we.

https://askubuntu.com/a/1008821

My solution: use the nemo file manager (sudo apt install nemo) instead of Ubuntu's default of nautilus. Now, in nemo you can just drag and drop links right out of the Chrome/Chromium browser search bar and into the nemo file manager. Done!

@probonopd probonopd changed the title Enable drag-and-drop of URLs from Chrome Support drag-and-drop of URLs from Chrome Dec 12, 2020
@probonopd probonopd added the good first issue Good for newcomers label Dec 12, 2020
@probonopd probonopd added the enhancement New feature or request label Dec 20, 2020
@kettle-7
Copy link

I'm just touching up on my C++, it's been a while since I've used it, but if i
you change the dragEnterEvent code to check if the URI uses HTTP or FTP, you can use a Qt function to download the file.

I know how to do it in QML...

@probonopd
Copy link
Member Author

probonopd commented May 25, 2021

dragEnterEvent

Maybe @moochris can help?

@ghost
Copy link

ghost commented May 25, 2021

I'll have a look 🙂

@probonopd
Copy link
Member Author

probonopd commented Jun 28, 2021

It looks like dnddest.cpp has the beginnings of this for the text/uri-list MIME type?

References:
https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/Recommended_drag_types#link

But when you drag-and-drop from e.g., Falkon to the Desktop and select "Create symlink", then we get "Operation not supported".

@probonopd probonopd changed the title Support drag-and-drop of URLs from Chrome Support drag-and-drop of URLs from web browsers onto the Desktop Jun 28, 2021
@probonopd
Copy link
Member Author

Upstream does also not support this yet.

@probonopd
Copy link
Member Author

It's been implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants