[systemsettings] [Bug 523181] hexadecimal numbers shown in "Identify Screen" overlays

"Nate Graham" <[email protected]>
Newsgroups gmane.comp.kde.devel.bugs
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=523181

Nate Graham <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/d7f16bceb8
                   |                            |572f0459650e221a84f585743de
                   |                            |fdf
            Version|Plasma 6.6.7, 6.7.5, and    |6.6.7
  Fixed/Implemented|6.8.0.                      |
                 In|                            |

--- Comment #13 from Nate Graham <[email protected]> ---
Git commit d7f16bceb8572f0459650e221a84f585743defdf by Nate Graham.
Committed on 05/08/2026 at 15:14.
Pushed by vladz into branch 'Plasma/6.6'.

utils/edid: fix hexadecimal strings in output names

KWin uses libdisplay-info to decode EDID data. di_info_get_model() and
di_info_get_serial() fall back to hexadecimal values when no Display
Product Name or Serial Number descriptor is found.

This patch stops using those helpers and instead implements a direct
descriptor parser, similar to libkscreen's decoder: we still fall back
to a decimal value for the serial number,  but not for the model, so
m_monitorName is left empty if no name descriptor exists.

To avoid showing "unknown" when m_monitorName is empty,
DrmConnector::modelName() now skips empty values instead of
concatenating them (similar to libkscreen).

Note: if necessary a decimal fallback for the model (m_monitorName)
could be added later in the same way. Currently, the model falls back
to a hexadecimal representation,  but libkscreen has none either, so
this patch leaves it out for now.
FIXED-IN: 6.6.7


(cherry picked from commit 495d442585e255e7bb7f3e2d570ff2a881d53ce5)

2d916723 utils/edid: fix hexadecimal strings in output names
65a24935 drm_connector: avoid showing "unknown" when m_monitorName is empty

Co-authored-by: David Wild <[email protected]>

M  +3    -0    src/backends/drm/drm_connector.cpp
M  +19   -4    src/utils/edid.cpp

https://invent.kde.org/plasma/kwin/-/commit/d7f16bceb8572f0459650e221a84f585743defdf

-- 
You are receiving this mail because:
You are watching all bug changes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.