| Summary: | When sorting by priority, 100%-completed tasks are sorted between 10% and 20%s | ||
|---|---|---|---|
| Product: | [Applications] ktimetracker | Reporter: | Nico <abo> |
| Component: | general | Assignee: | Zoltan Gyarmati <mr.zoltan.gyarmati> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | mr.zoltan.gyarmati |
| Priority: | NOR | ||
| Version First Reported In: | 4.6.x | ||
| Target Milestone: | --- | ||
| Platform: | Debian unstable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | screenshot example | ||
wow, sounds plausible. Will try to reproduce, but I think it is exactly like this. See also bug 225139 Patch to fix this sent for review as: https://git.reviewboard.kde.org/r/121369/ ID: 10c7cfb2aaf239c57d5e244ef7455a26732d0ba9 ktimetracker: sort progress percentage numerically and tasks case-insensitively REVIEW: 121369 |
Created attachment 64972 [details] screenshot example Version: 4.6.x OS: Linux Sorting by %-progress does not give expected results. One possible explanation would be that comparison between % values is string-wise, displaying 100% between 10% and 20%. Reproducible: Always Steps to Reproduce: 1. create three tasks in KTimeTracker 2. complete one to 10%, the second to 20% and the third to 100% 3. click on "progress percentage" to sort on these values Actual Results: The completed tasks (100%) appear between tasks that are 10% and 20%-completed. Expected Results: Completed tasks (100%) should be displayed last or first regarding sort order. I don't think the bug depends on any configuration or circumstances.