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]: Drag & Drop upload progress bar does not show for big files #48270

Open
4 of 8 tasks
mgutt opened this issue Sep 22, 2024 · 14 comments
Open
4 of 8 tasks

[Bug]: Drag & Drop upload progress bar does not show for big files #48270

mgutt opened this issue Sep 22, 2024 · 14 comments

Comments

@mgutt
Copy link

mgutt commented Sep 22, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

Drag & Drop showed in the past a progress bar:
#4164

I think the last time it worked was in NC28.

Steps to reproduce

Opened a demo account at https://try.nextcloud.com/ and dropped a file. No progress was visible. The file was uploaded successfully.
I tested with recent Google Chrome. Didn't tested other browsers.

Expected behavior

Show progress

Nextcloud Server version

29

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@mgutt mgutt added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Sep 22, 2024
@solracsf
Copy link
Member

v29.0.7, Chrome.

image

@mgutt
Copy link
Author

mgutt commented Sep 23, 2024

v29.0.7, Chrome.

Did you really use Drag & Drop or did you use the + button? A friend of mine confirmed that if does not work in Chrome with Drag & Drop 😳

@mTrax-
Copy link

mTrax- commented Sep 23, 2024

v29.0.7, Chrome.

Did you really use Drag & Drop or did you use the + button? A friend of mine confirmed that if does not work in Chrome with Drag & Drop 😳

I have the same behavior, no progress bar when using file drop while the progress bar is visible when using the "+" button.
Tested with FIrefox, Edge, Chrome, all up to date on Windows 11.

@solracsf
Copy link
Member

solracsf commented Sep 24, 2024

Yes, Drag n Drop on v29.0.7.
Try clear your browser cache?

explorer_iekajNurO6

@XueSheng-GIT
Copy link

@solracsf I just tried drag'n'drop in Win11 with Firefox 130 (Nextcloud 29.0.7). For some files the progress bar is shown. For others not at all.
For example, progress bar is not shown for latest nextcloud zip file (using drag'n'drop):
https://download.nextcloud.com/server/releases/latest.zip

Uploading using the + works as expected (progress bar is displayed).

Unfortunately, I wasn't able to find a file which works and which I could share (privacy).

@solracsf
Copy link
Member

solracsf commented Sep 24, 2024

Ok this seems to be (maybe) a files size issue because small (<20MiB) works fine, but not bigger files.
Indeed, https://download.nextcloud.com/server/releases/latest.zip file fails to show the progress bar (file is still uploaded in the background).

@solracsf solracsf changed the title [Bug]: Drag & Drop upload progress is broken [Bug]: Drag & Drop upload progress bar does not show for big files Sep 24, 2024
@coinfastman
Copy link

I confirm that after updating to 29.0.7, such a problem appeared. When I upload large files, the progress bar is there until the very end of the file download, but when chunks start to be collected in the background, the progress bar disappears and there is no status about the successfully downloaded file, after some time the file appears in the interface. That is:

  1. the progress bar disappears
  2. There is no notification about the successfully downloaded file

@sinohiro
Copy link

This issue was confirmed in Nextcloud 30 as well.
When files are dragged and uploaded from the web browser, the progress bar works normally for files under 20MB, but it does not display when uploading files larger than that. Since it works correctly in the client app, I believe this problem only occurs in the web browser.

@VieuFou34
Copy link

VieuFou34 commented Sep 25, 2024

Hi,

I have the same issue in the 29.0.7 / firefox-edge. Draggin the file does not make the bar show up. Using the + button works. Chunk size is 20MB.

Thx

@NepBlanc
Copy link

I also have the issue in 30.0.0 /firefox-edge uploading large files with drag and drop does not show the ui at all!
have not tried the + button but I assume it is the same

@nextcloud nextcloud locked and limited conversation to collaborators Sep 26, 2024
@solracsf solracsf added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Sep 27, 2024
@solracsf
Copy link
Member

Let me just add that, sometimes, it just stucks at "Estimating Time Left" while uploads happens in the background.

image

@julien-nc
Copy link
Member

This seems to be related with chunk upload.
This only happens when chunk upload is enabled (default max_chunk_size value in Files app config).
After disabling chunk upload (occ config:app:set files max_chunk_size --value 0) the progress bar is displayed correctly when dropping big files.

@solracsf
Copy link
Member

solracsf commented Oct 1, 2024

After disabling chunk upload (occ config:app:set files max_chunk_size --value 0) the progress bar is displayed correctly when dropping big files.

Confirmed on 29.0.7 👍

@nextcloud nextcloud unlocked this conversation Oct 1, 2024
@VieuFou34
Copy link

After disabling chunk upload (occ config:app:set files max_chunk_size --value 0) the progress bar is displayed correctly when dropping big files.

Confirmed on 29.0.7 👍

Also confirmed on 29.0.7 here

Isn't it a problem disabling chunks ?

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