Bug 483246 - Notification applet doesn't open after toggling
Summary: Notification applet doesn't open after toggling
Status: RESOLVED DUPLICATE of bug 452732
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 6.0.1
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-11 14:52 UTC by Dashon
Modified: 2024-05-08 16:52 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dashon 2024-03-11 14:52:40 UTC
SUMMARY
Alright, so when you receive a notification in plasma and you have the systray enabled. The notification icon will show on the panel letting you know that you have a new notification. If you click the notification icon on the panel and then click elsewhere the notification icon will disappear. In order to once again view those notifications. You need to click the arrow on the systray in order to access the hidden applets. 

This is where the problem occurs. Sometimes when I click on the notification widget while it is in the hidden state. It doesn't open up the notifications history. I then have right click the systray and edit entried. Set notifications applet to always shown and then I will be able to access notification history again. I have yet to be able to reproduce this consistently, but I know it started happening after the update to plasma 6. Once I have set it to always shown and then set it back to shown when relevant. It is once again available to be clicked on even when in the hidden state.


STEPS TO REPRODUCE (This is incomplete because I'm not entirely sure on how to reproduce it.)
1. Open some app that sends notifications.
2. Click the notification widget.
3. Click somewhere else in order to close the notification widget.
4. Click the arrow in the system tray in order to access hidden widgets.
5. Click notification widget.

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
You should be shown the notification history the same way it would as if it were still on the panel.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.8-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C95
System Version: 1.0
Comment 1 Nicolas Fella 2024-03-17 14:38:43 UTC
Git commit 86f54f159dacb5b08c818ae5be62e187c21d9322 by Nicolas Fella.
Committed on 17/03/2024 at 14:38.
Pushed by nicolasfella into branch 'master'.

[applets/notifications] Fix expanding again after toggling

M  +1    -3    applets/notifications/package/contents/ui/CompactRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/86f54f159dacb5b08c818ae5be62e187c21d9322
Comment 2 Nicolas Fella 2024-03-18 18:48:06 UTC
*** Bug 483923 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas Fella 2024-05-06 20:28:48 UTC
*** Bug 486684 has been marked as a duplicate of this bug. ***
Comment 4 Synthetic451 2024-05-06 20:38:21 UTC
This says it was fixed in 6.0.3, but I am still seeing the issue in Plasma 6.0.4
Comment 5 Nicolas Fella 2024-05-06 20:39:49 UTC
well, https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4087 isn't actually merged. Not sure why it's marked as fixed then
Comment 6 ratijas 2024-05-06 21:49:30 UTC
Can confirm the bug on master.
Comment 7 fanzhuyifan 2024-05-06 23:13:39 UTC
FWIW I can't seem to reproduce on master with Qt 6.7 (arch linux).
Comment 8 Synthetic451 2024-05-07 18:12:43 UTC
@fanzhuyifan There are random moments where it does work. It is most reproducible though when the bell icon appears in the tray on a brand new notification, then user clicks on it and it disappears.
Comment 9 Dashon 2024-05-07 20:20:23 UTC
As the original reporter of the bug. I haven't had the issue pop up again in a while, so I thought it was fixed. I'm also on Qt 6.7 on arch. Plasma version 6.0.4
Comment 10 Nate Graham 2024-05-07 20:25:11 UTC
I also can't reproduce the issue as originally described when using Qt 6.7.0.  Synthetic451, are you using Qt 6.7, or an older version?
Comment 11 Synthetic451 2024-05-07 20:29:11 UTC
I am using up to date Arch with Qt 6.7. Do any of you have "Show in history" enabled for Low priority notifications?

Operating System: Arch Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2
Product Name: X570 Taichi
Comment 12 Nate Graham 2024-05-07 20:32:06 UTC
Definitely not, I'm not a masochist! :D
Comment 13 Dashon 2024-05-07 20:33:43 UTC
(In reply to Synthetic451 from comment #11)
> I am using up to date Arch with Qt 6.7. Do any of you have "Show in history"
> enabled for Low priority notifications?
> 
> Operating System: Arch Linux 
> KDE Plasma Version: 6.0.4
> KDE Frameworks Version: 6.1.0
> Qt Version: 6.7.0
> Kernel Version: 6.8.9-arch1-1 (64-bit)
> Graphics Platform: X11
> Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
> Memory: 31.3 GiB of RAM
> Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2
> Product Name: X570 Taichi

I also don't have that enabled on my system. Never really cared to keep everything in history.
Comment 14 Synthetic451 2024-05-07 21:04:18 UTC
Me neither usually. The only reason why I ask is that I've usually been able to get the notification history to work when I enable that option. When it is off, it almost always fails to open back up.
Comment 15 Nate Graham 2024-05-08 16:52:45 UTC
There's actually an older bug report for this; rejiggering things to make that the parent ticket.

*** This bug has been marked as a duplicate of bug 452732 ***