Summary: | Processors numbers listed are machine-sorted, not human-sorted in Device Viewer | ||
---|---|---|---|
Product: | [Applications] kinfocenter | Reporter: | Stefan Süss <stefan.suess89+kde> |
Component: | Device Viewer | Assignee: | David Hubner <hubn3rd> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | isaac.true, nate, petertheobald, simonandric5, sujith.2293 |
Priority: | NOR | Keywords: | junior-jobs |
Version: | 5.10.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kinfocenter/7c0f85162ee978753e7bbe726455b7388023afb6 | Version Fixed In: |
Description
Stefan Süss
2017-05-30 14:03:22 UTC
Greetings, My name is Sujith, I am new to KDE, I am not sure where to start from, like where to find the source code and how to go about making changes, can someone here please walk me through this. Thanks Sujith You can find KDE sources on cgit.kde.org I've uploaded a diff which implements sorting of the device tree items: https://phabricator.kde.org/D7155 *** Bug 395710 has been marked as a duplicate of this bug. *** Git commit 7c0f85162ee978753e7bbe726455b7388023afb6 by Christoph Feck, on behalf of Isaac True. Committed on 27/06/2018 at 20:21. Pushed by cfeck into branch 'master'. Implement sorting of the device tree items This patch fixes the issue of processor numbers not being sorted in human-readable order. It overloads the < operator on the SolDevice class to implement sorting by process number and sorting by storage volume names (as they should go, e.g.: sda, sda1, sda2...). Reviewed by: cfeck, davidedmundson Differential Revision: https://phabricator.kde.org/D7155 M +1 -0 Modules/devinfo/devicelisting.cpp M +25 -0 Modules/devinfo/soldevice.cpp M +1 -0 Modules/devinfo/soldevice.h https://commits.kde.org/kinfocenter/7c0f85162ee978753e7bbe726455b7388023afb6 |