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

Bug 927949

Summary: kde-plasma/plasma-meta:6 and related: Require >=x11-misc/xdg-utils-1.2.1-r1
Product: Gentoo Linux Reporter: krpisjar
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: asturm
Priority: Normal Keywords: LATER
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=926103
Whiteboard:
Package list:
Runtime testing required: ---

Description krpisjar 2024-03-27 10:17:45 UTC
Title, if this condition is not met, links in the KDE Plasma 6 desktop environment don't work, as <x11-misc/xdg-utils-1.2.1-r1 does not have support for Plasma 6, resulting in xdg-open returning nothing.

Reproducible: Always

Steps to Reproduce:
1. Use xdg-open https://gentoo.org
2. Nothing happens
Actual Results:  
Links in most applications are broken and don't open

Expected Results:  
Links open regularly.

This is caused by the fact that xdg-open only accounts for ${KDE_SESSION_VERSION} being set to either 4, in which case it runs kde-open "$1", or 5, in which case it runs kde-open5 "$1", but there is no case for it returning 6, hence it dropping everything.
Comment 1 Andreas Sturmlechner gentoo-dev 2024-03-27 11:41:57 UTC
We know, and 1.2.1-r1 is what you'll already have in ~arch. Stable is no concern right now while Plasma-6 is still masked, but kde overlay already has the relevant xdg-utils version in its provided package.accept_keywords file anyway.

https://github.com/gentoo/gentoo/pull/35612