Bug 468170 - Sort rules by default first, custom later and alphabetically
Summary: Sort rules by default first, custom later and alphabetically
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_flatpak (other bugs)
Version First Reported In: 5.27.3
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-05 12:40 UTC by postix
Modified: 2024-09-08 20:52 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2023-04-05 12:40:45 UTC
SUMMARY

When adding new rules they are sorted somehow abitrary:

```
Filesystem Access
All User Files
All ...
/home/myaccount/foo/bar  # custom rule
All System Configurations
```

I would expect custom added rules to appear last and sorted alphabetically.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230403
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Comment 1 ratijas 2023-04-05 15:39:51 UTC
Custom rules are loaded after default ones (unless they override existing defaults). But they are currently unsorted, yes.

About that particular bug you found in Filesystem Access section, it's been fixed in https://invent.kde.org/plasma/flatpak-kcm/-/commit/5cb9912fc5dcdb8501e3b971b13f4c3ebbf543a2