Bug 397804

Summary: Can be inconvenient with Firefox Sync
Product: [Plasma] plasma-browser-integration Reporter: Doug B <work>
Component: FirefoxAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: normal CC: pasthelod
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Doug B 2018-08-23 19:38:23 UTC
I have a desktop that is running KDE and an laptop that is running Gnome.

I use the Firefox Sync service to sync my bookmarks and extensions across computers.

This extension emits a "Failed to Connect to Native Host" notification whenever I am using a computer other than my KDE machine.

I believe there are two different solutions to this problem:

- Find out how to determine if the user is on a device other than KDE
- Instead of using a notification, use another method to notify the user.

I believe Firefox allows extension devs to show errors on the about:addons page so perhaps that is a solution.
Comment 1 Kai Uwe Broulik 2018-08-24 11:18:42 UTC
I see your point. However,you could use plasma-browser-integration on any Linux desktop. 
Not sure how to detect a Plasma session from the browser. The error message is on purpose so it's not "silently not working". I disabled it for non-Linux so it wouldn't show up when synced to e.g. Windows, not sure how to proceed here.
Comment 2 Kai Uwe Broulik 2018-11-19 12:39:43 UTC
*** Bug 401202 has been marked as a duplicate of this bug. ***
Comment 3 Kai Uwe Broulik 2019-08-21 19:12:59 UTC
In the upcoming version error reporting has been improved: Only a toolbar icon is shown which is crossed out in case the extension isn't supported or failed to start for whatever reason. This should make the experience when the extension is synced to non-supported devices a lot nicer.