Bug 442516

Summary: Bluetooth-connected smartphone not listed in the applet when using PipeWire; works with PulseAudio
Product: [Unmaintained] plasma-pa Reporter: Philippe ROUBACH <philippe.roubach>
Component: appletAssignee: David Rosca <nowrep>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate, nicolas.fella, plasma-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: volume settings 1
volume settings 2
result of "LANG=C pactl list"
result of "LANG=C pactl list" with bluetooth connection to smartphone

Description Philippe ROUBACH 2021-09-16 11:43:53 UTC
SUMMARY


STEPS TO REPRODUCE
1. connect a smartphone with Bluetooth to the PC
2. display audio volume control
3. 

OBSERVED RESULT

Nothing is displayed about the smartphone, no sound input or sound output.
 
EXPECTED RESULT

Items are displayed about input and output about the smartphone. Thus, we can control them.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

kde gear 21.08.1
pipewire 0.3.35 + pipewire-pulseaudio
Comment 1 Philippe ROUBACH 2021-09-16 12:23:17 UTC
Created attachment 141589 [details]
volume settings 1
Comment 2 Philippe ROUBACH 2021-09-16 12:23:36 UTC
Created attachment 141590 [details]
volume settings 2
Comment 3 Philippe ROUBACH 2021-09-16 12:50:28 UTC
no problem with pulseaudio
Comment 4 Nate Graham 2021-09-16 18:08:53 UTC
Do you see anything about the phone in the Bluetooth applet?
Comment 5 Philippe ROUBACH 2021-09-17 07:31:31 UTC
As you can see in "settings2" the smartphone is there but not in "settings1".

Yes, the smartphone is well-connected and in the Bluetooth applet.

In fact, the smartphone appears in KDE volume control and "settings1" only when you play video or music on the smartphone.

This is different from PulseAudio, where the input and output relative to the smartphone appears when connecting.

It's a regression because it is more handy to control the volume before playing something.
Comment 6 Nate Graham 2021-09-17 15:13:17 UTC
Gotcha, thanks. Not sure if this is a bug in the applet or somewhere deeper in the stack, though.
Comment 7 Philippe ROUBACH 2021-09-17 15:21:14 UTC
i made a bug report also here

https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1616
Comment 8 Philippe ROUBACH 2021-09-17 15:28:36 UTC
to be more accurate than in "description" i must add before reporting bug:

i uninstall pulseaudio by installing pipewire-pulseaudio.

Because mixing piepewire and pulseaudio leads to:

https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1615

https://bugzilla.opensuse.org/show_bug.cgi?id=1187699
Comment 9 Nicolas Fella 2021-09-20 16:30:24 UTC
I'm 99% sure it's not a Plasma issue, but to be sure can you please attach the output of "LANG=C pactl list" ?
Comment 10 Philippe ROUBACH 2021-09-20 16:41:03 UTC
Created attachment 141739 [details]
result of "LANG=C pactl list"
Comment 11 Philippe ROUBACH 2021-09-20 16:46:28 UTC
Created attachment 141740 [details]
result of "LANG=C pactl list" with bluetooth connection to smartphone

Sorry I forgot  to connect the smartphone then the new log is the good one.
Comment 12 Nicolas Fella 2021-09-20 16:59:03 UTC
From the output

> audio-gateway: Audio Gateway (A2DP Source & HSP/HFP AG) (sinks: 0, sources: 0, priority: 0, available: yes)

PipeWire doesn't report any sinks our sources, so there is nothing for Plasma to show