Skip to content

Select sendFileRadioButton when dropping a file:// scheme url

Gary Wang requested to merge garywang/kdeconnect-kde:file-scheme into master

When using kdeconnect-indicator, user might want to drag a file from the file manager and drop it to the URL handler dialog (to send the file to other device). The URL might be a file:// schemed URL that will cause it automatically switch to "Send URL" option rather than stay in "Send File" option.

This patch will check if the URL is a file schemed URL and ensure "Send File" will be selected if that's the case.


btw, I have a question related to this patch. While this patch will work under non-Plasma Linux DEs, It seems the KUrlRequester widget cannot accept file drop on Windows (either this patch is applied or not), is that the intended behavior?

Merge request reports