<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>490935</bug_id>
          
          <creation_ts>2024-07-28 16:27:13 +0000</creation_ts>
          <short_desc>System Monitor: Sorting by name is done in the wrong initial order</short_desc>
          <delta_ts>2024-08-09 15:27:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>plasma-systemmonitor</product>
          <component>general</component>
          <version>6.1.3</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>usability</keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="neobrain">bugs.7ng0x</reporter>
          <assigned_to name="KSysGuard Developers">ksysguard-bugs</assigned_to>
          <cc>ahiemstra</cc>
    
    <cc>nate</cc>
    
    <cc>plasma-bugs-null</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/3ec340a6d787ec5b1bad2c4e2d5ccf96758b7224</cf_commitlink>
          <cf_versionfixedin>6.1.5</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2340798</commentid>
    <comment_count>0</comment_count>
    <who name="neobrain">bugs.7ng0x</who>
    <bug_when>2024-07-28 16:27:13 +0000</bug_when>
    <thetext>SUMMARY
When switching to &quot;sort by name&quot; in the Processes view of System Monitor by clicking the corresponding column, processes are sorted from Z-A first. This is counterintuitive and inconsistent with most other applications.

STEPS TO REPRODUCE
1. Open the Processes view in System Monitor
2. Click the Size column to sort by something-that&apos;s-not-the-name
3. Click the Name column to sort by process name

OBSERVED RESULT
Processes are sorted from Z to A. The user must click the column again to sort from A to Z.

EXPECTED RESULT
Processes should be sorted from A to Z on first click.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2341456</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-07-30 21:09:32 +0000</bug_when>
    <thetext>Can confirm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2343492</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-08-06 10:41:43 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-systemmonitor/-/merge_requests/304</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2344350</commentid>
    <comment_count>3</comment_count>
    <who name="Arjen Hiemstra">ahiemstra</who>
    <bug_when>2024-08-09 09:57:51 +0000</bug_when>
    <thetext>Git commit f1e1446eb173f7cd0508f55354ae1d6d43e8a350 by Arjen Hiemstra.
Committed on 06/08/2024 at 10:40.
Pushed by ahiemstra into branch &apos;master&apos;.

table: Fix default sort order when doing initial sort on a column

Apparently I missed something when porting this to upstream controls, we
don&apos;t have a model here anymore.

M  +2    -1    src/table/TableViewHeader.qml

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/f1e1446eb173f7cd0508f55354ae1d6d43e8a350</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2344351</commentid>
    <comment_count>4</comment_count>
    <who name="Arjen Hiemstra">ahiemstra</who>
    <bug_when>2024-08-09 09:59:34 +0000</bug_when>
    <thetext>Git commit 3ec340a6d787ec5b1bad2c4e2d5ccf96758b7224 by Arjen Hiemstra.
Committed on 09/08/2024 at 09:58.
Pushed by ahiemstra into branch &apos;Plasma/6.1&apos;.

table: Fix default sort order when doing initial sort on a column

Apparently I missed something when porting this to upstream controls, we
don&apos;t have a model here anymore.


(cherry picked from commit f1e1446eb173f7cd0508f55354ae1d6d43e8a350)

Co-authored-by: Arjen Hiemstra &lt;ahiemstra@heimr.nl&gt;

M  +2    -1    src/table/TableViewHeader.qml

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/3ec340a6d787ec5b1bad2c4e2d5ccf96758b7224</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>