Bug#958286: pavucontrol: Missing escaping of & in device names

Felipe Sateler fsateler at debian.org
Tue Apr 21 14:32:04 BST 2020


Control: tags -1 moreinfo

On Mon, Apr 20, 2020 at 2:24 AM Tollef Fog Heen <tfheen at err.no> wrote:

> Package: pavucontrol
> Version: 4.0-1
> Severity: minor
>
> I have a bluetooth headset from Bowers & Wilkins.  It seems like
> pavucontrol fails to escape the «&» in the name before feeding it to
> GTK, leading to console errors like:
>
> (pavucontrol:416883): Gtk-WARNING **: 20:28:02.902: Failed to set text
> 'Bowers & Wilkins PX' from markup due to error parsing markup: Error on
> line 1: Entity did not end with a semicolon; most likely you used an
> ampersand character without intending to start an entity — escape
> ampersand as &
>

I can't reproduce:

% pactl load-module module-null-sink sink_name="test-sink"

32
% pacmd update-sink-proplist test-sink device.description='"A & B"'
% pavucontrol
%


Could you share the output of `pactl list sinks`? It appears the problem is
not really in the device description.

-- 

Saludos,
Felipe Sateler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pulseaudio-devel/attachments/20200421/7096e522/attachment.html>


More information about the pkg-pulseaudio-devel mailing list