Bug 428005 - Total elapsed time 'overflows' at 24 hours into operation
Summary: Total elapsed time 'overflows' at 24 hours into operation
Status: RESOLVED FIXED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.1.0
Platform: Kubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-19 23:27 UTC by emiel.demeestere
Modified: 2023-11-26 18:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Total time says 00:22:39 while it should be 24:22:39. (172.94 KB, image/png)
2020-10-19 23:27 UTC, emiel.demeestere
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emiel.demeestere 2020-10-19 23:27:51 UTC
Created attachment 132573 [details]
Total time says 00:22:39 while it should be 24:22:39.

SUMMARY
I started to move a 1500GB partition on my HDD, which took a very very long time.
At 78% around 23 hours where passed.
At 82% I noticed the total time passed was 22 minutes, which is wrong because at that time it should have been 24 hours and 22 minutes. (see attached image)

STEPS TO REPRODUCE
1. Have a slow HDD and a big partition to move (> 1TB)
2. Move the big partition
3. Wait a looong time (over 24 hours)

OBSERVED RESULT
Total time starts counting back from 0 after 24 hours.

EXPECTED RESULT
Total time should keep on counting up after 24 hours.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 Andrius Štikonas 2020-10-19 23:46:08 UTC
Hmm, as it happens I ported QTimer to QElapsedTimer in KDE Partition Manager 4.2.0 (You have 4.1.0).

So it is likely that this is fixed.

https://invent.kde.org/system/partitionmanager/-/commit/6ab1e3aa13605b27d807d334d6446585ed1df41c

Confirming whether this is fixed though is quite annoying :(. 24 hours...
Comment 2 Andrius Štikonas 2023-11-26 18:46:30 UTC
Let's close it since there has been no new reports of this.