Opened 17 months ago

Last modified 17 months ago

#14917 new bug

Emptying the trash shows progress as a size instead of a count

Reported by: korli Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/ Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by korli)

BStatusView::_FullSpeedString() is used for item counts, this means it shows 2KB for 2000 files to delete.

	BString buffer;
	if (fBytesPerSecond != 0.0) {
		char sizeBuffer[128];
			"%SizeProcessed of %TotalSize, %BytesPerSecond/s"));
			string_for_size((double)fSizeProcessed, sizeBuffer,
			string_for_size((double)fTotalSize, sizeBuffer,
			string_for_size(fBytesPerSecond, sizeBuffer, sizeof(sizeBuffer)));

	return buffer;

status window

Attachments (1)

screenshot51.png (17.5 KB ) - added by korli 17 months ago.
status window

Download all attachments as: .zip

Change History (4)

by korli, 17 months ago

Attachment: screenshot51.png added

status window

comment:1 by korli, 17 months ago

Description: modified (diff)

comment:3 by waddlesplash, 17 months ago

Well, at least in all other operations, it seems to have the correct "bytes" values. So, I wonder why Trash is different?

Note: See TracTickets for help on using tickets.