Created attachment 106060 [details] Screenshot documenting the bug The newest update for KDE Plasma extra packages [5.35.0-1] brought a new bug that causes some notifications to be misplaced in the *very* upper left corner for a very short while. (It was difficult to take a screenshot of it..) A while before a notification expires, it instantly re-appears back on the right upper corner (as defined in the notification settings). Despite I run Plasma on X11, this bug may be a duplicate of that one: https://bugs.kde.org/show_bug.cgi?id=377970
This is something I noticed as well upgrading from Frameworks 5.34 to 5.35.
I am on KDE neon, x11, and I am getting this bug as well. Some times the notification is in the correct position, but then the next ones are in the top left corner. Only observed after kde frameworks 5.35.
In addition to top left, btw, I also get them on the bottom left edge. :D
Also seen this but suspected a local change I made. Meh. KRunner is also more often misplaced than it used to be.
Facing this issue as well since updating to KDE frameworks 5.35. I am on KDE neon user edition (non-LTS).
I can confirm thib bug since Frameworks 5.35 too. I happens on both X11 and Wayland.
Sometimes, krunner appears at (0, 0) instead of centered.
I can confirm this bug on Arch, plasma 5.10.2, qt 5.9. Sometimes notification from dolphin about finished copy/move files appears on top left corner.
(In reply to Kai Uwe Broulik from comment #4) > Also seen this but suspected a local change I made. Meh. KRunner is also > more often misplaced than it used to be. Yeah, also seen KRunner stick to left-upper corner.
*** Bug 381780 has been marked as a duplicate of this bug. ***
I can confirm, I'm also on 5.35 and notifications and krunner seem to go randomly on the top left corner.
Can people please retest when frameworks 5.36 comes out.
Tested with what is probably a pre-release of Frameworks 5.36 on Kubuntu 17.10, along with Plasma 5.10.3 and Applications 17.04.2. The notifications appear in the bottom-right as expected, and as yet have not appeared on the top-left.
Just got another notification in the bottom-left. It took a while for this to happen, so the situation may have been improved, but not totally solved.
I can confirm notification on left bottom, Arch running frameworks 5.36.
I can confirm that this also occurs on KDE 5.8.7 with KDE Frameworks 5.35.0
*** Bug 382131 has been marked as a duplicate of this bug. ***
I was running the User LTS version of KDE Neon.
I know it's a minor bug, but isn't an LTS suppose to NOT have any glaring bugs.
I can confirm that this still occurs on Arch Linux with frameworks version 5.36. While the situation seems to be slightly improved from 5.35, the problem still occurs. The frequency of occurrence of the problem seems to increase when multiple notifications are displayed. Notifications sometimes appear on the top-right instead of the bottom left.
(In reply to kishore96 from comment #20) > I can confirm that this still occurs on Arch Linux with frameworks version > 5.36. While the situation seems to be slightly improved from 5.35, the > problem still occurs. The frequency of occurrence of the problem seems to > increase when multiple notifications are displayed. Notifications sometimes > appear on the top-right instead of the bottom left. Correction: Notifications sometimes appear on top-left instead of bottom-right
Just got some upgrades on Arch - local/plasma-framework 5.36.0-1 Still notifications are broken.
I haven't tried this since I don't get that many notifications at the moment, but could someone try to "force" the notification location? Click the arrow to open the "status and notifications" pane, then right click the "notification" entry. Then select "notification settings", and then set the custom location to the bottom right. Does that have an impact?
By spamming "notify-test", it seems to work. Could someone please give this a try?
(In reply to Pranav Sharma from comment #24) > By spamming "notify-test", it seems to work. Could someone please give this > a try? Did you mean `notify-send`? I've tested this right now with Plasma 5.10.3 and KF5 5.35.0 and got no result.
I tried this already - It behaves pretty much the same. Some notification goes to position you define, some of them to left-upper corner. It looks like something is sometimes failing to count proper screen position (X,Y) and uses (0,0) instead.
(In reply to bogdan from comment #25) > (In reply to Pranav Sharma from comment #24) > > By spamming "notify-test", it seems to work. Could someone please give this > > a try? > > Did you mean `notify-send`? I've tested this right now with Plasma 5.10.3 > and KF5 5.35.0 and got no result. Yes, my bad, I used notify-send. It's so strange how inconsistently this bug appears. I don't know if more people should try that setting, or if it just doesn't work.
I should mention that I tested with 5.36 on Kubuntu 17.10 as a sort of "fresh install" by upgrading from 5.35 to 5.36 BEFORE logging in to KDE for the first time. I don't get many notifications, but the ones I got were all in the bottom-right, including those that would always appear in the top-left with 5.35. Are people testing this with 5.36 upgraded from 5.35 which was already being used for KDE sessions, or 5.36 being used the first time onwards on a fresh installation? Perhaps someone could test with a new user account in the former case?
You might be right. I just tested with new user account and wasn't able to reproduce in like 10 tries, while I can reproduce pretty easy on my primary account. My desktop was installed more than half year ago when I bought new laptop. So I upgraded since 5.8.x.
Perhaps 5.36 works correctly with new user accounts, especially if you can replicate the exact circumstance(s) in which you get misplaced notifications in old accounts. In that case, it would be a matter of figuring out what old configuration is causing the problem to remain.
Nope, I've tried with new account named "test". Notifications are still being misplaced. Plasma 5.10.3 KF 5.36 Qt 5.9.1 Arch
Also, it seems to be partially fixed. Misplacing occurs only when I'm spamming notify-send.
I might be wrong about this 'clean session' thing, because I did not test this well. I don't feel like it's improved at all. Today I seen some Spotify, Whatsapp or KMail notifications in top left corner.
If they truly fixed the bug, it SHOULDN'T require resetting configuration files at all, it should just fix itself.
*** Bug 382121 has been marked as a duplicate of this bug. ***
As plasma-framework 5.34 works, I tried some reverts on top of v5.35.0 and it looks like reverting fd2e850156ac7aa9c9dc2cf46652b2a1f1fc3a07 ("recreate plasmashellsurf on exposed, destoy on hidden") fixes it. Adding author of the patch to CC.
that one is necessary for wayland, even tough expose event is probably still not the exact right moment to do it, may need more thinking. also, the misplacing on xcb seems to happen on qt 5.8 onwards (may be necessary some xcb calls to directly move the window there)
(In reply to Pranav Sharma from comment #23) > I haven't tried this since I don't get that many notifications at the > moment, but could someone try to "force" the notification location? Click > the arrow to open the "status and notifications" pane, then right click the > "notification" entry. Then select "notification settings", and then set the > custom location to the bottom right. Does that have an impact? I have tried this and it doesn't seem to have had any effect.
Can someone try https://phabricator.kde.org/D6776
(In reply to David Edmundson from comment #39) > Can someone try https://phabricator.kde.org/D6776 Applying that patch seems to have fixed the issue. I have been spamming notify-send, but haven't been able to observe the issue again.
Just want to confirm I am seeing this in openSUSE Tumbleweed too. It may be happening more often when I'm running GTK applications, like Firefox. I'll pay closer attention and report. Version: plasma5-workspace 5.10.3-1.2
>It may be happening more often when I'm running GTK applications, like Firefox. I don't think this matters. I have KMail notification misplaced pretty often.
(In reply to David Edmundson from comment #39) > Can someone try https://phabricator.kde.org/D6776 This patch has resolved notification misplacement completely for me. Spamming notify-send is not causing issues.
Thanks guys, it'll be in the next frameworks release.
Funny how such an annoying bug is solved with a simple check. Patch seems to work. Thank you so much for fixing this issue. <3
Git commit a0e5bb3ea70ddc2bd52a8c69b84980249cc4aba7 by David Edmundson. Committed on 19/07/2017 at 14:22. Pushed by davidedmundson into branch 'master'. Don't perform wayland specific fixes when on X Summary: fd2e850156ac7aa9c9dc2cf46652b2a1f1fc3a07 introduces some behaviour changes that affect X even though they should be only Wayland related. Reviewers: #plasma Subscribers: graesslin, plasma-devel, #frameworks Tags: #plasma, #frameworks Differential Revision: https://phabricator.kde.org/D6776 M +1 -1 src/plasmaquick/dialog.cpp https://commits.kde.org/plasma-framework/a0e5bb3ea70ddc2bd52a8c69b84980249cc4aba7
*** Bug 382340 has been marked as a duplicate of this bug. ***
Finally a bug fix, that solves fox X
On Arch now with Plasma 5.10.4 packages this is not happening for me anymore. Finally!
I thought the fix would be in a frameworks update rather than a plasma update.
(In reply to Pranav Sharma from comment #50) > I thought the fix would be in a frameworks update rather than a plasma > update. That doesn't stop distributions from patching frameworks in advance.