SUMMARY It's not possible to upload files from remote/network folders to web services such as google images, gmail, outlook or any other web services. The only workaround is to copy/paste the files from the remote folder to a local folder and then upload them. STEPS TO REPRODUCE 1. Open Firefox (or any other browser) 2. go to images.google.com 3. try to upload an image from a MS Windows remote folder OBSERVED RESULT File does not upload - fails silently ( there is no error message - it's as if one canceled the action) EXPECTED RESULT user should be able to upload files from anywhere: either local or any remote folder with the same ease as we can on any other OS. SOFTWARE/OS VERSIONS Windows: 10 v21h2 and Operating System: KDE neon 5.23 KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.3 Kernel Version: 5.11.0-46-generic (64-bit) Graphics Platform: X11 ADDITIONAL INFORMATION maybe if the browser was using "kdialog --getopenurl" it would work... Relevant/maybe related Bugs: https://bugs.kde.org/show_bug.cgi?id=406323 https://bugs.kde.org/show_bug.cgi?id=213254 https://bugzilla.mozilla.org/show_bug.cgi?id=526293 https://bugzilla.mozilla.org/show_bug.cgi?id=682838 https://bugzilla.mozilla.org/show_bug.cgi?id=719952
1. Can you provide a screenshot of what the upload dialog looks like? Is it the GNOME dialog or the KDE Dialog? 2. Are you accessing the Windows share from its URL (e.g. smb://something) or by a path to a local mount? 3. Does the same thing happen if you try to open the file from Gwenview?
(In reply to Nate Graham from comment #1) Hi Nate. > 1. Can you provide a screenshot of what the upload dialog looks like? Is it > the GNOME dialog or the KDE Dialog? I though that you only needed screenshots because of the error. I'm away of any of the Linux machines so I'll only be able to provide the screenshot next Monday. I can advance however that the problem mentioned is in the KDE dialog (I currently work with 4 distinct systems: pure KDE neon, openSUSE Argon, Lubuntu and Windows 10. This problem described happens in neon. SUSE is one machine not in a network and lubuntu machines use GIO) > 2. Are you accessing the Windows share from its URL (e.g. smb://something) > or by a path to a local mount? I'm accessing the Windows share from its URL (e.g. smb://something) > 3. Does the same thing happen if you try to open the file from Gwenview? If I, in a remote image double-click it, it opens in Gwenview with no problem. Same thing happens in office documents. Now, if you mean going to File>open... I can't answer now. Only Monday when I'm back. (I believe I already tried that before, however, and that I was able to open the pictures - but I'm not sure. Next Monday I'll be able to reply with certain)
> Now, if you mean going to File>open... Yeah, I mean that. Is Firefox by any chance using the xdg-portal dialog? Is GTK_USE_PORTALS=1 set in the environment? If you force GTK_USE_PORTALS to 0 and then run Firefox, do you get a different (GTK) dialog? If so, then we're talking about the xdg-portal dialog. I strongly suspect that we are talking about the xdg-portal dialog (since normally Firefox uses the GTK dialog) but I'd like to be sure.
Created attachment 145581 [details] Firefox Upload Dialog
Uploaded Firefox Upload Dialog. About GwenView: I can open the remote files from File>Open with no problems The dialog is apparently the same from firefox (the GUI is the same) About the xdg-portal dialog: Where can i change that? I thought it was in Firefox's about:config, but i'm apparently wrong....... need some help here
> Is Firefox by any chance using the xdg-portal dialog? Is GTK_USE_PORTALS=1 > set in the environment? If you force GTK_USE_PORTALS to 0 and then run > Firefox, do you get a different (GTK) dialog? If so, then we're talking > about the xdg-portal dialog. > > I strongly suspect that we are talking about the xdg-portal dialog (since > normally Firefox uses the GTK dialog) but I'd like to be sure. OK, i've made some tests using the command "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox -p default" and "GTK_USE_PORTAL=0 /usr/lib/firefox/firefox -p default" The GTK version does not show any remote folders, but judging by the Lubuntu's in the same network i believe it's a question of configuring the shared folders... The Qt version showed the the remote folders but did not allow uploads.
Let me just add that i can't save to remote folders from Firefox either (but i guess you already knew that!)
Definitely sounds like you're using the Portal dialog rather than the plasmazilla package, and I can reproduce it.
(In reply to Nate Graham from comment #8) > Definitely sounds like you're using the Portal dialog rather than the > plasmazilla package, and I can reproduce it. ?! But... Is that default on neon??? Because I don't remember changing anything like that! How can I get the "plasmazilla"?
*** This bug has been marked as a duplicate of bug 444457 ***
It is the default on Neon, yeah. "plasmazilla" is a set of openSUSE-specific patches that made Firefox and Thunderbird use KDE dialogs before portal stuff was invented. It's mostly obsolete now.