Bug 438154

Summary: Display Configuration KCM screen description is too large for portrait oriented screens
Product: [Applications] systemsettings Reporter: Oded Arbel <oded>
Component: kcm_kscreenAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR Keywords: usability
Version First Reported In: 5.21.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.27
Sentry Crash Report:
Attachments: A screenshot showing the issue

Description Oded Arbel 2021-06-06 11:15:30 UTC
Created attachment 139031 [details]
A screenshot showing the issue

SUMMARY
The screen description for monitors with EDID is too large and overflows the display configuration screen representation boxes, when used with vertically oriented externally attached screens. See attached screenshot.

STEPS TO REPRODUCE
1. Connect an external screen with EDID support.
2. Open the Display Configuration KCM
3. Set the external screen to a portrait (vertical) orientation.

OBSERVED RESULT
The screen description text overflows the screen representation box.


EXPECTED RESULT
The screen description should fit properly within the screen box. If there is more text that actually needs to be presented, the text can be truncated with an ellipsis and shown with a tool tip.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
The problem was detected in a wayland session. I'm not sure if it is wayland related.

The problem was detected when using the default size of the System Settings application. Increasing the height of the window (almost to the available height of a 1920 by 1080) makes the problem kind of go away - the screen position configuration UI uses the available height to scale up the screen representation boxes to the point where the text is readable, though padding is a bit weird.

Here is the full EDID for one of the screens shown in the screenshot (the two external screens are identical):

----8<---
Block 0, Base EDID:
  EDID Structure Version & Revision: 1.4
  Vendor & Product Identification:
    Manufacturer: DEL
    Model: 41196
    Serial Number: 809583692
    Made in: week 31 of 2017
  Basic Display Parameters & Features:
    Digital display
    Bits per primary color channel: 10
    DisplayPort interface
    Maximum image size: 61 cm x 35 cm
    Gamma: 2.20
    DPMS levels: Off
    Supported color formats: RGB 4:4:4, YCrCb 4:4:4, YCrCb 4:2:2
    Default (sRGB) color space is primary color space
    First detailed timing includes the native pixel format and preferred refresh rate
  Color Characteristics:
    Red  : 0.6396, 0.3300
    Green: 0.2998, 0.5996
    Blue : 0.1503, 0.0595
    White: 0.3134, 0.3291
  Established Timings I & II:
    IBM     :   720x400    70.082 Hz   9:5    31.467 kHz  28.320 MHz
    DMT 0x04:   640x480    59.940 Hz   4:3    31.469 kHz  25.175 MHz
    DMT 0x06:   640x480    75.000 Hz   4:3    37.500 kHz  31.500 MHz
    DMT 0x09:   800x600    60.317 Hz   4:3    37.879 kHz  40.000 MHz
    DMT 0x0b:   800x600    75.000 Hz   4:3    46.875 kHz  49.500 MHz
    DMT 0x10:  1024x768    60.004 Hz   4:3    48.363 kHz  65.000 MHz
    DMT 0x12:  1024x768    75.029 Hz   4:3    60.023 kHz  78.750 MHz
    DMT 0x24:  1280x1024   75.025 Hz   5:4    79.976 kHz 135.000 MHz
  Standard Timings:
    DMT 0x15:  1152x864    75.000 Hz   4:3    67.500 kHz 108.000 MHz
    DMT 0x23:  1280x1024   60.020 Hz   5:4    63.981 kHz 108.000 MHz
    DMT 0x53:  1600x900    60.000 Hz  16:9    60.000 kHz 108.000 MHz (RB)
    DMT 0x33:  1600x1200   60.000 Hz   4:3    75.000 kHz 162.000 MHz
    DMT 0x52:  1920x1080   60.000 Hz  16:9    67.500 kHz 148.500 MHz
    CVT     :  2048x1280   59.962 Hz  16:10   79.570 kHz 220.250 MHz (EDID 1.4 source)
    GTF     :  2048x1280   60.000 Hz  16:10   79.500 kHz 221.328 MHz (EDID 1.3 source)
    DMT 0x45:  1920x1200   59.885 Hz  16:10   74.556 kHz 193.250 MHz
  Detailed Timing Descriptors:
    DTD 1:  3840x2160   59.997 Hz  16:9   133.312 kHz 533.250 MHz (609 mm x 349 mm)
                 Hfront   48 Hsync  32 Hback  80 Hpol P
                 Vfront    3 Vsync   5 Vback  54 Vpol N
    Display Product Serial Number: 'FN84K7840ADL'
    Display Product Name: 'DELL U2718Q'
  Display Range Limits:
    Monitor ranges (GTF): 49-86 Hz V, 10-137 kHz H, max dotclock 540 MHz
  Extension blocks: 1
Checksum: 0xeb
----8<----
Comment 1 Nate Graham 2021-06-09 20:47:07 UTC
Urgh yeah. There is probably just too much information displayed here for us to ever have a chance of fitting it all into screens or arbitrary size and orientation.
Comment 2 Nate Graham 2022-11-10 22:36:32 UTC
Fixed for Plasma 5.27!