Bug 442516 - Bluetooth-connected smartphone not listed in the applet when using PipeWire; works with PulseAudio
Summary: Bluetooth-connected smartphone not listed in the applet when using PipeWire; ...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma-pa
Classification: Unmaintained
Component: applet (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-16 11:43 UTC by Philippe ROUBACH
Modified: 2021-09-20 16:59 UTC (History)
3 users (show)

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


Attachments
volume settings 1 (116.40 KB, image/png)
2021-09-16 12:23 UTC, Philippe ROUBACH
Details
volume settings 2 (88.16 KB, image/png)
2021-09-16 12:23 UTC, Philippe ROUBACH
Details
result of "LANG=C pactl list" (44.53 KB, text/x-log)
2021-09-20 16:41 UTC, Philippe ROUBACH
Details
result of "LANG=C pactl list" with bluetooth connection to smartphone (46.87 KB, text/x-log)
2021-09-20 16:46 UTC, Philippe ROUBACH
Details

Note You need to log in before you can comment on or make changes to this bug.
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