Bug 480626 - No battery-caution sound.
Summary: No battery-caution sound.
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_soundtheme (other bugs)
Version First Reported In: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-31 20:33 UTC by gigastarcraft2
Modified: 2024-02-05 19:07 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gigastarcraft2 2024-01-31 20:33:06 UTC
STEPS TO REPRODUCE
1. Go to a System Settings -> Global Theme -> System Sounds.
2. Play battery-caution sound in Free Desktop theme.
3. Error.

OBSERVED RESULT
No sound.
EXPECTED RESULT
Sound as usual.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon Unstable
KDE Plasma Version: 6.0.8
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-02-01 20:39:32 UTC
It means that theme doesn't have that sound. In later beta released, we added a message about it.
Comment 2 Bug Janitor Service 2024-02-01 21:27:41 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3849
Comment 3 Ismael Asensio 2024-02-05 19:07:30 UTC
Git commit e3526dc7c5ec3f7c18ca67dddfb73f611186d460 by Ismael Asensio.
Committed on 05/02/2024 at 18:50.
Pushed by iasensio into branch 'master'.

kcms/soundtheme: Improve error message for sound not found

This error is the most common a user can experience in the KCM,
as it will happen if a theme doesn't provide one of the preview
sounds (ex. 'freedesktop' and sound 'batery-caution')

To minimize possible confusion for users (and bug reports), offer
a more clear and translated string on why it's happening, and
show it as an information message rather than an error.

M  +25   -11   kcms/soundtheme/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/e3526dc7c5ec3f7c18ca67dddfb73f611186d460