Bug 459140 - Notifications mis-positioned to be partially off-screen after disconnecting from docking station
Summary: Notifications mis-positioned to be partially off-screen after disconnecting f...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.24.6
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-15 06:27 UTC by jaro.schmidt
Modified: 2022-10-27 13:03 UTC (History)
4 users (show)

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


Attachments
Cropped notification (16.55 KB, image/png)
2022-09-15 06:27 UTC, jaro.schmidt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jaro.schmidt 2022-09-15 06:27:08 UTC
Created attachment 152070 [details]
Cropped notification

SUMMARY
If I disconnect my laptop (ThinkPad P14s Gen 2, lid closed) from a docking station (ThinkPad Universal USB-C Dock) with two external screens the notifications are cropped afterwards (see screenshot, content of notification removed for privacy reasons). This can be fixed by logging out and in again.


STEPS TO REPRODUCE
1. Connect laptop to docking station
2. Remove docking station (lid closed)
3. Get a notification

OBSERVED RESULT
Notification cropped

EXPECTED RESULT
Notification not cropped

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-47-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 PRO 5850U with Radeon Graphics
Memory: 27,2 GiB of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-09-15 17:03:39 UTC
Does the same thing happen in the Wayland session? Or only the X11 session? Could you give it a try?
Comment 2 jaro.schmidt 2022-09-19 08:46:37 UTC
(In reply to Nate Graham from comment #1)
> Does the same thing happen in the Wayland session? Or only the X11 session?
> Could you give it a try?

Hi, actually this exact problem doesn't happen in the Wayland session. But instead there the taskbar doesn't appear on the attached monitors although the laptop lid is closed (the laptop screen disappears in System Settings -> Display and Monitor as it should be). Additionally notifications appear on the left without any distance to the border. This seems to be a unrelated bug. But if the docking station is disconnected and the lid is opened, everything works as expected.
Comment 3 Nate Graham 2022-09-19 21:49:39 UTC
I had a feeling it would work.

Unfortunately mixed-DPI multimonitor setups are not well-supported in the X11 session, and bugs like these are not feasibly fixable. It's one reason why Wayland exists; it becomes possible to make this sort of thing work properly!

Given your use case and hardware, I would recommend using the Wayland session if possible.
Comment 4 jaro.schmidt 2022-09-20 11:05:19 UTC
Thanks for the recommendation. Sadly, the showstoppers for Wayland are still too many for me, especially concerning login, session and window management. I think I can live with logging out once after disconnecting from the docking station.
Comment 5 jaro.schmidt 2022-10-27 13:03:44 UTC
Just for future reference: This problem is fixed for me if I open the lid before disconnecting from the docking station. While still connected the laptop screen is activated and the primary one.