Summary: | baloo_filemetadata_temp_extractor causes dolphin to freeze when large files are scanned for details | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Angelos Skembris <a.skembris> |
Component: | panels: information | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | kdedev, kfm-devel, meven, tagwerk19 |
Priority: | NOR | ||
Version: | 24.08.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Angelos Skembris
2024-10-21 14:55:47 UTC
I'm not able to reproduce this on Dolphin built from git-master or on a system with Plasma 6.1.5 and Dolphin 24.08.2 (with balooctl enabled) I tested with File Search settings set it to "File names and contents" as well as just file names With git-master I tested on Wayland as well as X11 Disk used: external 2.5" HDD in an enclosure, connected over USB A Set Dolphin to show previews (F12) Tested by opening a folder in Dolphin containing a 19.5GB video I saw no delay in Dolphin, and was able to browse around the window normally I'll leave this open to see if someone else can reproduce it (In reply to TraceyC from comment #1) > I'm not able to reproduce this on Dolphin built from git-master or on a > system with Plasma 6.1.5 and Dolphin 24.08.2 (with balooctl enabled) > I tested with File Search settings set it to "File names and contents" as > well as just file names > With git-master I tested on Wayland as well as X11 > > Disk used: external 2.5" HDD in an enclosure, connected over USB A > Set Dolphin to show previews (F12) > Tested by opening a folder in Dolphin containing a 19.5GB video > > I saw no delay in Dolphin, and was able to browse around the window normally > > I'll leave this open to see if someone else can reproduce it Thank you very much for looking into this. Could the fact that balooctl is enabled affect this behaviour? If the files are indexed maybe the metadata have already been extracted? (I have file indexing disabled on my systems). (In reply to Angelos Skembris from comment #2) > Thank you very much for looking into this. Could the fact that balooctl is > enabled affect this behaviour? If the files are indexed maybe the metadata > have already been extracted? (I have file indexing disabled on my systems). As far as I remember... If you have Baloo indexing the folder, it extracts the file metadata (and hold the results in its index). That means that Dolphin can ask Baloo for the data - for the whole folder - and can use it when populating columns, if you have chosen to list metadata, or sort on particular metadata. If Baloo is not running (or you have excluded the folder), Dolphin has to go to each file "there and then" and extract the info it wants. Could easily be that you see a pause while this is happening. (In reply to tagwerk19 from comment #3) > (In reply to Angelos Skembris from comment #2) > > Thank you very much for looking into this. Could the fact that balooctl is > > enabled affect this behaviour? If the files are indexed maybe the metadata > > have already been extracted? (I have file indexing disabled on my systems). > As far as I remember... If you have Baloo indexing the folder, it extracts > the file metadata (and hold the results in its index). That means that > Dolphin can ask Baloo for the data - for the whole folder - and can use it > when populating columns, if you have chosen to list metadata, or sort on > particular metadata. > > If Baloo is not running (or you have excluded the folder), Dolphin has to go > to each file "there and then" and extract the info it wants. Could easily be > that you see a pause while this is happening. It seems it is done in dolphin main thread through, that’s the bug, initiated by the information panel. It should be done off-thread. There has been attempt to fix this: https://invent.kde.org/libraries/baloo-widgets/-/merge_requests/63/ |