ScreenCast portal is misspelled as Screencast in sway-portals.conf
Description:
The name of the ScreenCast portal (uppercase C) is misspelled as Screencast (lowercase c) in sway-portals.conf
, which causes xdg-desktop-portal
to fall back to the deprecated UseIn key from the portal definitions, leading to the xdg-desktop-portal-hyprland
screencast portal being used instead of xdg-desktop-portal-wlr
.
Additional info:
- package version(s): sway 1:1.8.1-4, xdg-desktop-portal 1.18.2-1, xdg-desktop-portal-wlr 0.7.0-2, xdg-desktop-portal-hyprland 1.2.6-1
- config and/or log files: log-broken.txt, log-fixed.txt
- link to upstream bug report, if any:
sway-portals.conf
is a downstream file
Steps to reproduce:
- Install
sway
,xdg-desktop-portal
,xdg-desktop-portal-wlr
andxdg-desktop-portal-hyprland
- Start sway
- Observe
journalctl --user -u xdg-desktop-portal -f
- Run
systemctl --user restart xdg-desktop-portal
(produces log-broken.txt) - Change
sway-portals.conf
to fix the typo - Run
systemctl --user restart xdg-desktop-portal
(produces log-fixed.txt)