Completed on doesn't update if the file is completed again #14906

Open
opened 2026-02-22 01:33:33 -05:00 by deekerman · 5 comments
Owner

Originally created by @xanatos on GitHub (Aug 27, 2023).

qBittorrent & operating system versions

qBittorrent 4.5.4 x64
Windows 11 (10.0.22xxx)
Qt 5.15.10
Libtorrent 1.2.19

What is the problem?

If a torrent is completed, "damaged" in some way, the completed again, the Completed on date isn't updated with the "newer" completion date. So the Completed on date is the date of "first" completion, while I think it should be the date of "last" completion, so that if you sort that column, you can see which torrents were completed in the last few hours/few days.

Steps to reproduce

Complete a torrent
Damage the files (or remove some of them)
Recheck
Complete again the same torrent

Additional context

No response

Log(s) & preferences file(s)

No response

Originally created by @xanatos on GitHub (Aug 27, 2023). ### qBittorrent & operating system versions qBittorrent 4.5.4 x64 Windows 11 (10.0.22xxx) Qt 5.15.10 Libtorrent 1.2.19 ### What is the problem? If a torrent is completed, "damaged" in some way, the completed again, the Completed on date isn't updated with the "newer" completion date. So the Completed on date is the date of "first" completion, while I think it should be the date of "last" completion, so that if you sort that column, you can see which torrents were completed in the last few hours/few days. ### Steps to reproduce Complete a torrent Damage the files (or remove some of them) Recheck Complete again the same torrent ### Additional context _No response_ ### Log(s) & preferences file(s) _No response_
Author
Owner

@thalieht commented on GitHub (Aug 27, 2023):

Not sure what you mean by "damaged". I now tested with deselecting a file and letting the torrent finish and re-select it later. "Completed on" was updated. I use the libtorrent 2 build.

@thalieht commented on GitHub (Aug 27, 2023): Not sure what you mean by "damaged". I now tested with deselecting a file and letting the torrent finish and re-select it later. "Completed on" was updated. I use the libtorrent 2 build.
Author
Owner

@xanatos commented on GitHub (Aug 27, 2023):

Not sure what you mean by "damaged". I now tested with deselecting a file and letting the torrent finish and re-select it later. "Completed on" was updated. I use the libtorrent 2 build.

Tried with the 4.5.4 lt 2.0, still the same problem..

image

Steps:

Download from https://webtorrent.io/free-torrents "Big Buck Bunny" (the site says it is free/creative commons) and let qbittorrent download it.

image

In my case the Completed on (Completato Il, I have the italian version) column was at 23:11.

Pause it, delete the files Big Buck Bunny.en.srt and poster.jpg from the Explorer

Force recheck:

image

It is at 99.7%. The Completed on (Completato Il) column is still at 23:11 . Ok.

Now wait two or three minutes, make it restart and finish again. It should be quick.

image

The torrent completed, but the column Completed on (Completato Il) is still at 23:11. If we check the general details:

image

The Completed on (Completato Il) is 23:11,

@xanatos commented on GitHub (Aug 27, 2023): > Not sure what you mean by "damaged". I now tested with deselecting a file and letting the torrent finish and re-select it later. "Completed on" was updated. I use the libtorrent 2 build. Tried with the 4.5.4 lt 2.0, still the same problem.. ![image](https://github.com/qbittorrent/qBittorrent/assets/821344/72f6ee37-a6e3-4b97-9d59-bff6ce1a1882) Steps: Download from https://webtorrent.io/free-torrents "Big Buck Bunny" (the site says it is free/creative commons) and let qbittorrent download it. ![image](https://github.com/qbittorrent/qBittorrent/assets/821344/39f78976-973b-48cd-bb6d-75cf048b7eb2) In my case the Completed on (Completato Il, I have the italian version) column was at 23:11. Pause it, delete the files Big Buck Bunny.en.srt and poster.jpg from the Explorer Force recheck: ![image](https://github.com/qbittorrent/qBittorrent/assets/821344/e40a4fb2-d345-4950-8f17-dd3d1d959554) It is at 99.7%. The Completed on (Completato Il) column is still at 23:11 . Ok. Now wait two or three minutes, make it restart and finish again. It should be quick. ![image](https://github.com/qbittorrent/qBittorrent/assets/821344/ad491e98-3c3e-4cfa-86d2-005ea68f018f) The torrent completed, but the column Completed on (Completato Il) is still at 23:11. If we check the general details: ![image](https://github.com/qbittorrent/qBittorrent/assets/821344/a1187ae3-f7a8-4b75-87b2-8adc235d15b1) The Completed on (Completato Il) is 23:11,
Author
Owner

@thalieht commented on GitHub (Aug 27, 2023):

Ok i can reproduce but i'm not sure if this is a bug because it isn't "completed again" but rather "repaired" in this case.
Maybe i'm wrong but i think it would be easier for qBt/libtorrent to update the "completed on" field every time the torrent finishes so the current behavior seems intentional.

@thalieht commented on GitHub (Aug 27, 2023): Ok i can reproduce but i'm not sure if this is a bug because it isn't "completed again" but rather "repaired" in this case. Maybe i'm wrong but i think it would be easier for qBt/libtorrent to update the "completed on" field every time the torrent finishes so the current behavior seems intentional.
Author
Owner

@glassez commented on GitHub (Aug 27, 2023):

Could you "transfer" this issue to libtorrent?

@glassez commented on GitHub (Aug 27, 2023): Could you "transfer" this issue to `libtorrent`?
Author
Owner

@DarkVoyage commented on GitHub (Aug 31, 2023):

This is the case, when you should ask users and don't just change normal behavior. No, complete date should not be updated for torrents that were already downloaded before and were unintentionally damaged. If you want to make it updatable - add option for that.

@DarkVoyage commented on GitHub (Aug 31, 2023): This is the case, when you should ask users and don't just change normal behavior. No, complete date should not be updated for torrents that were already downloaded before and were unintentionally damaged. If you want to make it updatable - add option for that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#14906
No description provided.