Bug 486560 - OSDs display in the top left corner of the screen after Keyboard Layout switcher is used
Summary: OSDs display in the top left corner of the screen after Keyboard Layout switc...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2024-05-04 10:25 UTC by Thomas Duckworth
Modified: 2024-10-21 13:43 UTC (History)
5 users (show)

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


Attachments
Image of the issue described with the volume OSD (517.83 KB, image/jpeg)
2024-05-04 10:30 UTC, Thomas Duckworth
Details
Video of the issue (3.12 MB, video/webm)
2024-05-07 08:47 UTC, Thomas Duckworth
Details
Display Configuration page (163.01 KB, image/png)
2024-05-07 14:58 UTC, Thomas Duckworth
Details
Keyboard Layouts page (115.50 KB, image/png)
2024-05-07 14:59 UTC, Thomas Duckworth
Details
Example (398.71 KB, image/png)
2024-06-06 19:58 UTC, MBR
Details
Display layout (110.86 KB, image/png)
2024-06-06 19:59 UTC, MBR
Details
Screenshot of display configuration page (797.63 KB, image/png)
2024-06-07 11:12 UTC, Herbie Hopkins
Details
Bug screenshot (347.41 KB, image/png)
2024-10-21 13:43 UTC, MBR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Duckworth 2024-05-04 10:25:11 UTC
SUMMARY
When the keyboard layout switcher is used twice, all OSD popups after then appear in the top left corner of the screen, until the computer is restarted or, potentially, the user account is logged out of and then logged back in again.

STEPS TO REPRODUCE
1. Set up alternate keyboard layout in System Settings > Input & Output > Keyboard > Keyboard > Layouts
2. Switch between layouts twice, using keyboard shortcut or system tray icon - on second time OSD will appear on the top left
3. Use other OSDs

OBSERVED RESULT
After switching layouts twice, OSDs appear in the top left corner of the screen.

EXPECTED RESULT
OSDs are centred on the screen.

SOFTWARE/OS VERSIONS
Linux: Fedora 40 KDE, kernel 6.8.8-300.fc40.x86_64
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
I am using an Nvidia graphics card (2080ti), currently using the 550 proprietary driver, on a multi-monitor setup with one screen at 165hz 1440p and one screen at 60hz 1080p, rotated 90deg clockwise.
I experienced this issue since the release of Plasma 6, but I don't know if it existed in Plasma 5.
Comment 1 Thomas Duckworth 2024-05-04 10:30:47 UTC
Created attachment 169181 [details]
Image of the issue described with the volume OSD
Comment 2 Nate Graham 2024-05-05 04:02:10 UTC
Is this on Wayland, or X11, or both?
Comment 3 Thomas Duckworth 2024-05-05 04:04:14 UTC
Wayland. I'm using Fedora so I can't use the X session. Should have specified in my original comment.
Comment 4 sirmrsir 2024-05-06 12:58:20 UTC
Could not reproduce. Also using Wayland with the 550 driver. Attempted switching several times using both methods. RTX 3080 driving three monitors, 1080p 165hz, 1080p 75hz, 1080p 75hz all in standard landscape orientation. 
OS: Fedora 40 Kionite
Kernel: 6.8.8-300.fc40.x86_64
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Comment 5 Nate Graham 2024-05-06 22:48:56 UTC
Also on Fedora 40, cannot reproduce with a single screen driven by an Intel HD620 iGPU. Need to test again with a second screen attached.
Comment 6 Thomas Duckworth 2024-05-07 08:47:49 UTC
Created attachment 169261 [details]
Video of the issue

Uploaded a video. There must be something really specific with my setup. I also experienced this when I was using Fedora 40 Kinoite.
Comment 7 Nate Graham 2024-05-07 14:42:21 UTC
Can't reproduce with multiple screens either. My setup is primary left, secondary right.

Can you post a screenshot of the Display and Monitor page that shows your setup. Also mention which screen is primary. Thanks!
Comment 8 Thomas Duckworth 2024-05-07 14:58:18 UTC
Created attachment 169276 [details]
Display Configuration page

Here's a picture.

The Dell is the main, and the HP is oriented 90 degrees counterclockwise, and is at 60hz.
Comment 9 Thomas Duckworth 2024-05-07 14:59:40 UTC
Created attachment 169277 [details]
Keyboard Layouts page

And here's an image of my Keyboard Layouts page.
Comment 10 Thomas Duckworth 2024-05-07 15:01:27 UTC
The issue weirdly does not persist when I disable the secondary HP monitor in Display Configuration. Only when the monitor is enabled does this occur. Maybe something to do with it being oriented counterclockwise? Or a bug caused by differing resolutions?
Comment 11 Nate Graham 2024-05-07 19:39:33 UTC
Heh, my screen is also an HP located in the same place, with the same centered arrangement. I tried rotating it exactly as shown, but still could not reproduce the issue.
Comment 12 Thomas Duckworth 2024-05-08 06:52:18 UTC
(In reply to Nate Graham from comment #11)
> Heh, my screen is also an HP located in the same place, with the same
> centered arrangement. I tried rotating it exactly as shown, but still could
> not reproduce the issue.

I'm using NVIDIA right now but I'll try use the Intel iGPU
Comment 13 MBR 2024-06-06 19:58:42 UTC
Created attachment 170211 [details]
Example

Experiencing the same, except *all* OSDs are displayed in the top left - volume, bluetooth devices, keyboard layouts

Operating System: openSUSE Tumbleweed 20240531
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.3-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6650 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C56
System Version: 2.0
Comment 14 MBR 2024-06-06 19:59:38 UTC
Created attachment 170212 [details]
Display layout

And this is my display layout
Comment 15 Herbie Hopkins 2024-06-07 11:12:08 UTC
Created attachment 170226 [details]
Screenshot of display configuration page

Also seeing this issue. I'm on Arch but also have a display configuration with one vertical monitor similar to a couple of other users here.

Operating System: Arch Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 7900 12-Core Processor
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XT
Manufacturer: ASUS
Comment 16 MBR 2024-08-24 09:52:31 UTC
This stopped happening for me at some point, currently I am on 6.1.4
Comment 17 Nate Graham 2024-08-29 17:09:39 UTC
How about you, Thomas, are you still experiencing it too?
Comment 18 Bug Janitor Service 2024-09-13 03:47:05 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 19 Thomas Duckworth 2024-09-27 05:19:54 UTC
(In reply to Nate Graham from comment #17)
> How about you, Thomas, are you still experiencing it too?

Haven't noticed it recently, no. I think it's gone away
Comment 20 MBR 2024-10-21 13:43:37 UTC
Created attachment 175084 [details]
Bug screenshot

Looks like this bug returned in 6.2.0 (also happens on 6.2.1 with Qt 6.8)
Interestingly enough, it only happens on one device (laptop, nvidia, details below), the bug doesn't happen on amd gpu.

Operating System: openSUSE Tumbleweed 20241018
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.3-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-10210U CPU @ 1.60GHz
Memory: 38.5 GiB of RAM
Graphics Processor: Quadro P520/PCIe/SSE2
Manufacturer: LENOVO
Product Name: 20T40004UK
System Version: ThinkPad P15s Gen 1