Bug 26902 - [Plasma 5] Startup sound truncated or not played while correctly configured
Summary: [Plasma 5] Startup sound truncated or not played while correctly configured
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 8
Assignee: KDE maintainers
QA Contact:
URL: https://bugs.kde.org/show_bug.cgi?id=...
Keywords: 8beta1, UPSTREAM
Depends on:
Blocks: 17523
  Show dependency treegraph
Reported: 2020-07-06 00:18 CEST by Aurelien Oudelet
Modified: 2020-10-29 20:25 CET (History)
1 user (show)

See Also:
Source RPM: plasma-workspace-5.19.5-1.mga8.src.rpm
Status comment:


Description Aurelien Oudelet 2020-07-06 00:18:05 CEST
Description of problem:
Starting a Plasma session in Cauldron results of truncated sound.
The sound is played but as plasma-session has finished his job, it quits and startup sound is interrupted.

Version-Release number of selected component (if applicable): Cauldron, 8

How reproducible: Always.

Install Mageia 8 Alpha 1 and Plasma 5, Update all packages.

Fix exists upstream!
According to this: https://pointieststick.com/2020/07/03/this-week-in-kde-a-little-bit-of-everything/

The plasma start-up sound is no longer cut off when starting up the computer (David Edmundson, Plasma 5.19.3)

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

Packages should updated.
Comment 1 David GEIGER 2020-07-06 06:21:52 CEST
Should be fixed with upcoming plasma-workspace-5.19.2-3.mga8 update!

CC: (none) => geiger.david68210

Comment 2 David GEIGER 2020-07-07 15:58:11 CEST
What about the fix? work? don't work?
Comment 3 Aurelien Oudelet 2020-07-07 20:37:41 CEST
Sorry, with plasma-workspace-5.19.2-3.mga8 update, sound is no longer understandable.
While correctly configured in Systemsettings > Notifications > Applications: Configure > Plasma Workspace > Configure events. No sound at all at login.
Other sounds are well played even logout sound...

I think my computer is too fast? for plasma startup?
Upstream bug report is reopen at https://bugs.kde.org/show_bug.cgi?id=422948.
Seems to be more complicated than just a patch.

Also, in Mageia 8a1, plasma-workspace is 5.19.2, not 5.19.3.
Comment 4 David GEIGER 2020-07-11 06:59:57 CEST
Is this issue now fixed with new plasma 5.19.3 update?
Aurelien Oudelet 2020-07-11 10:32:08 CEST

Summary: Startup sound broken => [Plasma 5] Startup sound truncated or not played while correctly configured

Comment 5 Aurelien Oudelet 2020-07-11 10:41:41 CEST

On my system, even with 5.19.3-1.mga8 update, bug is still here.
I was too kind when I saw a fix ready upstream. In link provided below, bug is reopen in KDE bugtracker. I report it.

Keywords: (none) => 8alpha1
URL: (none) => https://bugs.kde.org/show_bug.cgi?id=422948

Comment 6 Lewis Smith 2020-07-21 13:24:03 CEST
The upstream bug is very convincing, thanks for that reference. Since you are subscribed to it, please report back here when it gets fixed.
What a lot of 'noise' about no noise.

Source RPM: plasma-workspace-5.19.2-2.mga8.src.rpm => plasma-workspace-5.19.3-2.mga8.src.rpm
Keywords: (none) => UPSTREAM

Lewis Smith 2020-07-21 13:24:20 CEST

CC: (none) => lewyssmith

Comment 7 Aurelien Oudelet 2020-07-21 13:29:06 CEST
(In reply to Lewis Smith from comment #6)
> The upstream bug is very convincing, thanks for that reference. Since you
> are subscribed to it, please report back here when it gets fixed.
> What a lot of 'noise' about no noise.

As you say so!
I will report here if there is some future news.
Comment 8 Aurelien Oudelet 2020-09-06 20:14:32 CEST
Giving some feedback here about upstream comments:

This bug is really silly. But I managed a "workaround" that gives the feeling there is something wrong in upstream Plasma startup's code.

This workaround I write is really simple but necessitate PulseAudio binaries (Meanwhile they are with Mageia):

Write a .desktop file in /etc/xdg/autostart/ like this:
touch /etc/xdg/autostart/org.kde.plasma_startup_sound.desktop
vi /etc/xdg/autostart/org.kde.plasma_startup_sound.desktop

Add this in the above file:
[Desktop Entry]
Exec=/usr/bin/paplay /usr/share/sounds/Oxygen-Sys-Log-In-Short.ogg
Name=Plasma Desktop Startup Sound

Save file.
Log in.
Booh. Startup sound played !! And even during Plasma splash screen !

This is hacky BUT end-user doesn't have to write this type of hack.
Drawback: it plays only default sound as it is hardcoded in Exec command.
And if we ships this file AND upstream really corrects the bug, when update is installed, such file (/etc/xdg/autostart/org.kde.plasma_startup_sound.desktop) must be deleted.

Keywords: 8alpha1 => 8beta1
Target Milestone: --- => Mageia 8
Source RPM: plasma-workspace-5.19.3-2.mga8.src.rpm => plasma-workspace-5.19.5-1.mga8.src.rpm

Comment 9 Aurelien Oudelet 2020-09-07 17:48:04 CEST
Assigning this to Plasma/KDE maintainers to look at this.
david_david has been working on it. Fix upstream is not as good as it.

They reclaim an output of plasma_session from a console. I really don't know how to do so from a tty.
Lewis Smith 2020-09-12 20:37:15 CEST

Assignee: bugsquad => kde
CC: lewyssmith => (none)

Aurelien Oudelet 2020-10-29 16:13:22 CET

Blocks: (none) => 17523

Comment 10 Aurelien Oudelet 2020-10-29 20:25:22 CET
Fixed by upstream release of Plasma 5.20.2

Fixed in:

Meanwhile, Knotification seems broken at startup. Setting to write to a log file while logon event is still broken. Upstream has applied a patch to prevent a process to quit before sound is really played.

So we close this as it refers to "startup sound not played" and not about Knotification.

Resolution: (none) => FIXED

Note You need to log in before you can comment on or make changes to this bug.