Bug 423621 - Notifications do not work through plasmashell
Summary: Notifications do not work through plasmashell
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: 5.19.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-28 17:53 UTC by Kwanza.Pili
Modified: 2020-07-02 01:26 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 Kwanza.Pili 2020-06-28 17:53:42 UTC
SUMMARY
The KDE notifications daemon fails to start - instead the session falls back to using dunst or mate-notifications or whatever it finds. 

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT
The notifications applet shows a red icon with the follow error:

Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/main.qml:118:34: Type FullRepresentation unavailable
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/FullRepresentation.qml:588:17: PlasmaExtras.PlaceholderMessage is not a type


EXPECTED RESULT
Run notifications daemon

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Leap 15.1, KDE Plasma 5.19.2
(available in About System)
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
All KDE and QT packages were compiled from the source code. This error is new in Plasma-5.19.2. I used version 5.19.0 last week without this problem. The only change I made was to upgrade the Plasma packages NOT the Frameworks or QT.
Comment 1 Kwanza.Pili 2020-07-01 19:15:39 UTC
I found a workaround in case anybody else runs into the same problem:

- Downgrade plasma-workspace to version 5.19.0
- This probably also requires a downgrade of both plasma-desktop and powerdevil to the same version (5.19.0)
- I left the rest of the packages at version 5.19.2. So they problem must be with plasma-workspace

Notifications should now work (albeit there is a delay before it is up and running).
Comment 2 Nate Graham 2020-07-02 01:26:34 UTC
Your issue is unrelated; the real problem is this:

> file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/FullRepresentation.qml:588:17: PlasmaExtras.PlaceholderMessage is not a type

This is a half-applied backport of a series of commits that I asked packagers to backport to fix another issue. The above error means that the Plasma part of the backport is active on your system, but not the Frameworks part which provides PlasmaExtras.PlaceholderMessage.

Possible reasons for this:

1. openSUSE Leap packagers forgot to package the plasma-frameworks commit that introduced the PlaceholderMessage component
2. ...or else they did but it hasn't gotten pushed out to you as an available update
3. ...or else it is but you haven't applied that update yet
4. ...or else you did but you haven't rebooted the machine or restarted plasmashell since then
5. ...or else the backport somehow has an error in it that prevents it from working

Either way you'll want to perform all updates, reboot, and follow up with the openSUSE folks if it's still not fixed.