https://bugs.kde.org/show_bug.cgi?id=503372
Bug ID: 503372 Summary: Automatically-sized Size column is too narrow when re-visiting a directory Classification: Applications Product: dolphin Version: git-master Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: view-engine: details mode Assignee: dolphin-bugs-n...@kde.org Reporter: ad.liu....@gmail.com CC: kfm-de...@kde.org Target Milestone: --- SUMMARY With Automatical Column Size on, the Size column would be correctly sized when you first-time visit a directory which has a sub-directory of more than 1000 items. But when you navigate away then go back to that directory, the Size column would be too narrow. Debugging shows that when a directory is cached, the data `KItemListView::preferredColumnWidths` receives are all "0 items" for sub-directories. STEPS TO REPRODUCE 1. `cd` to some directory where a sub-directory has more than 1000 items. 2. `dolphin .` 3. The Size column is wide enough to show "1000 items". 4. Navigate to home. 5. Press Back. OBSERVED RESULT The Size column is too narrow to show "1000 items". EXPECTED RESULT The Size column has the same width as in step 3. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.3.80 KDE Frameworks Version: 6.14.0 Qt Version: 6.9.0 Kernel Version: 6.14.3-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics Memory: 16 GiB of RAM (15.0 GiB usable) Graphics Processor: AMD Radeon Graphics -- You are receiving this mail because: You are watching all bug changes.