Bug 427297 - Name of remote pulseaudio output is not user-friendly in tooltip of plasma-pa applet
Summary: Name of remote pulseaudio output is not user-friendly in tooltip of plasma-pa...
Status: RESOLVED FIXED
Alias: None
Product: plasma-pa
Classification: Unmaintained
Component: applet (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2020-10-03 16:13 UTC by Patrick Silva
Modified: 2021-05-01 12:32 UTC (History)
2 users (show)

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


Attachments
popup - user-friendly name for remote output (206.55 KB, image/png)
2020-10-03 16:13 UTC, Patrick Silva
Details
tooltip - name for remote output is not user-friendly (65.52 KB, image/png)
2020-10-03 16:14 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-10-03 16:13:23 UTC
Created attachment 132093 [details]
popup - user-friendly name for remote output

SUMMARY
I stream audio, via local network, from my laptop to the speakers connected to my desktop computer.
See https://wiki.archlinux.org/index.php/PulseAudio#Networked_audio

STEPS TO REPRODUCE
1. stream audio via local network to remote pulseaudo server
2. hover over sound icon in the system tray
3. 

OBSERVED RESULT
As we can see in the attached screenshots, plasma-pa applet shows
user-friendly name for the remote pulseaudio output in its popup but it does not in its tooltip.

EXPECTED RESULT
name of remote pulseaudio output should be user-friendly in the tooltip
of plasma-pa applet too.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.0
Comment 1 Patrick Silva 2020-10-03 16:14:30 UTC
Created attachment 132094 [details]
tooltip - name for remote output is not user-friendly
Comment 2 Nate Graham 2020-10-05 21:03:07 UTC
The bug is somewhere in how the applet sets Plasmoid.toolTipSubText: in main.qml.

Either the port is getting set incorrectly such that port.description is set to the wrong string, or paSinkModel.preferredSink.name is set to the wrong string.

Probably a good junior job.
Comment 3 Patrick Silva 2021-05-01 12:32:39 UTC
Fixed on neon unstable. :)

https://invent.kde.org/plasma/plasma-pa/-/merge_requests/61