Bug 440549

Summary: Notifications disabled
Product: [Frameworks and Libraries] frameworks-knotifications Reporter: nbgyan <nanabaahgyan>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description nbgyan 2021-08-03 10:00:33 UTC
SUMMARY


STEPS TO REPRODUCE
After the latest update I realised my notifications have stopped working. I opened settings->notifications only to find this warning: "Could not find a 'Notifications' widget which is required for displaying notifications."


SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.3
Kernel Version: 5.8.0-63-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 1 Nate Graham 2021-08-03 19:35:22 UTC
The error message tells you everything you need to know: there has to be a Notifications widget active somewhere, either as a standalone widget, or in your System Tray. Did yours get removed or did you remove it?
Comment 2 nbgyan 2021-08-03 19:57:38 UTC
(In reply to Nate Graham from comment #1)
> The error message tells you everything you need to know: there has to be a
> Notifications widget active somewhere, either as a standalone widget, or in
> your System Tray. Did yours get removed or did you remove it?

If that is the case then "something" must have removed it because prior to the update everything worked as it should and had had no reason ever to remove any widget whatsoever or even fidget with any of my settings.
Comment 3 Nate Graham 2021-08-03 20:23:19 UTC
Do you have a Notifications widget anywhere or not?
Comment 4 nbgyan 2021-08-04 13:08:08 UTC
(In reply to Nate Graham from comment #3)
> Do you have a Notifications widget anywhere or not?

Hi Nate,

When it was disabled all notifications ceased. (It was the reason that led me to further investigate and brought me to reported it here). But I have enabled them back and, thankfully, everything's been restored again.
Comment 5 Nate Graham 2021-08-04 15:59:07 UTC
Great! We can still maybe beef up the error message though.
Comment 7 Nate Graham 2021-08-04 18:16:28 UTC
Git commit 7606033fb9e0e5ef2a679e99a2995d4d3993edb2 by Nate Graham.
Committed on 04/08/2021 at 16:07.
Pushed by ngraham into branch 'master'.

[kcms/notifications] Clarify message about notifications being disabled

This error message explains the problem, but does not provide hints
about the solution. The solution (Add or enable a Notifications widget)
is only hinted at, and this may be missed by users. Let's be clearer.

M  +1    -1    kcms/notifications/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/7606033fb9e0e5ef2a679e99a2995d4d3993edb2