zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
12.34k stars 293 forks source link

Files don't open/upload on websites #940

Open KwiatekMiki opened 2 weeks ago

KwiatekMiki commented 2 weeks ago

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?

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

defaltastra commented 2 weeks ago

i've tried to to reproduce this and file upload seems working fine, perhaps the problem lies elswhere

ultravigilante commented 2 weeks ago

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.

OhNoOhNOOO commented 2 weeks ago

@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?

KwiatekMiki commented 2 weeks ago

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 commented 2 weeks ago

@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

MacBeibhinn commented 3 days ago

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.