Bug 367820 - Sound applet shows wrong icon for chromium-based browsers
Summary: Sound applet shows wrong icon for chromium-based browsers
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma-pa
Classification: Plasma
Component: applet (show other bugs)
Version: 5.7.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-25 21:36 UTC by Patrick Silva
Modified: 2016-09-21 08:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (43.14 KB, image/png)
2016-08-25 21:39 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2016-08-25 21:36:26 UTC
Applet shows chromium icon instead the correct icons

Reproducible: Always

Steps to Reproduce:
1.open any chromium-based browser (I tested Opera and Vivaldi)
2.go to youtube and play any video
3.open sound applet, select "Applications" tab

Actual Results:  
Applet shows chromium icon instead the correct icon. See the screenshot.

Expected Results:  
Applet shows the correct app icon
Comment 1 Patrick Silva 2016-08-25 21:39:28 UTC
Created attachment 100761 [details]
screenshot
Comment 2 David Rosca 2016-09-21 08:28:50 UTC
That's because chromium browsers sets following properties to streams:

application.icon_name = "chromium-browser"
application.name = "Chromium"
application.process.binary = "qupzilla" (or opera, vivaldi, ...)
module-stream-restore.id = "sink-input-by-application-name:Chromium"

Sound applet prefers the icon_name entry and that's why it displays chromium icon. I won't make special case for those browsers.