https://bugs.kde.org/show_bug.cgi?id=461070
Oliver Beard <olib...@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/plas | |ma/libksysguard/-/commit/bf | |2685a3628f213e930743676a6d7 | |13e630c6a59 Resolution|--- |FIXED --- Comment #21 from Oliver Beard <olib...@outlook.com> --- Git commit bf2685a3628f213e930743676a6d713e630c6a59 by Oliver Beard, on behalf of Maciej Stanczew. Committed on 13/08/2023 at 15:19. Pushed by olib into branch 'Plasma/5.27'. sensors: Correctly handle the return value of QCollator::compare QCollator::compare() can return any integer, not just [-1, 0, 1]. Comparing the result with -1 happened to work with most locales, but it broke with the C locale. As a result, when sensors were put into std::map, they were sometimes erroneously treated as duplicates, leading to a randomly incomplete and garbled sensor list. (cherry picked from commit 0a7efca4b331eb9619a2a88fe9093cbbbd351b6e) M +1 -1 sensors/SensorTreeModel.cpp https://invent.kde.org/plasma/libksysguard/-/commit/bf2685a3628f213e930743676a6d713e630c6a59 -- You are receiving this mail because: You are watching all bug changes.