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

[Bug] Drive: unable to download files that ask for location before download (large files) #677

Open
TimmyBoi155 opened this issue Mar 7, 2024 · 5 comments

Comments

@TimmyBoi155
Copy link

In vanilla Chromium, I have noticed that files anywhere around 0.5/0.6GB+ will first ask for the file location, then download the file. But files where it is something like 100MB or less, it will download first, then ask you where to put the file. Again, in vanilla Chromium, all of this works fine, and this is the general behavior right now.

Now, in ElectronMail, If i try to do these larger type files, it will not ask for the file location first, but instead just start downloading, until it shows Success/"Downloaded" in green color, like it's complete and successful. And then it will not ask for the file location, either before or after the download.... However, the smaller files like 100MB or something, it will download first, then ask for file location to save, and will work fine

So basically any larger files around 500MB+ (i dont know the exact threshold, tested 600mb and 1gb and 6gb), will not work properly in ElectronMail.

I'm using the Flatpak version on XFCE. If you want me to do any other specific testing, just let me know.

@TimmyBoi155
Copy link
Author

Also, one more thing, in ElectronMail. If I try to download a larger file, then afterward switch back to Mail, it will actually have me logged out in the login screen, and I will have to login again to get back into my email.

@vladimiry
Copy link
Owner

Personally, have never used Drive for anything aside from testing purposes on a very small text files.

I wonder if the issue remains in the non-flatpak version, since flatpak version comes with the "download" only folder availability restriction, which might potentially prevent displaying the folder selection.

Also, see if the log.log file contains suspicious lines (log file located in the settings folder).

@TimmyBoi155
Copy link
Author

Vladimir, thanks for responding.

I did a bit of testing

In flatseal, I gave the app permission for all system files (filesystem=host), like so:
image
After which, I restarted ElectronMail and tried another large file again, but still did not work.

Also, I decided to clear out the log file, start up the app fresh and go straight to drive, and try to download a large file (didnt work of course), then switch to email to see that it logged me out, then logged in again, then close the app. Then I uploaded the log file here, you can see it at this pastebin

https://pastebin.com/raw/keL1epH1

By the way, this message:
Invocation timeout of calling "notification" method on "electron-mail:webview-api:primary" channel with 25000ms timeout
happens as soon as I login to my account with a red banner at the top of the window.

Let me know if there is anything else I can do :) Or if there is anything I can help test.

@TimmyBoi155
Copy link
Author

Vladimir, just out of curiosity, I tried out the same problematic large files on the AppImage, and it also did not work, so this seems to suggest that Flatpak is not the issue. Maybe you need to update the app to the newest Proton code?

@jarrard
Copy link

jarrard commented Aug 14, 2024

got a similar issue but only just started happening where I try and DL attachments and it locks EM up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants