Bug 487930 - Trying to open folder representing ‘rest of the files’ results in error
Summary: Trying to open folder representing ‘rest of the files’ results in error
Status: RESOLVED FIXED
Alias: None
Product: filelight
Classification: Applications
Component: general (show other bugs)
Version: 24.02.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-02 17:06 UTC by Karl Ove Hufthammer
Modified: 2024-06-04 20:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2024-06-02 17:06:24 UTC
SUMMARY
Filelight sometimes lumps several files together into one segment and gives it a name like ‘1,132 files, with an average size of 164.2 KiB’. When one tries to open the segment, one gets an error message.


STEPS TO REPRODUCE
1. Run Filelight on a directory (I used ~/.wine)
2. Hover over the segments until you find one like ‘1,132 files, with an average size of 164.2 KiB’.
3. Right-click on the segment and select ‘Open’

OBSERVED RESULT
I get the following error message:

The file or folder /home/username/.wine/drive_c/windows/system32/
1,132 files, with an average size of 164.2 KiB does not exist.


EXPECTED RESULT
The directory should open normally (in the default file manager). Or, if the cluster contains files from *several* directories, the ‘Open’ command should not be shown when right-clicking on the cluster.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240524
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.9.1-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2
Manufacturer: MSI
Product Name: MS-7673
System Version: 1.0
Comment 1 Bug Janitor Service 2024-06-03 09:18:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/filelight/-/merge_requests/134
Comment 2 Harald Sitter 2024-06-04 19:58:03 UTC
Git commit 7f55949244a369b0401089e8778fd160fe44edba by Harald Sitter.
Committed on 03/06/2024 at 09:17.
Pushed by sitter into branch 'master'.

disable the context menu on fake shapes

fake shapes represent multiple entities and because of that are not
really interactable

M  +4    -3    src/qml/MapPage.qml

https://invent.kde.org/utilities/filelight/-/commit/7f55949244a369b0401089e8778fd160fe44edba
Comment 3 Harald Sitter 2024-06-04 20:00:36 UTC
Git commit aac344478ee60edbfc32c52871d2d81c55590541 by Harald Sitter.
Committed on 04/06/2024 at 19:58.
Pushed by sitter into branch 'release/24.05'.

disable the context menu on fake shapes

fake shapes represent multiple entities and because of that are not
really interactable


(cherry picked from commit 7f55949244a369b0401089e8778fd160fe44edba)

Co-authored-by: Harald Sitter <sitter@kde.org>

M  +4    -3    src/qml/MapPage.qml

https://invent.kde.org/utilities/filelight/-/commit/aac344478ee60edbfc32c52871d2d81c55590541