Created attachment 151698 [details] Screenshot of my Firefox browser showing the plasma-browser-integration icon with a strike through it. SUMMARY *** KDE's plasma-browser-integration does not integrate with snap installed Firefox. *** I have both plasma-browser-integration and firefox installed: apt list plasma-browser-integration: plasma-browser-integration/jammy,now 5.24.4-0ubuntu1 amd64 [installed] snap list: firefox 104.0-3 1749 latest/stable mozilla✓ - STEPS TO REPRODUCE 1. Install the latest firefox snap. 2. Install KDE's plasma-browser-integration as an add-on. 3. Make sure that KDE's Plasma 5.13 or later is running. I am running KDE Plasma Version: 5.24.4 OBSERVED RESULT The addon complains with: "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 That plasma-browser-integration does integrate. SOFTWARE/OS VERSIONS Firefox Browser 104.0 (64-bit) (Mozilla Firefox Snap for Ubuntu canonical-002 - 1.0 Operating System: Kubuntu 22.04 KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 Kernel Version: 5.15.0-46-generic (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-3570K CPU @ 3.40GHz Memory: 15.3 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 4000 ADDITIONAL INFORMATION
I notice the same after an upgrade from Kubuntu 20.04 to 22.04. Although I'm sure it's a bug in Plasma Browser Integration. AFAIK There is a broader issue with communication between snapped Firefox and other applications (for example KeepassXC). The fix for this is not in stable channel of the Firefox snap yet if I understand the following thread in Ubuntu Discourse correctly: https://discourse.ubuntu.com/t/call-for-testing-native-messaging-support-in-the-firefox-snap/29759/57 That thread is an interesting read anyway ;)
(In reply to Erik from comment #1) Can't find a way to edit my comment so a reply instead. Made a typo, I meant to say: "Although I'm NOT sure it's a bug in Plasma Browser Integration"
Would it be possible to re-open this bug or should I create a new one? Browser Integration still doesn't seem to work with the Snap version of Firefox 107.0.1. Support for native messaging is added to the stable version of the snap now so therefore I expected Browser Integration to work as well. Got a prompt when starting Firefox to allow Plasma Browser Integration and I clicked OK. When inspecting from Firefox's about:debugging I see the following error message in the console: Uncaught (in promise) Error: Attempt to postMessage on disconnected port sendPortMessage moz-extension://f2a3fa37-c27f-4678-90f5-94eadb4bc46c/extension-utils.js:51 sendSettings moz-extension://f2a3fa37-c27f-4678-90f5-94eadb4bc46c/extension.js:45
Created attachment 154520 [details] attachment-6064-0.html No keep this ticket open and carry on. I have moved over to installing Firefox from launchpad or somewhere, but I would like to move back to snap as it seems the architected way to go with respect to Canonical. With all the things that were wrong with snap, though, I do think Canonical arranged what looked like a shotgun wedding between Mozilla and ubuntu. Best regards, Andrew Andrew Brown The Blackheath Art Club ☞ G.P.O. Film Unit<http://www.english-heritage.org.uk/visit/blue-plaques/g.p.o.-film-unit> / The Crown Film Unit<http://www.bfi.org.uk/films-tv-people/4ce2b941e0766/> ________________________________ From: Erik <bugzilla_noreply@kde.org> Sent: Sunday, December 11, 2022 8:54:59 PM To: Andrew J. Brown <ajb@pinmill.net> Subject: [plasma-browser-integration] [Bug 458494] Plasma Does Not Integrate With Snap Firefox https://bugs.kde.org/show_bug.cgi?id=458494 --- Comment #3 from Erik <esteinma@gmail.com> --- Would it be possible to re-open this bug or should I create a new one? Browser Integration still doesn't seem to work with the Snap version of Firefox 107.0.1. Support for native messaging is added to the stable version of the snap now so therefore I expected Browser Integration to work as well. Got a prompt when starting Firefox to allow Plasma Browser Integration and I clicked OK. When inspecting from Firefox's about:debugging I see the following error message in the console: Uncaught (in promise) Error: Attempt to postMessage on disconnected port sendPortMessage moz-extension://f2a3fa37-c27f-4678-90f5-94eadb4bc46c/extension-utils.js:51 sendSettings moz-extension://f2a3fa37-c27f-4678-90f5-94eadb4bc46c/extension.js:45 -- You are receiving this mail because: You reported the bug.