Bug 493810

Summary: Screen picker shows blank entries after updating to Qt 6.7.3 / Qt 6.8, which can confuse parts of the system that use the screen arrangement as a data source
Product: [Applications] systemsettings Reporter: hbr <nepnep>
Component: kcm_kscreenAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: cuihao.leo, ftefrjbhfvasf32, me, nate, plasma-bugs, rsworktech
Priority: NOR    
Version: 6.2.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: https://bugreports.qt.io/browse/QTBUG-127340
See Also: https://bugs.kde.org/show_bug.cgi?id=493116
Latest Commit: Version Fixed In: Qt 6.8.1
Sentry Crash Report:
Attachments: Screen picker shows blank entries after updating to Qt 6.7.3
Screen picker shows blank entries after updating to Qt 6.7.3 Journal

Description hbr 2024-09-29 07:20:57 UTC
Created attachment 174185 [details]
Screen picker shows blank entries after updating to Qt 6.7.3

SUMMARY
After updating from Qt 6.7.2 to 6.7.3 the screen picker in system settings shows 2 additional blank entries instead of just the screens that are actually connected to the GPU. This did not happen with Qt 6.7.2.

STEPS TO REPRODUCE
1. Update to Qt 6.7.3
2. Open "System Settings"
3. Open "Display & Monitor"
4. Click on the drop down control labeled "Device"

OBSERVED RESULT
It shows 2 additional blank entries instead of just the screens that are actually connected to the GPU (see attachment).

EXPECTED RESULT
It only shows the screens that are actually connected to the GPU and no blank entries like it did on Qt 6.7.2.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS (Arch Linux)
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.10.10-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 30,9 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Comment 1 hbr 2024-09-29 07:35:43 UTC
Created attachment 174187 [details]
Screen picker shows blank entries after updating to Qt 6.7.3 Journal

Added output from journalctl
Comment 2 Nate Graham 2024-09-30 20:04:18 UTC
This is actually caused by a bug in the Linux Kernel 6.10.10. 6.10.11 fixes it.
Comment 3 hbr 2024-10-01 13:57:18 UTC
Updated to kernel 6.11.1 now and the issue is still there. So either the fix from 6.10.11 is missing there or it is not the same issue.
Comment 4 Antonio Rojas 2024-10-06 08:45:15 UTC
*** Bug 494190 has been marked as a duplicate of this bug. ***
Comment 5 hbr 2024-10-23 17:35:25 UTC
The issue persists on kernel 6.11.5, Plasma 6.2.2 and QT 6.8. I don't think it is a kernel issue.
Comment 6 Nate Graham 2024-10-28 16:02:24 UTC
*** Bug 493618 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2024-10-28 16:03:12 UTC
*** Bug 495357 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2024-10-29 14:20:51 UTC
*** Bug 495477 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2024-10-30 15:46:55 UTC
Some investigation by others has revealed that this is caused by the same Qt regression that caused Bug 493116. Happily, it's already fixed in Qt 6.8.1.

Bug your distro to backport the fix!