Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect type for org.freedesktop.appearance:accent-color in settings portal impl #37

Closed
yuki0iq opened this issue Oct 16, 2024 · 2 comments

Comments

@yuki0iq
Copy link

yuki0iq commented Oct 16, 2024

libadwaita apps, for example d-spy and easyeffects, can't pick up accent color from xdp-luminous' settings because of wrong type

$ grep accent ~/.config/xdg-desktop-portal-luminous/config.toml 
accent_color = "#880022"
$ paru -Qi xdg-desktop-portal-luminous-git | awk /Version/
Version         : r105.0a74579-1
$ printenv XDG_SESSION_DESKTOP 
sway
$ printenv XDG_CURRENT_DESKTOP
sway
$ grep luminous ~/.config/xdg-desktop-portal/sway-portals.conf 
org.freedesktop.impl.portal.Settings=luminous
$ systemctl --user status xdg-desktop-portal-luminous
● xdg-desktop-portal-luminous.service - Xdg Desktop Portal backend for wlroots-based compositors written with rust
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal-luminous.service; static)
     Active: active (running) since Wed 2024-10-16 23:32:01 MSK; 6min ago
 Invocation: 56ba9fd3121941fd8449b4aa7e8632e7
   Main PID: 89897 (xdg-desktop-por)
      Tasks: 6 (limit: 19093)
     Memory: 3.3M (peak: 3.8M)
        CPU: 44ms
     CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/xdg-desktop-portal-luminous.service
             └─89897 /usr/lib/xdg-desktop-portal-luminous

Oct 16 23:32:01 reimu systemd[774]: Starting Xdg Desktop Portal backend for wlroots-based compositors written with rust...
Oct 16 23:32:01 reimu xdg-desktop-portal-luminous[89897]: 2024-10-16T20:32:01.964410Z  INFO xdg_desktop_portal_luminous: luminous Start
Oct 16 23:32:01 reimu systemd[774]: Started Xdg Desktop Portal backend for wlroots-based compositors written with rust.
$ d-spy
(d-spy:89927): Adwaita-CRITICAL **: 23:32:30.609: Invalid type for org.freedesktop.appearance.accent-color: expected (ddd), got ad
...
$ easyeffects
(easyeffects:90461): Adwaita-CRITICAL **: 23:39:29.819: Invalid type for org.freedesktop.appearance.accent-color: expected (ddd), got ad
...
@yuki0iq yuki0iq changed the title libadwaita apps can't pick up the accent colors incorrect type for org.freedesktop.appearance:accent-color in settings portal impl Oct 16, 2024
@Decodetalkers
Copy link
Collaborator

I will fix it today

@Decodetalkers
Copy link
Collaborator

ok, now fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants