I'm running KDE Neon unstable with all the latest updates in a virtual machine, but I've seen the same behavior in couple of other distros, like Ubuntu 22.10, Manjaro, Pop OS - you name it. STEPS TO REPRODUCE 1. Be logged as a user to whatever desktop environment, not as root. Tested with XFCE, Gnome and KDE. 2. Open Filelight and scan a root folder 3. Go into some directory, 2 or more levels behind /, like /usr/share OBSERVED RESULT In a piechart you'll see a portion, attributed to the current user home directory. Even the tooltip says the same. EXPECTED RESULT No extra piechart portions, which have nothing to do with a directory, where the user is, should be displayed. SOFTWARE/OS VERSIONS Linux Neon Unstable 22.04 x86_64 kernel 5.15.0-53 KDE Plasma Version: 5.26.80 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.7 ADDITIONAL INFORMATION
Created attachment 153846 [details] example
Tested Filelight versions 23.03.70, 22.08.3 - the bug is still there, probably even in older versions.
A possibly relevant merge request was started @ https://invent.kde.org/utilities/filelight/-/merge_requests/63
Git commit 99ce2eaaaa667a293e8547b7f64811350074b223 by Ismael Asensio. Committed on 01/12/2022 at 21:13. Pushed by iasensio into branch 'master'. Fix the path shown for unrepresented files To represent the bunch of smaller files, we use a fake `File` with a custom string as the filename. Add a specific subclass for this case, where we also set the parent `Folder` so the right path is shown. Otherwise, `File::displayName()` will show the current working directory as the path for our fake item. FIXED-IN: 22.12.0 M +16 -7 src/radialMap/map.cpp https://invent.kde.org/utilities/filelight/commit/99ce2eaaaa667a293e8547b7f64811350074b223