Bug 448579 - Notification popup changes position after turning off/on external screen
Summary: Notification popup changes position after turning off/on external screen
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.23.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords: regression
: 451811 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-16 04:41 UTC by hexchain
Modified: 2023-06-25 06:25 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.26


Attachments
Notification popup showing up at wrong position (39.10 KB, image/png)
2022-01-16 04:41 UTC, hexchain
Details
Notification popup at the correct position (20.46 KB, image/png)
2022-01-16 04:42 UTC, hexchain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hexchain 2022-01-16 04:41:36 UTC
Created attachment 145523 [details]
Notification popup showing up at wrong position

SUMMARY
I have an external screen (2560x1600) connected to a laptop, which has an internal screen (1920x1080) but its lid is closed. The panel (menu+taskbar+tray) is on the left side of the screen, and the notification position should be near the tray applet, which is on the bottom left.

It works without problem at first, but after turning off and on the external screen, the notification popup moves to a weird position (see the attached image).

The problem is more obvious if the popup position is set to bottom right - it appears near the center of the screen afterwards.

xrandr output:
> Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384
> eDP-1 connected (normal left inverted right x axis y axis)
>    1920x1080     60.04 +  59.93
> (... other modelines)
> HDMI-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 596mm x 335mm
>    2560x1440     59.95 +  74.93*
> (... other modelines)

STEPS TO REPRODUCE
1. notify-send something
2. turn the external screen off and on 
3. notify-send something again

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.15.10-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 29.8 GiB of RAM
Graphics Processor: AMD RENOIR
Comment 1 hexchain 2022-01-16 04:42:10 UTC
Created attachment 145524 [details]
Notification popup at the correct position
Comment 2 Nate Graham 2022-01-21 00:42:14 UTC
I've seen this recently with only a single screen, but haven't figured out how to reproduce it. It seems to be related to resolution-related things; sometimes my plasmashell is blurry and the notifications appear in the wrong place, as though the resolution is wrong. Restarting plasmashell fixes both issues.
Comment 3 Nate Graham 2022-02-01 21:01:34 UTC
Definitely seems related to 449212. I can reproduce this issue 100% when I log in and plasmashell is blurry. Notifications appear in the wrong place. Restarting plasmashell fixes both issues.
Comment 4 Nate Graham 2022-03-27 16:34:46 UTC
*** Bug 451811 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2022-09-08 18:14:52 UTC
Can't reproduce anymore; looks to have been fixed recently.