https://bugs.kde.org/show_bug.cgi?id=485059

            Bug ID: 485059
           Summary: Sound notifications only work for themed settings
    Classification: Applications
           Product: systemsettings
           Version: 6.0.3
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_notify
          Assignee: plasma-b...@kde.org
          Reporter: a...@al-williams.com
                CC: k...@privat.broulik.de
  Target Milestone: ---

SUMMARY
If you use an audio theme, setting any sound notifications directly silently
fails.

STEPS TO REPRODUCE
1.  Select Ocean sound theme (not sure if that matters, but it is what I have)
2. Open up SystemSettings | Notifications | Configure
3. Pick an application that has a sound notification (even if it is not being
used currently).
4. Ensure Play a Sound is selected
5. Use the folder to pick a sound outside the current theme directory (I took
one out of the Oxygen theme so I know it was correctly encoded, etc.)
6. Press the play button to the left of the sound. Hear nothing. (Note that it
puts a file:/// URL here but I guess that's OK -- changing it to a path has no
effect).
7. In fact, pick a file in the ocean theme. No effect when pressing Play.
8. Find an item that is in the theme (e.g., Plasma Workspace |  Login) 
9. Note that the entry there is a single name (desktop-login)
10. Use the file picker to pick the very same file (now has file:/// in front
of it).
11. No sound when pressing play
12. Press the revert button next to the file picker
13. Press play -- hear the sound.


OBSERVED RESULT
It appears to me (without looking at the code yet) that all notification sounds
get passed to the theme who either interprets them as "token" or ignores them
if it doesn't know what they are. So, in other words, because the theme doesn't
provide a sound for AngelFish "website notification" there is no way to set a
sound for that notification without editing the theme.

EXPECTED RESULT
You'd think you could override the theme, especially for things the theme
doesn't provide. I get that the theme has to overwrite when it is installed but
it seems like it should pass anything unknown to the file system.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  6.03
(available in About System)
KDE Plasma Version:  6.03
KDE Frameworks Version: 6.0.0 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to