Bug 2079194
| Summary: | per window screensharing does not work with xdg-desktop-portal-gnome installed | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Martin Krajnak <mkrajnak> | |
| Component: | gnome-shell | Assignee: | Florian Müllner <fmuellner> | |
| Status: | CLOSED ERRATA | QA Contact: | Tomas Pelka <tpelka> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 9.1 | CC: | adam.winberg, jadahl, jgrulich, rstrode, tpelka, tpopela | |
| Target Milestone: | rc | Keywords: | Triaged, ZStream | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | gnome-shell-40.10-4.el9 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2144743 (view as bug list) | Environment: | ||
| Last Closed: | 2023-05-09 07:41:53 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2144743 | |||
|
Description
Martin Krajnak
2022-04-27 07:39:52 UTC
I can still reproduce this with xdg-desktop-portal-gnome-41.2-1.el9.x86_64 I don't know what changes, but it looks like now the workaround with erasing xdg-desktop-portal-gnome does not work anymore. When I delete the package, reboot the PC, the portal dialog is not spawned at all, is there a way to debug this ? I see no background crashes in journal. xdg-desktop-portal-1.12.4-1.el9.x86_64 xdg-desktop-portal-gtk-1.12.0-3.el9.x86_64 firefox-91.10.0-1.el9.x86_64 Everything is working after reverting back to: xdg-desktop-portal-1.12.3-1.el9.x86_64 xdg-desktop-portal-gtk-1.12.0-2.el9.x86_64 + when I add xdg-desktop-portal-gnome-41.2-1.el9.x86_64, the dialog is spawning but as before the is no list of windows. (In reply to Martin Krajnak from comment #2) Thanks a lot for continuing to poke into this, Martin! > I don't know what changes, but it looks like now the workaround with erasing > xdg-desktop-portal-gnome does not work anymore. > > When I delete the package, reboot the PC, the portal dialog is not spawned > at all, > is there a way to debug this ? I see no background crashes in journal. I can't think of anything off the top of my head. I would start debugging this by using something like 'dbus-monitor --session --monitor' to see the D-Bus traffic, and then try to follow the thread from there. Since things are working on Fedora, I would compare the behaviour between Fedora and RHEL to narrow things down. string "type='signal',sender='org.freedesktop.portal.Desktop',interface='org.freedesktop.portal.ScreenCast',path='/org/freedesktop/portal/desktop'" method return time=1654173221.388868 sender=org.freedesktop.DBus -> destination=:1.110 serial=4294967295 reply_serial=256 method call time=1654173221.388886 sender=:1.110 -> destination=org.freedesktop.DBus serial=257 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.portal.Desktop'" method return time=1654173221.388893 sender=org.freedesktop.DBus -> destination=:1.110 serial=4294967295 reply_serial=257 method call time=1654173221.388944 sender=:1.110 -> destination=org.freedesktop.DBus serial=258 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName string "org.freedesktop.portal.Desktop" uint32 0 method return time=1654173221.388953 sender=org.freedesktop.DBus -> destination=:1.110 serial=4294967295 reply_serial=258 uint32 2 method call time=1654173221.396183 sender=:1.110 -> destination=org.freedesktop.DBus serial=259 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.freedesktop.portal.Desktop" method return time=1654173221.396199 sender=org.freedesktop.DBus -> destination=:1.110 serial=4294967295 reply_serial=259 string ":1.115" method call time=1654173221.396436 sender=:1.110 -> destination=:1.115 serial=260 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.DBus.Properties; member=GetAll string "org.freedesktop.portal.ScreenCast" error time=1654173221.396632 sender=:1.115 -> destination=:1.110 error_name=org.freedesktop.DBus.Error.InvalidArgs reply_serial=260 string "No such interface “org.freedesktop.portal.ScreenCast”" BINGO ? ^ We will need to backport https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1894 into gnome-shell. Currently xdg-desktop-portal-gnome fails with: (xdg-desktop-portal-gnome:23092): WARNING : 08:38:06.445: Failed to get window list: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: GetWindows is not allowed Also, we might want to add somewhere dependency (runtime) on xdg-desktop-portal-gnome as it looks it might happen it will not get pulled in during upgrade from RHEL 9.0 to RHEL 9.1 (see https://bugzilla.redhat.com/show_bug.cgi?id=2144516). *** Bug 2144516 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (gnome-shell bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2280 |