Rounding error for media duration, visible on some files when mousing over

(#3370) Bug Closed: Fixed Priority: P2 desktop media

Reproduction steps

  1. Upload an affected file. Example mp3 is attached.
  2. Switch channels and come back. Observe the reported media duration.
  3. Mouse over the media embed. The duration will change.

Observed behaviour

The visible duration for some media files changes when moused over. I am guessing a different type of rounding is used for the preview before and after mouseover. Video demonstrating the bug is attached.

Build information

Canary Desktop 2026.913.210037, Web 2026.915.160715, Linux 7.1.13-200.fc44.x86_64 (x64), Electron 44.1.1, Chrome 152.0.7977.65, Node 24.19.0, Locale en-US

Platform

Linux

Details

Expected behaviour Mousing over media should not change the visible duration of the file.
  1. Hampus changed the status from Confirmed to Fix pending
  2. Rex changed the status from Fix pending to Awaiting confirmation
  3. Fullest changed the status from Awaiting confirmation to Fixed
  1. The pull request fluxer#4090 mentions this post Merged

2 comments

Sign in with Fluxer to comment and vote.
Comment by bizo
bizoReviewer 1 vote
Status changed from Needs triage to Confirmed
Canary Desktop 2026.1006.171724, Web 2026.1006.190110, Windows 11 10.0.26200 (x64), Electron 44.4.1, Chrome 152.0.7977.78, Node 24.21.0, Locale en-GB