Created attachment 156976 [details] Video of the issue, first half is as it should be, second half is the bug SUMMARY Opening the search bar in dolphin sometimes messes up your layout (the width of the sidebars) and doesn't restore them after closing the search, so you need to manually re-adjust them every time STEPS TO REPRODUCE 1. Open dolphin 2. Have at least one sidebar 3. Seems to be easier to reproduce in a folder with many items 4. Open the search OBSERVED RESULT Your preferred layout (e.g. sidebar width) is modified, sidebars are being made a lot thinner (second half of video) EXPECTED RESULT Your preferred layout stays as is, and the search doesn't take more space than it is allowed to (first half of video) Operating System: Fedora Linux 37 KDE Plasma Version: 5.27.2 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.14-200.fc37.x86_64 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i5-8365U CPU @ 1.60GHz Memory: 15.3 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620 Manufacturer: LENOVO Product Name: 20NQS5TD01 System Version: ThinkPad X390 Yoga
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/520
Git commit ba60b6ada3121389dcd4ee51aaa9067d681b187a by Ismael Asensio. Committed on 04/03/2023 at 10:30. Pushed by iasensio into branch 'master'. search: Prevent the search box from enlarging the view By default, the search filters widget calculates its `minimumSizeHint` as the sum of its components' minimum widths. This minimum width hint will scale up the widgets hierarchy, finally imposing a minimum width to the contents view, which in certain conditions can take the space from the side panels. Let's set a minimum width hint of 0, so it is the filters widget which always adapts to the available view size instead. FIXED-IN: 23.04 M +5 -0 src/search/dolphinfacetswidget.cpp M +2 -0 src/search/dolphinfacetswidget.h https://invent.kde.org/system/dolphin/commit/ba60b6ada3121389dcd4ee51aaa9067d681b187a