Skip to content

[Bug]: Large files show wrong (negative) file size when syncing #8704

@bastian2001

Description

@bastian2001

⚠️ Before submitting, please verify the following: ⚠️

Bug description

The app shows a negative progress when syncing files >2GiB
I assume it uses 32 bit signed integers for the progress. Total file size seems to be tracked correctly.

Steps to reproduce

  1. Upload files >2GiB to your Nextcloud
  2. Check the upload progress

You might need multiple large files to get a chance to see this, depending on your Client and Server speed. I noticed this when syncing already synced files (just comparison), so I only had a few seconds to capture this.

Expected behavior

Showing correct file size

Which files are affected by this bug

What is meant by this?

Operating system

Linux

Which version of the operating system you are running.

KDE neon

Package

Distro package manager

Nextcloud Server version

31.0.8

Nextcloud Desktop Client version

3.16.0daily (KDE)

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

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

Additional info

No response

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions