https://bugs.kde.org/show_bug.cgi?id=466046

--- Comment #9 from Vlad Zahorodnii <[email protected]> ---
Git commit 5c58d4e38ddcfbdc187893fa61f71af87094aa76 by Vlad Zahorodnii, on
behalf of Ramil Nurmanov.
Committed on 17/06/2026 at 11:25.
Pushed by vladz into branch 'master'.

outputlocator: show output number alongside name in OSD

Add the output number as a prominent square badge integrated into the
OutputLabel, displayed on the left side and spanning the full height of the
OSD.

This change makes the screen number immediately visible, similar to how KScreen
numbers displays in its configuration UI. The number is rendered inside the
existing `OutputLabel.qml` as a large square on the left, with the name and
resolution shown to its right. No additional QML scene or component is
introduced.

![39.png](/uploads/de63aca32e137914db214e4b964f811c/39.png){width=658
height=393}

The numbering algorithm is based on connector names (e.g., HDMI-1, DP-1) and is
calculated identically in both KWin and KScreen, ensuring the same order and
consistency between the OSD overlays and KCM UI without additional
synchronization.

Related KScreen MR: https://invent.kde.org/plasma/kscreen/-/merge_requests/456
Related: bug 481061, bug 450344

M  +11   -1    src/plugins/outputlocator/outputlocator.cpp
M  +69   -20   src/plugins/outputlocator/qml/OutputLabel.qml

https://invent.kde.org/plasma/kwin/-/commit/5c58d4e38ddcfbdc187893fa61f71af87094aa76

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to