Bug 1882894 - gnome-shell 3.38 relies on xdg-desktop-portal 1.8
Summary: gnome-shell 3.38 relies on xdg-desktop-portal 1.8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Müllner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-26 10:26 UTC by Jakub Steiner
Modified: 2020-10-01 00:17 UTC (History)
6 users (show)

Fixed In Version: gnome-shell-3.38.0-2.fc34 gnome-shell-3.38.0-2.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-29 13:26:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jakub Steiner 2020-09-26 10:26:30 UTC
Description of problem:

fedora 33 currently ships with version 1.7.2 of xdg-desktop-portal. For things like screen capture to work on Wayland, gnome-shell needs version 1.8. 

Steps to Reproduce:
1. Run default gnome session on wayland
2. Install OBS from flathub (or any app that makes use of the screen capture portal (https://flatpak.github.io/xdg-desktop-portal/portal-docs.html#gdbus-org.freedesktop.portal.ScreenCast)
3. Add a Desktop or Window Capture element.

Actual results:

App never brings up the portal dialog to allow capturing windows or desktop. 1.7.2 would work with gnome-shell 3.36, but gnome-shell 3.38 needs 1.8

Expected results:
Screen capture working in F33.

Comment 1 David King 2020-09-28 09:30:08 UTC
1.8.0 of xdg-desktop-portal (and xdg-desktop-portal-gtk) has now gone stable in F33, so will be the version that ends up on installed systems, but this dependency should probably end up in the gnome-shell package. gnome-shell currently has an unversioned dependency on xdg-desktop-portal-gtk, so I am not sure whether adding a version to that dependency, or a new versioned dependency on xdg-desktop-portal, is more appropriate.

Comment 2 David King 2020-09-29 13:26:23 UTC
Ironically, the linked portal documentation does not, include the new API that gnome-shell requires. The dependency is on xdg-destop-portal-gtk, as that is the backend for xdg-desktop-portal that uses gnome-shell, so adding the version to the existing dependency seems the right way to go.

Comment 3 Fedora Update System 2020-09-29 13:36:58 UTC
FEDORA-2020-329f006a11 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-329f006a11

Comment 4 Jakub Steiner 2020-09-29 17:37:45 UTC
Screen sharing now works great! Thank you.

Comment 5 Fedora Update System 2020-09-30 01:10:29 UTC
FEDORA-2020-329f006a11 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-329f006a11`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-329f006a11

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-10-01 00:17:01 UTC
FEDORA-2020-329f006a11 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.