Created attachment 187921 [details] Blank line under empty subdir SUMMARY When a session has a directory that has only a subdirectory, and the subdirectory has no files, the file browser adds a blank line under the subdirectory. It persists even after files are added. STEPS TO REPRODUCE 1. Create the following directory structure: project/parent/subdir 2. In a new Kate session, open the "project" folder 3. Display the file browser on the left if necessary OBSERVED RESULT There is a blank line with a line next to it, as if there was a file, but where the filename would be there is a blank space EXPECTED RESULT There is nothing shown under the subdir directory SOFTWARE/OS VERSIONS Operating System: Solus 4.8 KDE Plasma Version: 6.5.80 KDE Frameworks Version: 6.22.0 Qt Version: 6.10.1 Kernel Version: 6.17.8-324.current (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION This is also present in Fedora, which has Kate 25.12.0 I found this while testing a crash reported in bug 513753 In the screenshot, you can see the blank line under folder2/2
Created attachment 187944 [details] video POC I have reproduced bug on Arch rolling, KDE 6.5.4.
Git commit 5a96153aaaedeb382dd9f68c75f4c4c17779ae69 by Waqar Ahmed. Committed on 24/12/2025 at 17:59. Pushed by waqar into branch 'master'. Only append child's children if there's something to append M +4 -1 addons/project/kateprojectviewtree.cpp https://invent.kde.org/utilities/kate/-/commit/5a96153aaaedeb382dd9f68c75f4c4c17779ae69
thanks. was the video any help.
Git commit 03886fd054d4e518e0b48090ff6401937635747d by Waqar Ahmed. Committed on 24/12/2025 at 18:11. Pushed by waqar into branch 'release/25.12'. Only append child's children if there's something to append M +4 -1 addons/project/kateprojectviewtree.cpp https://invent.kde.org/utilities/kate/-/commit/03886fd054d4e518e0b48090ff6401937635747d
whats going on here, why commit it twice.