Bug 481723 - All OSD notifications displaced during and after disconnecting external monitor
Summary: All OSD notifications displaced during and after disconnecting external monitor
Status: RESOLVED DUPLICATE of bug 452648
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-23 13:58 UTC by Iyán Méndez Veiga
Modified: 2024-04-24 14:38 UTC (History)
3 users (show)

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


Attachments
OSD notifications displaced (2.57 MB, image/png)
2024-02-23 14:00 UTC, Iyán Méndez Veiga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iyán Méndez Veiga 2024-02-23 13:58:59 UTC
SUMMARY

All OSD notifications (volume, screen brightness, etc.) are displaced from their usual position after I connected an external monitor (configured to extend to the left). I attach one screenshot to show the current position of the notifications. The wrong position continued even after disconnecting the external monitor.


STEPS TO REPRODUCE
1. Attach external monitor
2. Try to change brightness, volume, etc.
3. Disconnect external monitor
4. Try again to change brightness, volume, etc.

OBSERVED RESULT
OSD notifications are not centered and close to bottom as usual

EXPECTED RESULT
OSD notifications should, in my opinion, only be displayed in main display. If a laptop is connected to an external monitor or projector, OSD should only be visible in the laptop, unless the built-in screen is disabled or, of course, in unify output mode. Why? Imagine the setup of a laptop connected to a public projector. Changing the brightness only affects the built-in screen and it is distracting for the people watching the projector (slides, video, etc.).

In any case, after removing any external screen, the position of OSD notifications should be correct on the built-in screen.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: LENOVO
Product Name: 20XYCTO1WW
System Version: ThinkPad X1 Yoga Gen 6
Comment 1 Iyán Méndez Veiga 2024-02-23 14:00:04 UTC
Created attachment 166040 [details]
OSD notifications displaced
Comment 2 fanzhuyifan 2024-02-23 15:28:06 UTC
Can't reproduce the misplacement part on plasma git build, wayland -- OSDs appear in the right position after multiple connect/disconnect attempts.
Comment 3 Nate Graham 2024-02-23 21:38:44 UTC
Also cannot reproduce with current git master. I'm pretty sure this is a known issue that got fixed a week or two ago, but I'm having trouble finding the bug report for it. Can you test again with the final release in a few days?
Comment 4 Nate Graham 2024-02-23 21:40:13 UTC
Aha, found it: Bug 452648.

*** This bug has been marked as a duplicate of bug 452648 ***
Comment 5 Iyán Méndez Veiga 2024-02-23 21:46:36 UTC
(In reply to Nate Graham from comment #4)
> Aha, found it: Bug 452648.
> 
> *** This bug has been marked as a duplicate of bug 452648 ***

I don't think this is the same bug. That old bug was always in the wrong position, while this is only when connecting external monitors and also not 100% reproducible. But sure, I will try again with the release of Plasma 6. If I still manage to observe that, I will reopen :)
Comment 6 Nate Graham 2024-02-23 22:29:02 UTC
Cool, feel free to. Hopefully it goes away on its own 😅
Comment 7 Ye Jingchen 2024-04-24 14:31:17 UTC
I am also hitting this, the volume / brightness OSD sometimes appears at upper left corner, or just attached to the left side of the screen somewhere. Usually happens after waking up the laptop from sleep, and might have something to do with external monitor waking up slower than laptop. But I'm not sure how to reliably reproduce this.

SOFTWARE/OS VERSIONS
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.7-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 6850HS with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: HP
Product Name: HP EliteBook 845 14 inch G9 Notebook PC
Comment 8 Ye Jingchen 2024-04-24 14:38:45 UTC
My screen arrangement looks like this:

>                        +----------------------+
>                        |                      |
>                        |                      |
>                        |      LG HDR 4K       |
>       +---------------+|    3840x2160@200%    |
>       |               ||                      |
>       | laptop screen ||                      |
>       | 1920x1200@150%|+----------------------+
>       |               |
>       +---------------+

It didn't happen when I put the laptop to the right of external monitor.