Bug 513504 - System Settings: many IPs make the layout overflow and break
Summary: System Settings: many IPs make the layout overflow and break
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_krdpserver (other bugs)
Version First Reported In: 6.3.6
Platform: Other Linux
: HI major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-17 18:55 UTC by Valerio Bozzolan
Modified: 2026-01-16 18:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.6.0
Sentry Crash Report:


Attachments
IPs overlapping Settings (137.06 KB, image/png)
2025-12-17 18:55 UTC, Valerio Bozzolan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valerio Bozzolan 2025-12-17 18:55:08 UTC
Created attachment 187754 [details]
IPs overlapping Settings

SUMMARY

I noticed a small accessibility issue (user experience issue) in the System Settings, when the host has many IPs (for example because I have many Docker containers).

STEPS TO REPRODUCE

1. Have many local IPs. Like 9 or 10.
2. Click "Enable RDP server" from the user interface

OBSERVED RESULT

The IPs are overlapping with Server Settings. See the attached image.

EXPECTED RESULT

The IPs are listed. Then, the Server Settings.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.57+deb13-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 13th Gen Intel® Core™ i7-1360P
Memory: 16 GiB of RAM (15.3 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics
Comment 1 Bug Janitor Service 2026-01-16 15:45:04 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/krdp/-/merge_requests/137
Comment 2 cwo 2026-01-16 17:39:29 UTC
Git commit c252930c09c072c2a2acd47aa7007a4ac7e9b739 by Christoph Wolk.
Committed on 16/01/2026 at 17:05.
Pushed by cwo into branch 'master'.

kcm/ui: use Flow and ScrollView for IP address list

The kcm shows a list of all IP adresses (and a copy button for each) in
the kcm header, each on an individual row. This works in normal setups,
but if the system has many IP adresses th list can get very large. KCM
(particularly ScrollViewKCM) headers and footers do not handle this
gracefully; if the headers and footers are large enough, they will
completely cover the ScrollView part, leaving it inaccessible, and the
header can even overflow over the footer, leading to graphical
corruption and inaccessible settings.

Instead, we make the list of IP addresses more compact by using a Flow,
rather than a ColumnLayout. Each delegate is rather short, so this can
save a lot of space. In case this is not enough, we also wrap it in a
scrollView with a maximum height of 4 gridUnits; this yields two visible
rows at typical font sizes and keeps the main content scrollview (the
user list) visible even at the smallest possible window size.
FIXED-IN: 6.6.0

M  +36   -33   src/kcm/ui/main.qml

https://invent.kde.org/plasma/krdp/-/commit/c252930c09c072c2a2acd47aa7007a4ac7e9b739
Comment 3 cwo 2026-01-16 18:25:14 UTC
Git commit ac2105d693d0d566fd0b87b0ab5778f4983cf637 by Christoph Wolk.
Committed on 16/01/2026 at 17:54.
Pushed by cwo into branch 'Plasma/6.6'.

kcm/ui: use Flow and ScrollView for IP address list

The kcm shows a list of all IP adresses (and a copy button for each) in
the kcm header, each on an individual row. This works in normal setups,
but if the system has many IP adresses th list can get very large. KCM
(particularly ScrollViewKCM) headers and footers do not handle this
gracefully; if the headers and footers are large enough, they will
completely cover the ScrollView part, leaving it inaccessible, and the
header can even overflow over the footer, leading to graphical
corruption and inaccessible settings.

Instead, we make the list of IP addresses more compact by using a Flow,
rather than a ColumnLayout. Each delegate is rather short, so this can
save a lot of space. In case this is not enough, we also wrap it in a
scrollView with a maximum height of 4 gridUnits; this yields two visible
rows at typical font sizes and keeps the main content scrollview (the
user list) visible even at the smallest possible window size.
FIXED-IN: 6.6.0


(cherry picked from commit c252930c09c072c2a2acd47aa7007a4ac7e9b739)

Co-authored-by: Christoph Wolk <cwo.kde@posteo.net>

M  +36   -33   src/kcm/ui/main.qml

https://invent.kde.org/plasma/krdp/-/commit/ac2105d693d0d566fd0b87b0ab5778f4983cf637