[filelight] [Bug 461964] When you go inside some directory, Filelight occasionally shows a portion of a pie chart attributed to a user homedir

Ismael Asensio bugzilla_noreply at kde.org
Thu Dec 1 21:36:05 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=461964

Ismael Asensio <isma.af at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |22.12.0
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/filelight/commit/99ce
                   |                            |2eaaaa667a293e8547b7f648113
                   |                            |50074b223

--- Comment #4 from Ismael Asensio <isma.af at gmail.com> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list