Files don't open/upload on websites
What happened?
When I try to upload a file to Google Drive or open a .psd file in Photopea (reported it on https://github.com/photopea/photopea/issues/7106 before realizing it's a bug with the browser), it just doesn't do anything.
Here's me trying to upload 5 images to Google Drive in zen:
https://github.com/user-attachments/assets/0cc66ed4-e66b-4d77-96d8-f4c94fe891e7
Nothing happened. And here's me trying to upload the same images but in Brave (same thing with Firefox, I just don't like to use it):
https://github.com/user-attachments/assets/ae5a2519-30ec-4758-914a-048c90b5c20f
Everything got uploaded.
i was trying to edit these videos in capcut online so i don't leak my messy home folder and was wondering why nothing was happening and i reminded myself about this issue that i was writing like 30 seconds ago
Drag and dropping doesn't work too... unless it's on GitHub. That's the only place where I got it working, but only with videos. Actually, nevermind, it stopped working when I tried that again.
It only happens on Flatpak, it works with the AppImage.
Reproducible?
- [X] I have checked that this issue cannot be reproduced on Mozilla Firefox.
Version
1.0.0-a.30 (only happens on the flatpak version)
Severity impact
High
What platform are you seeing the problem on?
Linux (more exactly Pop!_OS)
Relevant log output
No response
i've tried to to reproduce this and file upload seems working fine, perhaps the problem lies elswhere
Had this issue too when installing through flatpak iirc. I switched to using the
zen.linux-specific.tar.bz2 (which requires a bit more setup) but then it could read files from my disk fixing the file upload issue (and drag-n-drop) issue.
Here's my ~/.local/share/applications/zen-browser.desktop:
[Desktop Entry]
Version=1.0
Type=Application
Name=Zen Browser
Comment=
Exec=/home/ultra/zen/zen %u
StartupWMClass=zen-alpha
Icon=/home/ultra/zen/browser/chrome/icons/default/default128.png
Terminal=false
Categories=Network;WebBrowser;
This assumes you've extracted the zen.linux-specific.tar.bz2 folder to /home/ultra/zen. Update it as needed.
The zen %u is important for opening links- without it, Firefox will just open a blank window when requested from an external application. The StartupWMClass=zen-alpha is important if you want to put the app in your Linux dock.
@ultravigilante what desktop environment do you use? I'm using Plasma 6 and it works fine on flatpak, and OP seems to be using PopOS's Gnome fork so i'm curious if it's a DE related issue?
i've tried to to reproduce this and file upload seems working fine, perhaps the problem lies elswhere
Did you try that on Linux? Did you install it using the AppImage, Flatpak or are you using the zip file?
@ultravigilante what desktop environment do you use? I'm using Plasma 6 and it works fine on flatpak, and OP seems to be using PopOS's Gnome fork so i'm curious if it's a DE related issue?
I'm using Pop!_OS 22.04 LTS, Gnome 42.9
I have the same issue but when dragging files from the file manager to the browser, it works in my other browsers but not this one, doesn't matter the file type either it just doesn't seem to pick it up, if I try to upload/drag an image to a new tab it will say the location in the URL but not actually show anything.
This may be because of an issue in the .desktop file. After installing the AppImage, I had to edit the ZenBrowser.desktop file that it created and add "%u" after the Exec path, so that any file arguments would get passed along.
Before:
Exec=/home/joel/.local/share/AppImage/ZenBrowser.AppImage
After:
Exec=/home/joel/.local/share/AppImage/ZenBrowser.AppImage %u
==========
As a side note... if I try to do the "Make Default" operation from within the Zen settings (set Zen as default browser), because of bug #1797 Zen will create additional .desktop files. There are other problems with those, BUT they do correctly have the "%u" arg after the Exec path. So once I do "Make Default" and create those extra .desktop files, this problem in this issue goes away. Then if I delete those extra .desktop files, the problem comes back, and I have to edit/fix the original ZenBrowser.desktop file.
Hi, @KwiatekMiki,
I'm Dosu, and I'm helping the desktop team manage their backlog. I'm marking this issue as stale. It seems that you reported an issue with file uploads on certain websites when using the Flatpak version of a browser on Pop!_OS Linux. This issue does not occur with the AppImage version and affects multiple browsers like Brave and Firefox, but not GitHub. Suggestions have been made by other users, such as trying a different installation method or editing the .desktop file, but it appears the issue remains unresolved.
Could you please let me know if this issue is still relevant to the latest version of the desktop repository? If it is, kindly comment on this issue to keep it open. Otherwise, feel free to close it yourself, or it will be automatically closed in 7 days. Thank you!
i'm not responding to an ai
@mauro-balades, the user @KwiatekMiki has indicated that the issue with file uploads on certain websites when using the Flatpak version of the browser on Pop!_OS Linux is still relevant. Could you please assist them with this issue?
I tested this in the most recent version of zen twilight and I am not seeing the issue. if this issue still persists please re-open the issue.