Bug 453629

Summary: Show full window titles on Applications tab, as the KCM does
Product: [Plasma] plasmashell Reporter: Jonathan Wakely <zilla>
Component: Audio Volume widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: ASSIGNED ---    
Severity: wishlist CC: cfeck, eternaleye, isma.af, jlp, justin.zobel, nate, nowrep, thunderbirdtr, tobias, uwu
Priority: NOR Keywords: usability
Version: 6.2.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan Wakely 2022-05-10 14:42:32 UTC
SUMMARY

The Audio plasmoid just shows "Firefox" as the name on the Applications tab, instead of the titles of the Firefox windows.

If there are multiple such windows, you have to look at the horizontal meter to see which one is actually playing Audio. If the audio is paused, the meter is no use and you just have to guess. This matters when trying to change the output device for a specific window, e.g. to have one playing through speakers and one through headphones.

The Playback Streams under System Settings -> Audio do show the full titles, which is much more helpful, and shows that the information is available. The plasmoid just doesn't show it.

STEPS TO REPRODUCE
1.  Have multiple Firefox windows playing audio, e.g. two youtube videos paused in two separate windows.
2.  Open the Audio applet, then the Applications tab.
3.  Try to guess which "Firefox" is which.

OBSERVED RESULT

The application just shows "Firefox".

EXPECTED RESULT

The application shows the window title, like in System Settings -> Audio under Playback Streams.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 35
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.19-100.fc34.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700K CPU @ 4.00GHz
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2


ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-05-10 16:03:57 UTC
Seems reasonable to make those consistent.
Comment 2 Jonathan Wakely 2022-06-24 08:29:27 UTC
Still present with:

Operating System: Fedora Linux 36
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.3
Comment 3 Bug Janitor Service 2023-02-05 11:53:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/156
Comment 4 Bharadwaj Raju 2023-02-05 12:00:18 UTC
*** Bug 409453 has been marked as a duplicate of this bug. ***
Comment 5 Jonathan Wakely 2023-02-05 18:40:57 UTC
(In reply to Bug Janitor Service from comment #3)
> A possibly relevant merge request was started @
> https://invent.kde.org/plasma/plasma-pa/-/merge_requests/156

This suggests that nothing more useful than "AudioStream" can be shown. But clearly there is better info available, because the KCM for audio volume shows it. The duplicate bug 409453 has screenshots showing that. Maybe the merge request is using the wrong info if it can only show "AudioStream".
Comment 6 Alex Elsayed 2023-11-11 19:22:58 UTC
(In reply to Jonathan Wakely from comment #5)
> (In reply to Bug Janitor Service from comment #3)
> > A possibly relevant merge request was started @
> > https://invent.kde.org/plasma/plasma-pa/-/merge_requests/156
> 
> This suggests that nothing more useful than "AudioStream" can be shown. But
> clearly there is better info available, because the KCM for audio volume
> shows it. The duplicate bug 409453 has screenshots showing that. Maybe the
> merge request is using the wrong info if it can only show "AudioStream".

This is Firefox-version dependent; in essence, Firefox once reported correct stream titles, then regressed during some of the out-of-process work, then fixed it. During the time it was regressed, the titles were removed from the plasmoid.
Comment 7 Bug Janitor Service 2023-11-21 13:51:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/219