-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
File size on event tiles except audio player is displayed in kilobyte (kB, 1000 bytes) instead of kibibyte (KB, 1024 bytes) #24866
Copy link
Copy link
Closed
matrix-org/matrix-react-sdk
#10561Labels
A-File-DownloadA-File-UploadAttachments and file uploadsAttachments and file uploadsO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-Defect
Description
Steps to reproduce
- Upload an audio file to an unencrypted room
- Open File Panel
- Compare the file sizes on audio player and the download link
Otherwise, run cypress test (file-panel.spec.ts) available at matrix-org/matrix-react-sdk#10400
Outcome
What did you expect?
The both values should match.
What happened instead?
The values do not match. The value of the download link is incorrect (the correct value is 3.56 KB).
Operating system
Debian
Browser information
Cypress
URL for webapp
localhost
Application version
develop branch
Homeserver
Cypress
Will you send logs?
No
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-File-DownloadA-File-UploadAttachments and file uploadsAttachments and file uploadsO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-Defect
