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

            Bug ID: 434383
           Summary: Visual bugs due to very long screen name
           Product: systemsettings
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_kscreen
          Assignee: kscreen-bugs-n...@kde.org
          Reporter: isma...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

Created attachment 136655
  --> https://bugs.kde.org/attachment.cgi?id=136655&action=edit
KScreen KCM (screen 0)

SUMMARY

Having a very long name for a screen causes several visual bugs and
inconsistencies, specially on a dual-monitor setup:
 1 - The label on the screen selector overflows the screen representation
 2 - Options form for the second screen show partially on the margin when the
first screen is selected
 3 - Scaling slider for the first screen shows and overlaps when the second
screen is selected

STEPS TO REPRODUCE
1. Have a screen with a very long name (probably easier if it can be mocked-up)
2. Commute between screens in the KCM

ADDITIONAL INFORMATION:

(3) is caused by the combobox selector becoming too wide, which makes the
FormLayout (and the associated twin FormLayouts) wider than the actual
available space. The slider has fillWidth:true, which makes it flood into the
second column of the SwipeView.

Setting the combo maximumWidth to the FormLayout width fixes this by cropping
the components to the space available, but with a horrible binding loop. The
combination of twin FormLayouts and a SwipeView makes it a little complicated
to set it the right way in the right place.

A general improvement would be to get a shorter name for the screens.
Mine currently is: "Samgsung Electric Company SAMSUNG (Samsung Electric Company
HDMI-A-1-SAMSUNG/16780800)"


SOFTWARE/OS VERSIONS
(available in About System)
KDE Plasma Version: 5.22 (git master)
KDE Frameworks Version: 5.81 (git master) 
Qt Version: 5.15.3

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

Reply via email to