| Summary: | Indicator icons for sorting order are reversed | ||
|---|---|---|---|
| Product: | [Applications] plasma-systemmonitor | Reporter: | neobrain <bugs.7ng0x> |
| Component: | general | Assignee: | KSysGuard Developers <ksysguard-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ahiemstra, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.5 | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
neobrain
2023-06-11 12:39:11 UTC
> Just like "1<4", I expect top elements to be smaller than bottom elements if the displayed
This should've been "Just like '1<4', I expect top elements to be smaller if the displayed icon is '^'.".
(Are edits intentionally disabled on this bugzilla instance? That's very frustrating from the reporter's perspective, and doesn't seem conducive to good bug reports.)
Git commit 6145804afb235eecb6a7ccf36c602c23c6038289 by Tony Wasserka. Committed on 27/06/2023 at 09:05. Pushed by ahiemstra into branch 'master'. Fix indicated sort order for numeric columns Previously, the ordering function was purposely inverted to ensure a certain initial sort order for numeric columns. However, this causes the wrong sort indicator icon to be displayed. The desired initial ordering can instead be adjusted by exposing Qt::InitialSortOrderRole in the ProcessModel. M +46 -24 processui/ProcessModel.cpp https://invent.kde.org/plasma/libksysguard/-/commit/6145804afb235eecb6a7ccf36c602c23c6038289 |