Bug 422201 - Session list in manager is not sorted by name anymore
Summary: Session list in manager is not sorted by name anymore
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: sessions (other bugs)
Version First Reported In: 20.04.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-28 22:06 UTC by Alex Hermann
Modified: 2020-10-30 04:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Hermann 2020-05-28 22:06:43 UTC
SUMMARY

This bug is a regression since commit 4b0260eb67bd21.

Since that commit, the order of the sessions in the manager is by date instead of name. This makes the list very hard to read/search, especially when there is a non-trival amount of sessions (well over a hundred). It now requires an extra click to get the list sorted.

Well, in short, The above mentioned commit changed the default sort order without mentioning it in the commit. So that change seems to be unintentional.


STEPS TO REPRODUCE
1. In Kate, select "Sessions" -> "Manage Sessions..."
2. Notice the list seems unordered, but is actually ordered by the 3rd column
3. Click on the "session Name" column
4. Order is restored, list is ordered by name again

OBSERVED RESULT
List ordered by "Last opened"

EXPECTED RESULT
List ordered by "Session Name", as it used to be.
Comment 2 Justin Zobel 2020-10-30 04:46:40 UTC
(In reply to Alex Hermann from comment #1)
> https://invent.kde.org/utilities/kate/-/merge_requests/86

As this has been merged and I can see that Sessions are listed alphabetically I'll close this report Alex, thanks for the MR!