-
Notifications
You must be signed in to change notification settings - Fork 14
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
xdg-desktop-portal is like half broken #509
Comments
I kind of experienced weirdness with xdg-desktop-portal as well, but it was very inconsistent and nonreproducible, and seemed to still manifest when i reverted the changes; which was very weird, why would this break now? as such, i naively assumed that this regression on my system was unrelated to the changes to niri-flake... I've tested with flatpak like you showed, and the change you made does indeed seem to fix the issue. I've added it in a new commit 318b1ef. In general, my system works fine now, but one very peculiar oddity remains:
so... uh... in theory i'd want systemd is giving me massive headaches. god this sucks. cc @YaLTeR do you have any idea what do? this shouldn't be nixos-specific and honestly at this point given the interaction i described with xdg-desktop-portal, i give it 50/50 odds that this might actually be a problem with niri's session handling? probably not, since it seems to work just fine on every other distro, but like,,, what else could it be? do you know why |
niri-flake-polkit
fix breaks XDG Portal access from Flatpak
ok systemd is definitely playing a sick fucking joke on me because i set up a BEAUTIFUL little anywhow, TLDR, current symptoms: everything Works Technically, it just sometimes takes about 2 minutes to start xdg-desktop-portal (but there is no delay when i wanted to record it) |
I think systemd-analyze should have some dependency analysis tools, maybe those can help? |
this is the beautiful little watch window i mentioned in sodiboo/niri-flake#509
Sounds like what I'm experiencing; xdg-portal accesses will just time out after some logins, causing waybar to start delayed, apps to look weird because of missing settings, etc. One wild guess: During some logouts, xdg-desktop-portal will first stop, and then immediately start during that same second. It's weird, why would it start again during logout? If I then log in quickly (not sure if "quickly" is actually required...), Portals won't work properly. Log excerpt during logout:
|
The fix for #348 in fd00de2 seems to break XDG Portals from within Flatpak on my machine. For example, clicking on a link inside a Flatpak app or opening an attachment in Evolution installed as Flatpak no longer works.
This can be reproduced by running
xdg-open
from within a Flatpak sandox:which will produce the following Journal:
It works if I re-add
to my config.
The text was updated successfully, but these errors were encountered: