Summary: | Querying for appearance settings returns color-scheme twice. | ||
---|---|---|---|
Product: | [Plasma] xdg-desktop-portal-kde | Reporter: | Emilio Cobos Álvarez (:emilio) <emilio> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | aleixpol, nicolas.fella |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Emilio Cobos Álvarez (:emilio)
2024-10-23 17:55:51 UTC
As far as I can tell this happens because the settings portal queries all portal backends, so if you have x-d-p-kde and x-d-p-gtk running (which is expected) you will get results from both. Querying the backend directly via "dbus-send --session --dest=org.freedesktop.impl.portal.desktop.kde --print-reply /org/freedesktop/portal/desktop org.freedesktop.impl.portal.Settings.ReadAll 'array:string:org.freedesktop.appearance'a" should only give one result Ohh, indeed. Nice find, thanks! It seems settings portal could merge the results, otherwise applications could get confused... But alright, that indeed explains, thanks! |