Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 915704

Summary: [Tracker] Compatibility issues with >=sys-apps/xdg-desktop-portal-1.18.0
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: CONFIRMED ---    
Severity: normal CC: andrewammerlaan
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://lore.kernel.org/distributions/87sf6dap1g.fsf@gentoo.org/T/#u
See Also: https://bugs.gentoo.org/show_bug.cgi?id=916443
https://bugs.gentoo.org/show_bug.cgi?id=926410
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 915705, 915111, 915356, 915702, 915703, 915706, 915707, 915708    
Bug Blocks:    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-14 02:41:34 UTC
Please file new bugs and have them block this one.

Key points:
* A lot of the detail is in bug 915356 and the big list of links in the See Also there.
* The gist is that with >=xdg-desktop-portals-1.18.0, Portals (and possibly DEs/WMs if they lack their own portal) must provide their own Portals config file.

Action needed:
- Maintainers of desktop environments in Gentoo need to: make sure their DE provides a configuration upstream
- Maintainers of window managers in Gentoo need to: _ask_ if their WM provides a configuration/recommendation upstream, but if not, either add a sensible default, or document on the wiki the need to choose.

Especially see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050911#35 but the various links in bug 915356 are important too.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-14 02:53:20 UTC
Even when the various blocker bugs are fixed, we should shove something on the wiki in some general page as everyone will need to consider this at least, even if they're OK with the default.
Comment 2 Matthew Turnbull 2023-10-31 02:04:35 UTC
Would it be desirable for Gentoo to ship a global default to have basic/limited support for any environment that doesn't explicitly ship a config? Having limited functionality might be better than no default functionality out of the box.

i.e. what Void is doing - as mentioned in the linked discussion thread.
https://github.com/void-linux/void-packages/commit/b4c404aac0af3ced08671a8840cd261198689cef
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-24 14:48:14 UTC
(In reply to Matthew Turnbull from comment #2)
> Would it be desirable for Gentoo to ship a global default to have
> basic/limited support for any environment that doesn't explicitly ship a
> config? Having limited functionality might be better than no default
> functionality out of the box.
> 
> i.e. what Void is doing - as mentioned in the linked discussion thread.
> https://github.com/void-linux/void-packages/commit/
> b4c404aac0af3ced08671a8840cd261198689cef

I missed this, but yes, we did precisely that on the day I filed the bug: https://bugs.gentoo.org/915356#c1