Bug 451876 - bloated user-places.xbel causes poor performing dolphin, file open dialogs, gvenview, krusader and other apps
Summary: bloated user-places.xbel causes poor performing dolphin, file open dialogs, g...
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Places (show other bugs)
Version: 5.106.0
Platform: Arch Linux Linux
: HI critical
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
: 422306 465011 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-03-25 06:17 UTC by guptapriyanshu71
Modified: 2023-11-06 09:41 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description guptapriyanshu71 2022-03-25 06:17:01 UTC
STEPS TO REPRODUCE
Simply open dolphin.

OBSERVED RESULT
Dolphin opens up after almost 5-6 seconds. Also after 4-5 seconds only window decorations show up and transparent dolphin background.

EXPECTED RESULT
Dolphin should open immediately.
Comment 1 clyde 2022-04-15 14:24:47 UTC
same here, start is significantly delayed

Operating System: EndeavourOS
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.3-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 8 × AMD FX(tm)-8350 Eight-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GT 630/PCIe/SSE2
Comment 2 oioi555x 2022-04-28 23:01:25 UTC
I have had the same experience.
Let me explain the situation at that time.
The file "~/.local/share/user-places.xbel" was bloated with a lot of docker bookmarks that did not appear in Places.
Removing them improved the startup time.
Now I can't figure out how to reproduce it.
FYI...
Comment 3 Henrik Gebauer 2023-03-06 14:36:55 UTC
I have the same issue (file open dialog took 9-10 seconds to show up). After finding this bug report, deleting user-places.xbel resolved the problem for me.

The original file had over 21,000 lines, the newly generated has only 198 lines.
The original file was over and over full with entries from kdeconnect (i have only one paired device but there were hundreds of entries) and hundreds entries about docker layers.

This bug seems to be related to:

Bug 422306 Dolphin and KDE file dialogs open very slowly
Bug 466416 KDE Connect keeps adding devices to Dolphin over and over and over and over and over
Bug 398908 Dolphin uses up huge amounts of memory over time
Comment 4 Till Schäfer 2023-05-28 11:12:23 UTC
I can confirm the issue here on Gentoo. 

The issue here again was kdeconnect. However, I think that frameworks should somehow deal with the situation of outdated (In reply to Henrik Gebauer from comment #3)
> I have the same issue (file open dialog took 9-10 seconds to show up). After
> finding this bug report, deleting user-places.xbel resolved the problem for
> me.
> 
> The original file had over 21,000 lines, the newly generated has only 198
> lines.
> The original file was over and over full with entries from kdeconnect (i
> have only one paired device but there were hundreds of entries) and hundreds
> entries about docker layers.
> 
> This bug seems to be related to:
> 
> Bug 422306 Dolphin and KDE file dialogs open very slowly
> Bug 466416 KDE Connect keeps adding devices to Dolphin over and over and
> over and over and over
> Bug 398908 Dolphin uses up huge amounts of memory over time

I can confirm the analysis here on Gentoo. 

The issue here again was kdeconnect. However, I think that frameworks should somehow deal with the situation of outdated
Comment 5 Till Schäfer 2023-05-28 11:13:02 UTC
..... outdated entries.
Comment 6 Till Schäfer 2023-05-28 11:32:42 UTC
*** Bug 422306 has been marked as a duplicate of this bug. ***
Comment 7 Markus S. 2023-05-29 15:04:44 UTC
Same issue here. Ca. 10 seconds delay for the file dialog. After deleting the 

<bookmark href="kdeconnect ...>
  ...
</bookmark>

entries in user-places.xbel it opens fast, again. There were 1787 kdeconnect related entries there out of a total of 1821.
Comment 8 Till Schäfer 2023-06-06 21:14:00 UTC
*** Bug 465011 has been marked as a duplicate of this bug. ***
Comment 9 Till Schäfer 2023-11-06 09:41:33 UTC
*** Bug 422306 has been marked as a duplicate of this bug. ***