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

Wolfgang Bauer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/pla
                   |                            |sma-workspace/6082047651107
                   |                            |24f420c978499411e46db1d086e
             Status|REOPENED                    |RESOLVED
   Version Fixed In|                            |5.12.5
         Resolution|---                         |FIXED

--- Comment #13 from Wolfgang Bauer <[email protected]> ---
Git commit 608204765110724f420c978499411e46db1d086e by Wolfgang Bauer.
Committed on 30/04/2018 at 11:42.
Pushed by wbauer into branch 'Plasma/5.12'.

[ksmserver] Use QUrl::fromUserInput to construct sound url

Since Phonon 4.9, this code fails to play a login sound if the sound
file is specified as absolute file path (without "file://"). The reason
is that QUrl() treats the parameter as Url (not as file path), and this
only accidentally worked with earlier Phonon versions but not any more.
This patch uses QUrl::fromUserInput() instead to create a QUrl from the
string in the settings file, which fixes the problem.

This is the same change as
https://phabricator.kde.org/R289:9db06adc8114163f401417064b07772139bc36bc
in knotifications.
A more detailed explanation of the problem can be found in
https://bugs.kde.org/show_bug.cgi?id=337276#c12 .
FIXED-IN: 5.12.5
Differential Revision: https://phabricator.kde.org/D12606

M  +15   -7    ksmserver/startup.cpp

https://commits.kde.org/plasma-workspace/608204765110724f420c978499411e46db1d086e

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

Reply via email to