Bug 452573 - Firefox notifications appear as a separate window that is centered on the screen after a KDE update
Summary: Firefox notifications appear as a separate window that is centered on the scr...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: 5.24.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-04-13 12:30 UTC by Lyubomir
Modified: 2022-09-11 15:48 UTC (History)
4 users (show)

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


Attachments
Broken notification which appears in the middle of the screen (22.92 KB, image/png)
2022-04-13 12:30 UTC, Lyubomir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lyubomir 2022-04-13 12:30:59 UTC
Created attachment 148129 [details]
Broken notification which appears in the middle of the screen

SUMMARY
After every update of KDE Frameworks (or maybe Plasma) the Firefox notifications start to appear as a separate window with its own title bar in the middle of the screen, instead of appearing in the bottom right corner, like usual. One has to log out and log in again for the notifications to start appearing correctly.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.1-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 1 Lyubomir 2022-04-13 12:36:26 UTC
Such notifications stay shown until their timeout is reached (say 7 seconds) and then are closed automatically, without being added to the notifications drawer that is accessed via the bell icon in the tray.
Comment 2 Nate Graham 2022-04-14 14:44:02 UTC
That's odd. It sounds like there might be something wrong with the notification system service.

Does ths issue persist if you reboot the system? Have you manually installed any alternative notification systems, such as dunst?
Comment 3 Lyubomir 2022-04-14 16:41:42 UTC
I don't remember if I've installed alternative notification systems. As I said above this fixes itself if I log out and log in again, no need to restart. Most certainly it shouldn't be a 5.93 regression, I believe it happens regularly after an update of some KDE components.

Don't know how this thing works at all, but maybe Firefox starts a new process of the newly updated file on disk to show the notification, which doesn't integrate nicely with the current older-version process? Smh like that? Not sure.

I'll have to keep an eye out if it happens without an update or if it happens the next time KDE updates something.

"pacman -Qs notif" gives:
local/arch-audit-gtk 0.3.1-1
    Arch Linux Security Update Notifications
local/knotifications 5.93.0-1 (kf5)
    Abstraction for system notifications
local/knotifyconfig 5.93.0-1 (kf5)
    Configuration system for KNotify
local/libevent 2.1.12-1
    An event notification library
local/libnotify 0.7.9-2
    Library for sending desktop notifications
local/startup-notification 0.12-7
    Monitor and display application startup
local/systembus-notify 1.1-1
    System bus notification daemon
Comment 4 Lyubomir 2022-04-28 08:40:41 UTC
FWIW this happened after KDE Plasma crashed and restarted the process automatically.
Comment 5 Lyubomir 2022-04-29 12:35:10 UTC
I just saw that the notification popup has the firefox logo in both the titlebar of the notification and in the Plasma taskbar... so it might be some backup way of Firefox showing notifications in its own process??
Comment 6 Lyubomir 2022-04-29 12:38:57 UTC
... Or maybe not as when it works correctly there is also the Firefox logo. And yes, I also saw that just now.

Also I think this has fixed now without logging out and in again in Plasma, but just with restarting Firefox. Not really sure as my attention was elsewhere but I restarted the browser recently and did not logout of Plasma recently.
Comment 7 Justin Zobel 2022-05-14 07:03:00 UTC
Also getting this, same issue, Firefox notifications with title bars.

Operating System: Fedora Linux 36
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.6-300.fc36.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
Comment 8 Justin Zobel 2022-05-14 07:06:12 UTC
After reading the comments: I had to restart plasmashell early in my session as it completely stopped accepting input.
Comment 9 Nate Graham 2022-09-08 18:18:17 UTC
Are either of you able to reproduce this issue in Plasma 5.25 or later?
Comment 10 Justin Zobel 2022-09-09 06:15:04 UTC
I've not seen this issue for a long while. Not sure what/when it was solved by.
Comment 11 Nate Graham 2022-09-09 13:13:51 UTC
How about you, Lyubomir?
Comment 12 Lyubomir 2022-09-11 08:16:09 UTC
Sorry for the late reply. I don't remember when was the last time this happened, but I've got many things to think about so i might've forgotten if it was recently.

Close the bug (if you want so), i'll reply here if it happens again.
Comment 13 Nate Graham 2022-09-11 15:48:52 UTC
Sounds good.