Bug 437998

Summary: plasma-browser-integration for Firefox: Context menu "Share..." uses light icon for dark theme
Product: [Plasma] plasma-browser-integration Reporter: foss
Component: FirefoxAssignee: Kai Uwe Broulik <kde>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of the context menu entry "Share..."

Description foss 2021-06-02 13:54:02 UTC
Created attachment 138946 [details]
Screenshot of the context menu entry "Share..."

SUMMARY
The plasma-browser-integration Extension for Firefox uses a light icon in the context menu "Share..." entry while Firefox uses a dark theme. This leads to a barely visible icon.
There should be "mechanism" to check if the browser is using a dark/light theme and dynamically set the icon.

STEPS TO REPRODUCE
1. Set the dark theme in Firefox
2. Right click a link
3. 

OBSERVED RESULT
The Context menu entry "Share..." with plasma icon is using an icon for light themes.

EXPECTED RESULT
The Context menu entry "Share..." with plasma icon should use an icon for dark themes.

SOFTWARE/OS VERSIONS

KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Kai Uwe Broulik 2021-06-20 14:43:20 UTC
For the extension icon you can specify a dark and light icon, for icons set through JS API there is no such way, unfortunately.