D27675: feat: avoid duplicated text when assembling user-facing output names

Daniel Vrátil noreply at phabricator.kde.org
Wed Feb 26 12:08:47 GMT 2020


dvratil added a comment.


  This is needed for D10042 <https://phabricator.kde.org/D10042> (which I'm rebasing right now) when even on KWayland the `KScreen::Output` will have EDID attached (assembled from information provided by KWayland/KWin). Since on KWayland the output name already is `Vendor Model` adding the information from EDID ends up with the string `Vendor Model (Vendor Model)`, that is in my case `Eizo Nanao Corporation DP-5-EV2736W/96211045 (Eizo Nanao Corporation DP-5-EV2736W/96211045)`, which is really long and kinda pointless.

REPOSITORY
  R104 KScreen

REVISION DETAIL
  https://phabricator.kde.org/D27675

To: dvratil, #plasma
Cc: romangg, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200226/e3c0c77c/attachment.html>


More information about the Plasma-devel mailing list