Bug 513301

Summary: Directory selection dialog, sidebar size/resizing is wonky
Product: [Frameworks and Libraries] frameworks-kio Reporter: ulterno
Component: Open/save dialogsAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 6.20.0   
Target Milestone: ---   
Platform: EndeavourOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenrecording displaying the wonky behaviour of the directory selection dialog

Description ulterno 2025-12-13 16:19:45 UTC
Created attachment 187585 [details]
screenrecording displaying the wonky behaviour of the directory selection dialog

SUMMARY
The Places sidebar in the file selection dialog for directory selection does not resize properly. Sometimes, for certain dialog-window sizes, it opens with weird dimensions too.

STEPS TO REPRODUCE
1. Open the "Choose a directory" dialog.
    - Kate -> "Open Folder..." action will do
2. Try resizing the Places sidebar
    - You might need to enable the Places sidebar in the settings beforehand

OBSERVED RESULT
- See the video. I can't explain better than that.

EXPECTED RESULT
- Similar to what the Places sidebar does in Dolphin

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 64 GiB of RAM (62.7 GiB usable)
Graphics Processor: AMD Radeon RX 7600

ADDITIONAL INFORMATION
This is a regression from plasma 5, but I am not sure when exactly it occured