The actual xdg-utils suite fails actions on kde6. The following fix should be in place: - xdg-open: On ${KDE_SESSION_VERSION} == 6 kde-open should be called. - xdg-settings get: kreadconfig6 should used to read config. - xdg-settings set: kwriteconfig6 should used to read config. Reproducible: Always Steps to Reproduce: 1. Install plasma6/kde6 2. xdg-open http://www.gentoo.org 3. xdg-settings get default-web-browser Actual Results: 2. Will not open anything 3. Will fail searching for kreadconfig Expected Results: 2. Web browser should be opened with the www.gentoo.org homepage 3. Should give the actual default browser
Created attachment 886615 [details, diff] xdg-open fix
Created attachment 886616 [details, diff] xdg-settings fix
Haven't tried plasma6 myself, but it's supposed to already have support for 6 from $URL. And these changes are present in ~testing xdg-utils-1.2.1 that I can see. Are you using stable xdg-utils-1.1.3_p20210805-r2?
This is also something inherently upstream, it's really not Gentoo's job to add new features to xdg-utils. It's the job of upstream to do so, and Gentoo to package it.
Please don't test the new KDE releases on stable yet. I don't want it to leave a bad impression because of things to fix on our side. The experience in ~arch when unmasking should be OK though. Also, supposing these errors do exist upstream still, please submit these patches as MRs there, but I don't think they do.
Stupid me. My mistake. I have not noticed the 1.2.1 ebuild and I just modified myself to have a working setup... without any check on xdg-utils package. Sorry for this noise. ciao luigi