Summary: | Suspected issue in KFilePlaces slowing down all apps using the "places" dialog functionality | ||
---|---|---|---|
Product: | [Applications] kfile | Reporter: | Vitor M. Pereira <vmpereir> |
Component: | kfileplacesview | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | cfeck, emmanuelpescosta099, kevin.clevenger, lukas, nate, vmpereir |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
backtrace for kwrite
backtrace for dolphin snapshot of a stalled "Open" dialog illustration of duplicates in ~/.kde/share/apps/kfileplaces/bookmarks.xml |
Description
Vitor M. Pereira
2015-06-17 14:33:15 UTC
Created attachment 93210 [details]
backtrace for kwrite
backtrace taken with kwrite running, and after having opened the "Open" dialog which caused the stall.
Created attachment 93211 [details]
backtrace for dolphin
Backtrace taken a few seconds after launching dolphin and while it was stalled
Created attachment 93212 [details]
snapshot of a stalled "Open" dialog
Notice the oddity in the "Places" panel, showing that something is clearly wrong there with an endless repetition of the same locations. When the dialog becomes usable after the stall, all of them remain, but the whole dialog is essentially unusable since any action (folder selection, scroll, etc.) generates a new stall.
OK. On further inspection I guess I can narrow this down to one of the files ~/.local/share/user-places.xbel ~/.kde/share/apps/kfileplaces/bookmarks.xml Here is how to reproduce this issue: 1. Remove the two files above outside KDE. 2. Login and, e.g. in dolphin, do something that reorganizes the entries in the "Places" panel, such as dragging a folder there, or changing the order of a folder in the "Places" panel. 3. Open "Save As" or "Open" in any KDE app, or go to Kickoff->Computer 4. The "places" panel in any of those shows many duplicates, as can be seen in attachment I added in comment 3 This is very reproducible to me, now even on an empty $HOME. Removing those files solves the problem, but any modification to the contents of the "Places" panel triggers it again. In fact, when I first noticed this I was precisely doing that: rearranging the order of some folders in my "Places". Found another hint. While the file ~/.local/share/user-places.xbel seems to be fine the first time it is created when something is changed in "Places" for the first time, the file ~/.kde/share/apps/kfileplaces/bookmarks.xml shows all the duplicates mentioned in the previous comment. Have a look at the attached file in the next comment. Created attachment 93215 [details]
illustration of duplicates in ~/.kde/share/apps/kfileplaces/bookmarks.xml
Emmanuel, this issue is fixed, right? |