Bug 504418 - Mime type list can go out of bounds
Summary: Mime type list can go out of bounds
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_componentchooser (other bugs)
Version First Reported In: 6.3.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-05-17 15:24 UTC by Damglador
Modified: 2025-05-21 21:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments
The list (180.34 KB, image/png)
2025-05-17 15:24 UTC, Damglador
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Damglador 2025-05-17 15:24:20 UTC
Created attachment 181441 [details]
The list

SUMMARY
When I set Dolphin for archives, it says "The thing might not be able to open all types of files" (or something like that), and when I click details, it opens a list of mime types that has no scroll bar, so the content goes out of bounds (see screenshot)

STEPS TO REPRODUCE
1. Set Dolphin for opening archives
2. Click "Details"
3. See the list

OBSERVED RESULT
The list has no scroll bar

EXPECTED RESULT
The list should have a scroll bar and shouldn't go out of bounds

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-1-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 13.5 GiB of RAM
Graphics Processor 1: AMD Radeon Graphics
Graphics Processor 2: NVIDIA GeForce RTX 3060 Laptop GPU

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-05-19 16:14:06 UTC
Can confirm. I'll look into it.
Comment 2 Nate Graham 2025-05-21 19:57:13 UTC
Looks like I broke this in https://invent.kde.org/plasma/plasma-workspace/-/commit/46e9e9e469153df9b492855fed69ea520ca0df16, oops. :( By overriding the contentItem of the dialog, I blew away the invisible internal ScrollView that the content gets magically re-parented to. Which is a good example of why this kind of magic is a bad idea.

I'll fix it.
Comment 3 Nate Graham 2025-05-21 20:01:29 UTC
Looks like that's the only regression from my port-to-dialog spree.
Comment 4 Bug Janitor Service 2025-05-21 20:08:24 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5508
Comment 5 Nate Graham 2025-05-21 21:18:25 UTC
Git commit c0b357d17633f2b075afb85c908d4581900f306d by Nate Graham.
Committed on 21/05/2025 at 20:03.
Pushed by ngraham into branch 'master'.

kcms/componentchooser: fix dialog scrollability

I broke this in 46e9e9e469153df9b492855fed69ea520ca0df16 while porting
the old OverlaySheet version to Dialog; by overriding the contentItem
of the dialog, I blew away the invisible internal ScrollView that the
content gets magically re-parented to. Which is probably a good example
of why this kind of magic is a bad idea overall.
FIXED-IN: 6.3.6

M  +1    -1    kcms/componentchooser/ui/ComponentOverlay.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/c0b357d17633f2b075afb85c908d4581900f306d
Comment 6 Nate Graham 2025-05-21 21:19:14 UTC
Git commit e812b7febe29b3b06aa317df60139c17c9edc8cb by Nate Graham.
Committed on 21/05/2025 at 21:19.
Pushed by ngraham into branch 'Plasma/6.4'.

kcms/componentchooser: fix dialog scrollability

I broke this in 46e9e9e469153df9b492855fed69ea520ca0df16 while porting
the old OverlaySheet version to Dialog; by overriding the contentItem
of the dialog, I blew away the invisible internal ScrollView that the
content gets magically re-parented to. Which is probably a good example
of why this kind of magic is a bad idea overall.
FIXED-IN: 6.3.6


(cherry picked from commit c0b357d17633f2b075afb85c908d4581900f306d)

Co-authored-by: Nate Graham <nate@kde.org>

M  +1    -1    kcms/componentchooser/ui/ComponentOverlay.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/e812b7febe29b3b06aa317df60139c17c9edc8cb