Bug 486552 - applications-blacklistrc ignored since Plasma 6
Summary: applications-blacklistrc ignored since Plasma 6
Status: REPORTED
Alias: None
Product: plasma-mobile
Classification: Plasma
Component: Shell (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Mobile Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-04 09:36 UTC by Plata
Modified: 2024-05-09 09:52 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Plata 2024-05-04 09:36:08 UTC
SUMMARY
I'm using this blacklist https://github.com/plata/ublue-surface/blob/main/config/files/usr/etc/xdg/applications-blacklistrc to hide certain apps in Folio/Halcyon. After updating to Plasma 6, the blacklisted apps are shown.

STEPS TO REPRODUCE
1. Create/edit     /usr/etc/xdg/applications-blacklistrc
2. Check Folio/Halcyon

OBSERVED RESULT
Apps are shown.

EXPECTED RESULT
Apps are not shown.

SOFTWARE/OS VERSIONS
Linux: Fedora 40 (Kinoite)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Comment 1 Devin Lin 2024-05-06 00:38:22 UTC
In Plasma 6, Plasma Mobile writes the default entry in .config/applications-blacklistrc which has a higher priority than /usr/etc/xdg/applications-blacklistrc

Try writing the value to .config/applications-blacklistrc
Comment 2 Plata 2024-05-09 09:52:18 UTC
If I understand correctly, the defaults are set in https://invent.kde.org/plasma/plasma-mobile/-/blob/master/envmanager/config.h, right? I see that the applications-blacklistrc has been removed from Plasma Phone Settings in https://invent.kde.org/plasma-mobile/plasma-phone-settings/-/commit/c6a19738bd9800811a124e18e58a383b85db3c01 but the commit does not provide any further details.

What's the correct way to influence the default from a distribution's perspective? Can I add my applications-blacklistrc to /etc/skel?