Bug 469778 - Tooltip says "Scroll to adjust volume" even when there are no enabled playback devices
Summary: Tooltip says "Scroll to adjust volume" even when there are no enabled playbac...
Status: RESOLVED FIXED
Alias: None
Product: plasma-pa
Classification: Plasma
Component: applet (show other bugs)
Version: 5.27.4
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2023-05-15 02:30 UTC by esperluette08
Modified: 2023-09-01 08:22 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27.8
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esperluette08 2023-05-15 02:30:37 UTC
SUMMARY
The volume tooltip in the system tray displays "Middle-click to mute all audio \n Scroll to adjust volume". When turning "Line out" off, the tooltip message doesn't change even middle-click and scrolling doesn't mute or change volume.


STEPS TO REPRODUCE
1. Right-click on Volume item in system tray
2. Click on "Configure Audio Devices..." (to open "Hardware > Audio" settings)
3. Choose "Off" in "Line out" profiles.
4. Hover Volume item (with red line on it now) in system tray

OBSERVED RESULT
The tooltip displays the same message, about middle-click to mute, and scrolling to adjust volume. Since no output device is enabled, this doesn't un/mute or change volume.

EXPECTED RESULT
The tooltip should display something like "No output audio device enabled.", even explaining how to configure audio devices from settings.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon Live (20230504-0714), Manjaro 22.1.1
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Comment 1 Bug Janitor Service 2023-08-29 11:14:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/201
Comment 2 Fushan Wen 2023-08-29 14:36:32 UTC
Git commit 3e8a9690a6e429167cd7ec5fa772764c6906c52c by Fushan Wen.
Committed on 29/08/2023 at 16:36.
Pushed by fusionfuture into branch 'master'.

applet: show placeholder message in tooltip when there is no device
FIXED-IN: 5.27.8

M  +9    -4    applet/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-pa/-/commit/3e8a9690a6e429167cd7ec5fa772764c6906c52c
Comment 3 Fushan Wen 2023-08-29 14:37:58 UTC
Git commit bf27b7b4fb2746ab1a1ff85cd4b95350c49a1201 by Fushan Wen.
Committed on 29/08/2023 at 16:37.
Pushed by fusionfuture into branch 'Plasma/5.27'.

applet: show placeholder message in tooltip when there is no device
FIXED-IN: 5.27.8


(cherry picked from commit 3e8a9690a6e429167cd7ec5fa772764c6906c52c)

M  +9    -4    applet/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-pa/-/commit/bf27b7b4fb2746ab1a1ff85cd4b95350c49a1201
Comment 4 esperluette08 2023-09-01 08:22:27 UTC
Nice to see it fixed. Thank you !