https://bugs.kde.org/show_bug.cgi?id=420693

Ilya Fedin <fedin-ilja2...@ya.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |UPSTREAM

--- Comment #4 from Ilya Fedin <fedin-ilja2...@ya.ru> ---
The bug I'm describing here was fixed on snapd side with
https://github.com/snapcore/snapd/commit/d644659aa7f0605d6fcdfd80fa45d1a54bbfda8d
long time ago.

If anyone is interesting why such kind of issues happen with Qt, but not gtk
applications (xdg-desktop-portal is not the only problem here, I've also
experienced such a problem with org.freedesktop.Notifications service on MATE
systems), that's because glib's GDBusProxy class emits a
org.freedesktop.DBus.StartServiceByName which is allowed by snapd, so it
happens by the time a gtk application does request, the service is already
started. Qt has nothing like this. So I'm wrapping D-Bus calls with
StartServiceByName calls in my applications for them to work nicely with snapd.
This is still required for any calls except of xdg-desktop-portal as this was
fixed only for xdg-desktop-portal from snapd side.

But of course it doesn't mean opening files works with Qt and snap as there's
still https://bugreports.qt.io/browse/QTBUG-83939, it's another bug though.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to