Bug 435470 - Visualize MPRIS activity in toolbar icon of Plasma Integration browser extension
Summary: Visualize MPRIS activity in toolbar icon of Plasma Integration browser extension
Status: RESOLVED FIXED
Alias: None
Product: plasma-browser-integration
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-07 14:28 UTC by Oliver Freyermuth
Modified: 2021-04-16 20:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Freyermuth 2021-04-07 14:28:43 UTC
SUMMARY
Currently, the functionality that the MPRIS part of the browser extension has activated itself (i.e. detected playing media) is not visualized in the toolbar. 
For this reason, the useful feature to enable / disable the addon for a page (i.e. blacklist a page) is mostly invisible to the user. 

STEPS TO REPRODUCE
1. Visit any page with media. 

OBSERVED RESULT
Observe the toolbar icon not changing. 

EXPECTED RESULT
Toolbar icon changes, some ideas:
- Show a "number" blob as adblocker addons do. 
- Chance colour / colourize / un-fade. 
- Show a media / volume icon in the corner (similar as done in tabs with media playing in several browsers or in KDE application bar). 

SOFTWARE/OS VERSION (OS and browser independent)
Addon version: 1.8.0.1
Comment 1 Bug Janitor Service 2021-04-15 15:03:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-browser-integration/-/merge_requests/46
Comment 2 Kai Uwe Broulik 2021-04-16 20:18:18 UTC
Git commit 8d88c4199a016ce59246192017180d253d8daee8 by Kai Uwe Broulik.
Committed on 16/04/2021 at 20:18.
Pushed by broulik into branch 'master'.

Add toolbar badge when there's a player on a page

Makes it more obvious that the extension now offers settings
to disable controls on this page.

M  +31   -5    extension/extension-mpris.js

https://invent.kde.org/plasma/plasma-browser-integration/commit/8d88c4199a016ce59246192017180d253d8daee8