STEPS TO REPRODUCE 1. Start a screen recording OBSERVED RESULT The screen chooser dialog shows my laptop's screen as "0x103D/0" (see screenshot) EXPECTED RESULT It should show a better name, like "Laptop screen" SOFTWARE/OS VERSIONS KDE Plasma Version: master KDE Frameworks Version: master Qt Version: 6.5.2 ADDITIONAL INFORMATION Wayland The string matches QScreen::model() for that screen QScreen::name() is "eDP-1" QScreen::manufacturer is "AU Optronics"
Created attachment 160932 [details] Screenshot
Can reproduce. Didn't see this in KF5, so it's a KF6/Plasma 6 regression.
Assigning to KWin, I can see the same weird non-sensical name using the "wayland-info" tool (I guess it would also with WAYLAND_DEBUG=1). interface: 'zxdg_output_manager_v1', version: 3, name: 33 xdg_output_v1 output: 49 name: 'eDP-1' description: 'BOE 0x08EE/0' logical_x: 0, logical_y: 0 logical_width: 1920, logical_height: 1080
That strange number comes from EDID. In Plasma 6, the output description format has changed so if the monitor name is available, it's going to be formatted as "monitor name/serial number".
That's not really a kwin bug, it looks like xdp displays the model string. In addition to that, the OutputsModel incorrectly detects the type of the screen. The model doesn't contain connector name, QScreen::name() does so (although it's not guaranteed from the protocols perspective).
A possibly relevant merge request was started @ https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/251
*** Bug 480615 has been marked as a duplicate of this bug. ***
Git commit 730f45c1851cc409bfcf8b0ad569cde40e17119c by Vlad Zahorodnii. Committed on 13/02/2024 at 13:29. Pushed by vladz into branch 'master'. Fix connector type detection The output model string doesn't contain the connector type. The output name is not guaranteed either, but it's the best what we've got. M +2 -2 src/outputsmodel.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/730f45c1851cc409bfcf8b0ad569cde40e17119c
Git commit a428032f5e591a48105eeeb7044f6f7ecae639ef by Vlad Zahorodnii. Committed on 13/02/2024 at 13:29. Pushed by vladz into branch 'master'. Format better human readable output descriptions M +27 -3 src/outputsmodel.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/a428032f5e591a48105eeeb7044f6f7ecae639ef
A possibly relevant merge request was started @ https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/271
Git commit c0dc10587a7e8dda4768fa1d87f97ed83103d31d by Vlad Zahorodnii. Committed on 13/02/2024 at 13:31. Pushed by vladz into branch 'Plasma/6.0'. Fix connector type detection The output model string doesn't contain the connector type. The output name is not guaranteed either, but it's the best what we've got. (cherry picked from commit 730f45c1851cc409bfcf8b0ad569cde40e17119c) M +2 -2 src/outputsmodel.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/c0dc10587a7e8dda4768fa1d87f97ed83103d31d
Git commit 2881858b0d079b5202990c0803260978124dd984 by Vlad Zahorodnii. Committed on 13/02/2024 at 13:34. Pushed by vladz into branch 'Plasma/6.0'. Format better human readable output descriptions (cherry picked from commit a428032f5e591a48105eeeb7044f6f7ecae639ef) M +27 -3 src/outputsmodel.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/2881858b0d079b5202990c0803260978124dd984