Progress of copying to USB flashdrive or MTP device is unrealistic

Version information

Xubuntu 24.04.1 (kernel 6.8.0-110-generic)
Thunar 4.18.8

Steps to reproduce

  1. Create some file on a local drive: fallocate -l 100M file-100M (50-200MB, depends on how fast your flashdrive is)
  2. Copy the file from HDD/SSD to USB flashdrive (ideally us e a cheap one)

Current behavior

Progress bar goes to 100% in 1 second, but after than real copying still in progress and it cannot be canceled (click on cancel button does nothing) and you have have to sit and wait who knows how long until the process is complete.

Expected outcome

The progress bar shows at least approximately the actual progress of file copying (with current transfer rate) and you can cancel it at any time.

That clearly seems to be possible. E.g. doing the copy operation via dd offers that feature.

Additional information

You have to use dd for copying big files: E.g. in console, copy progress can be shown via dd:

dd if=big_file.zip of=/media/mike/my-flash-drive/ big_file.zip oflag=sync bs=5M status=progress

P.S. If change mount mode (in udisk2 config) from flush to sync then progress (in Thunar) become good, but speed goes extremely low (less than 10% of flush-mode), so it's not a solution 😒

Edited by Alexander Schwinn