Bug 476967

Summary: Plasma Integration Firefox extension does not work on LibreWolf
Product: [Plasma] plasma-browser-integration Reporter: Serena Star <LionsSharks15>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: normal CC: cheatumj, kde, kristen, mokazemi, stargatesg
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Plasma Browser Extension Error

Description Serena Star 2023-11-14 00:03:13 UTC
Created attachment 163134 [details]
Plasma Browser Extension Error

SUMMARY
***
Plasma Integration Firefox extension does not work on LibreWolf, extension popup has error.
***


STEPS TO REPRODUCE
1.  Install Plasma Browser Integration on LibreWolf
2. Play YouTube video
3.  Add-on popup shows error mentioned in "Observed Result"

OBSERVED RESULT
Plasma Browser Integration popup says the following after playing media on LibreWolf. "Failed to connect to the native host. Make sure the 'plasma-browser-integration' package is installed correctly and that you are running Plasma 5.13 or later. No such native application org.kde.plasma.browser_integration"

EXPECTED RESULT
My media should appear in the media player widget of my KDE Plasma and the browser extension should work fine on LibreWolf since it is a fork of Firefox.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 6.6.1-arch1-1 (64-bit)
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Plasma Integration works perfectly on Firefox
Comment 1 kde user 2024-03-25 07:39:16 UTC
Comment on attachment 163134 [details]
Plasma Browser Extension Error

The message comes up when you click on "Open Extension" inside "Extensions".
Comment 2 Mohammad K. 2025-03-17 07:18:51 UTC
Here's the workaround:

https://librewolf.net/docs/faq/#how-do-i-get-native-messaging-to-work

I hope KDE Devs add it to the package too, like what is done for Firefox, Chrome and Edge.
Comment 4 Mohammad K. 2025-04-12 06:57:19 UTC
(In reply to Kristen McWilliam from comment #3)
> Resolved with
> https://invent.kde.org/plasma/plasma-browser-integration/-/commit/
> 5723f037b7761ff66f662098cdced6dbf4124704

The commit seems to be about Flatpak variants. Does it work in the case when Librewolf is installed via package manager, too? Since it was my issue.
Comment 5 Kristen McWilliam 2025-04-12 14:01:58 UTC
You're right, the bug being closed should've waited for the separate commit for the regular version. Thanks for pointing that out.

The regular version will be submitted shortly.
Comment 6 Bug Janitor Service 2025-04-12 14:21:27 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-browser-integration/-/merge_requests/148
Comment 7 Kristen McWilliam 2025-05-12 20:44:25 UTC
Git commit 80ff71965fec75c51773b20f7c724976ccb728a3 by Kristen McWilliam.
Committed on 12/05/2025 at 20:43.
Pushed by merritt into branch 'master'.

feat: add librewolf support

M  +6    -0    CMakeLists.txt

https://invent.kde.org/plasma/plasma-browser-integration/-/commit/80ff71965fec75c51773b20f7c724976ccb728a3