SUMMARY Usually I open couple cards in web browser (Firefox) with (audio/video) streams. In Audio-Volume widget in section "Application" I can see the list of them, each of them looks like this: icon + slider to change volume (+its percentage value) + hamburger button (allowing to switch of output for audio). I would like to redirect audio from first web browser to one output (i.e. headset), audio from second web to other output (i.e. speakers) and I can do it. The only one issue is that If I have opened couple cards with audio I need to guess which one is playing audio stream which I want to listen in headset and which is playing audio which I would like to send to speakers. Every icons are the same. When I over the icon I can see "Currently not playing" or nothing, so I don't know what is what. When I have icons of web browser on the taskbar and I over it I can see thumbnail showing currently opened page, so I know what I can expect when I raise given window. My idea is that, to just show thumbnail when I over a mouse on the icon web browser present on the list of application playing/having opened streams. STEPS TO REPRODUCE 1. open couple cards in web browser with audio streams (i.e. YouTube) 2. open Audio-Volume widget and switch to "Applications" section 3. over a mouse on any of icon of web browser OBSERVED RESULT showing tool tip "Currently playing" or nothing EXPECTED RESULT showing thumbnail currently opened page in web browser SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.25.80 KDE Frameworks Version: 5.98 Qt Version: 5.15.5 OS: Neon unstable ADDITIONAL INFORMATION
I'm a bit confused. Why would you want to see what tab is currently opened in the browser? Wouldn't you want to see whatever tab the audio is coming from?
> I'm a bit confused. Why would you want to see what tab is currently opened in the browser? > Wouldn't you want to see whatever tab the audio is coming from? Yes, would be much better. Actually this is what I want - see the source for example like a thumbnail. I wasn't sure if this is possible
I'm afraid it's not really possible. We have no way to access the tab content from Plasma, and quite likely the browser doesn't even render the tab content itself when the tab is not active
(In reply to Nicolas Fella from comment #3) > I'm afraid it's not really possible. We have no way to access the tab > content from Plasma, and quite likely the browser doesn't even render the > tab content itself when the tab is not active That's why I suggested to show thumbnail of active tab. It would be partial solution, better than nothing where needs to guess. I wonder, if Plasna aware that some tab is playing stream (we can control it), so maybe would to know the title of site what is opened in playing tab?
Showing a thumbnail of the whole window would technically be possible, but I'm not convinced that it's worth it. It would do nothing to help distinguish between tabs in the same window, and showing the content of a tab that is not actually playing the media could even be confusing. What would be a proper solution is to show the media name as reported by PulseAudio (see also https://bugs.kde.org/show_bug.cgi?id=409453), but neither Chrome nor Firefox seem to set that to something useful
(In reply to Nicolas Fella from comment #5) > Showing a thumbnail of the whole window would technically be possible, but > I'm not convinced that it's worth it. It would do nothing to help > distinguish between tabs in the same window, and showing the content of a > tab that is not actually playing the media could even be confusing. > > What would be a proper solution is to show the media name as reported by > PulseAudio (see also https://bugs.kde.org/show_bug.cgi?id=409453), but > neither Chrome nor Firefox seem to set that to something useful OK. You are right. Seems what I wished is not feasible in this moment, due to limitation of web browsers.
Wait a minute. I wonder how "Media Player" widget knows what is playing by web browser, event tab what's playing is not active. It gets this information from Pulse Audio or web browser?
> Wait a minute. I wonder how "Media Player" widget knows what is playing by web browser, event tab what's playing is not active. > It gets this information from Pulse Audio or web browser? That's called MPRIS https://wiki.archlinux.org/title/MPRIS
(In reply to ratijas from comment #8) > > Wait a minute. I wonder how "Media Player" widget knows what is playing by web browser, event tab what's playing is not active. > > It gets this information from Pulse Audio or web browser? > > That's called MPRIS https://wiki.archlinux.org/title/MPRIS OK. So could not this be used to get information for thumbnail of tool tip in case of list of applications (here web browser)?