From 63c2d1bebb4e8a9bef7658af6c01b94b611fde2b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 10 Jul 2020 12:11:31 +0200 Subject: Improve docstring for _init_pulseaudio() (cherry picked from commit b77891fce795c741f389d6e4080c1f68ab9b615c) --- qutebrowser/app.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 3d82ff9d4..059f2d268 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -190,7 +190,17 @@ def _init_icon(): def _init_pulseaudio(): - """Set properties for PulseAudio.""" + """Set properties for PulseAudio. + + WORKAROUND for https://bugreports.qt.io/browse/QTBUG-85363 + + Affected Qt versions: + - Older than 5.11 + - 5.14.0 to 5.15.0 (inclusive) + + However, we set this on all versions so that qutebrowser's icon gets picked + up as well. + """ for prop in ['application.name', 'application.icon_name']: os.environ['PULSE_PROP_OVERRIDE_' + prop] = 'qutebrowser' -- cgit v1.2.3-54-g00ecf