Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma 6.2 not opening links from non-KDE apps in Firefox
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Havin_it
Veteran
Veteran


Joined: 17 Jul 2005
Posts: 1266
Location: Edinburgh, UK

PostPosted: Thu Oct 17, 2024 5:23 pm    Post subject: Plasma 6.2 not opening links from non-KDE apps in Firefox Reply with quote

Hi,

Title says it all really. Since update to plasma-desktop-6.2.0, some apps can't tell the desktop to open web links in default browser (firefox-bin in my case). Example affected apps are signal-desktop-bin and Netbeans (upstream distro, not from portage). It still works in Yakuake so I'm assuming the issue is limited to non-KDE apps.

I wondered if my not using plasma-meta might have me missing something I need, but I can't see anything in this list that it might be.
Code:
[ebuild  N     ] dev-libs/crypto++-8.9.0:0/8.9.0::gentoo  USE="asm -static-libs -verify-sig" 9,071 KiB
[ebuild  N     ] dev-python/pycups-2.0.4::gentoo  USE="-debug -examples" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13" 64 KiB
[ebuild  N     ] dev-python/psutil-6.0.0::gentoo  USE="-debug -test" PYTHON_TARGETS="python3_12 -pypy3 -python3_10 -python3_11 -python3_13" 500 KiB
[ebuild  N     ] dev-python/versioneer-0.29-r1::gentoo  USE="-test" PYTHON_TARGETS="python3_12 -pypy3 -python3_10 -python3_11 -python3_13" 77 KiB
[ebuild  N     ] x11-misc/appmenu-gtk-module-24.05-r2::gentoo  USE="wayland -gtk2 -test" 41 KiB
[ebuild  N     ] dev-libs/libfmt-9.1.0-r2:0/9.1.0::gentoo  USE="-test" ABI_X86="(64) -32 (-x32)" 819 KiB
[ebuild  N     ] dev-libs/gumbo-0.12.1:0/2::gentoo  USE="-doc -test" 2,066 KiB
[ebuild  N     ] dev-cpp/range-v3-0.12.0::gentoo  USE="-test" 570 KiB
[ebuild  N     ] app-text/mupdf-1.24.8:0/1.24.8::gentoo  USE="X javascript opengl ssl -archive" 52,774 KiB
[ebuild  N     ] dev-libs/spdlog-1.14.1:0/1.14::gentoo  USE="-static-libs -test" ABI_X86="(64) -32 (-x32)" 265 KiB
[ebuild  N     ] sys-fs/cryfs-0.11.4::gentoo  USE="-test" 10,177 KiB
[ebuild  N     ] dev-python/pygdbmi-0.11.0.0::gentoo  USE="-test" PYTHON_TARGETS="python3_12 -python3_11 -python3_13" 31 KiB
[ebuild  N     ] kde-plasma/ocean-sound-theme-6.2.0:6::gentoo  USE="-debug" 2,065 KiB
[ebuild  N     ] kde-plasma/qqc2-breeze-style-6.2.0:6::gentoo  USE="-debug" 65 KiB
[ebuild   R    ] net-print/libcupsfilters-2.1_beta1::gentoo  USE="dbus exif jpeg pdf* png poppler postscript tiff -test" 0 KiB
[ebuild  N     ] net-print/cups-meta-1::gentoo  USE="browsed foomatic pdf poppler postscript -zeroconf" 0 KiB
[ebuild  N     ] net-print/cups-pk-helper-0.2.7-r1::gentoo  54 KiB
[ebuild  N     ] kde-plasma/kwrited-6.2.0:6::gentoo  USE="-debug" 24 KiB
[ebuild  N     ] kde-plasma/drkonqi-6.2.0:6::gentoo  USE="-debug -systemd -test" PYTHON_SINGLE_TARGET="python3_12 -python3_11 -python3_13" 862 KiB
[ebuild  N     ] kde-plasma/kde-cli-tools-6.2.0:6::gentoo  USE="X -debug -kdesu -test" 0 KiB
[ebuild  N     ] kde-plasma/kgamma-6.2.0:6::gentoo  USE="handbook -debug" 86 KiB
[ebuild  N     ] kde-plasma/plasma-vault-6.2.0:6::gentoo  USE="networkmanager -debug" 197 KiB
[ebuild  N     ] kde-plasma/plasma-disks-6.2.0:6::gentoo  USE="handbook -debug" 101 KiB
[ebuild  N     ] app-admin/system-config-printer-1.5.18-r2::gentoo  USE="(policykit) -keyring" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" 1,365 KiB
[ebuild  N     ] kde-plasma/print-manager-6.2.0:6::gentoo  USE="gtk -debug" 366 KiB
[ebuild  N     ] sys-apps/xdg-desktop-portal-gtk-1.14.1::gentoo  USE="X wayland" 385 KiB
[ebuild  N     ] gui-apps/xwaylandvideobridge-0.4.0::gentoo  USE="-debug" 35 KiB
[ebuild  N     ] kde-plasma/plasma-welcome-6.2.0:6::gentoo  USE="-debug" 672 KiB
[ebuild  N     ] kde-frameworks/purpose-6.7.0:6/6.7::gentoo  USE="bluetooth -debug -test -webengine" 174 KiB
[ebuild  N     ] kde-plasma/plasma-browser-integration-6.2.0:6::gentoo  USE="-debug" 219 KiB
[ebuild  N     ] kde-plasma/plasma-meta-6.2.0:6::gentoo  USE="bluetooth browser-integration crash-handler crypt cups display-manager elogind gtk kwallet networkmanager pulseaudio (qt5) sddm smart wallpapers xwayland -accessibility -colord -discover (-firewall) -flatpak -grub -oxygen-theme -plymouth -rdp -sdk -systemd -thunderbolt -unsupported -wacom -webengine" 0 KiB
[blocks B      ] gui-apps/qt6ct ("gui-apps/qt6ct" is soft blocking kde-plasma/plasma-meta-6.2.0)


plasma-browser-integration is not a new package and as I understand it this is not something it's responsible for (well, I never needed it before for this).

Anyone else getting this? Any ideas? Thanks!

I'll do a bug report if need be.
Back to top
View user's profile Send private message
Havin_it
Veteran
Veteran


Joined: 17 Jul 2005
Posts: 1266
Location: Edinburgh, UK

PostPosted: Fri Nov 01, 2024 11:13 am    Post subject: Reply with quote

Will file a bug about this this weekend.

Can anyone advise which component is supposed to be in charge of handling links across applications/desktop in this way? That would help with the report.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9291

PostPosted: Fri Nov 01, 2024 12:00 pm    Post subject: Reply with quote

Please don't file a bug without having tried with plasma-meta. Also, use of gui-apps/qt6ct in Plasma is bound to cause trouble.

Both example packages you mention can be considered "special" so you should try another simple 3rd-party package to verify.
Back to top
View user's profile Send private message
Havin_it
Veteran
Veteran


Joined: 17 Jul 2005
Posts: 1266
Location: Edinburgh, UK

PostPosted: Fri Nov 01, 2024 4:23 pm    Post subject: Reply with quote

asturm wrote:
Please don't file a bug without having tried with plasma-meta. Also, use of gui-apps/qt6ct in Plasma is bound to cause trouble.

Both example packages you mention can be considered "special" so you should try another simple 3rd-party package to verify.


Hey, I am happy to refrain from bugposting if it's suddenly not crickets on this thread :) (I wish I knew the magic words sooner!)

I learned of the incompatibility between qt6ct and plasma already but I keep it disabled and only set export QT_QPA_PLATFORMTHEME=qt5ct when running wayfire, which is where I need it. Must it not even be installed? (I see that portage says so, I'm just wondering if it's an actual necessity.)

Can you shed any light on which package above might be responsible for this functionality, when it worked in 6.1 without any of them?

Can you give an example of a non-"special" (and preferably small) app package that would be appropriate for testing?
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 755
Location: /home

PostPosted: Sat Nov 02, 2024 6:46 am    Post subject: Reply with quote

Does "xdg-open https://forums.gentoo.org" work? You may have to manually set xdg-related mime settings for non-KDE programs to work.

xdg-settings get default-url-scheme-handler https
Back to top
View user's profile Send private message
Havin_it
Veteran
Veteran


Joined: 17 Jul 2005
Posts: 1266
Location: Edinburgh, UK

PostPosted: Sat Nov 02, 2024 12:04 pm    Post subject: Reply with quote

Juippisi wrote:
Does "xdg-open https://forums.gentoo.org" work? You may have to manually set xdg-related mime settings for non-KDE programs to work.

xdg-settings get default-url-scheme-handler https


I went ahead and merged plasma-meta which has solved the problem. I think you've just supplied the "why" though.

So xdg-desktop-portal-gtk was the missing piece? What has changed that I now need this running as well as xdg-desktop-portal AND xdg-desktop-portal-kde (seriously WTF :? ) just so links can be opened? I checked and I have never had it installed before.
Back to top
View user's profile Send private message
Havin_it
Veteran
Veteran


Joined: 17 Jul 2005
Posts: 1266
Location: Edinburgh, UK

PostPosted: Sat Nov 09, 2024 11:31 am    Post subject: Reply with quote

Link-opening from other apps continued to work after killing xdg-desktop-portal-gtk, and even after unmerging it altogether.

It seems as though just merging and running this app somehow restored a needed setting that KDE's upgrade (from 6.1.4 to 6.2.0) had un-set.

I have been combing the changelogs but cannot see anything that explains this (of course my eye is untrained and I know those logs do not tell quite the whole story).

The issue might be solved but I would still like to understand what happened.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum