Summary: | Entries in Places, Recent Saved and Search For disappears after waking up from hibernation | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | andreas.davour |
Component: | panels: places | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | emmanuelpescosta099, kde-bugs, mail, nate |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
comparison of how dolphin looks, and the expected looks
dolphin-disappearing-places-error.txt |
Description
andreas.davour
2015-07-27 19:48:32 UTC
Created attachment 93769 [details]
comparison of how dolphin looks, and the expected looks
Just found odd thing as I prepared this screen shot. If I open a new window in Dolphin, it looks ok again. See the rightmost dolphin window for the ok state, the leftmost as the faulty one.
Also, in this picture can be seen the wonky file picker for ksnapshot.
Thanks for the bug report! This bug should be fixed with the following package versions: * kde-baseapps >= 15.04.1 * kdelibs >= 4.14.8 * KIO >= 5.10 (if you have KF5 installed) Can you please check your package versions? These are the packages I have installed. kde-baseapps-15.04.2-1.fc21.x86_64 kdelibs-4.14.9-2.fc21.x86_64 $ rpm -qa | grep -i kio kio_msits-14.12.3-1.fc21.x86_64 kio-upnp-ms-1.0.0-6.20111102git.fc21.x86_64 audiocd-kio-libs-14.12.3-1.fc21.x86_64 kio_mtp-0.75-10.20141221gitc418634.fc21.x86_64 audiocd-kio-14.12.3-1.fc21.x86_64 Can you still reproduce the problem? (never happened to me :/) (In reply to Emmanuel Pescosta from comment #4) > Can you still reproduce the problem? (never happened to me :/) Sadly, yes. Happens all the time. It's getting to be so annoying Dolphin is no longer my go to solution, and I'm beginning to think I need to drop it. I managed to get the odd file picker problem solved by making the file /home/<username>/.kde/share/apps/kfileplaces/bookmarks.xml immutable but dolphin still acts up. Quite annoying. If you can figure out something to trace, test or otherwise debug I'm all ears, as I'm at my wits end. (In reply to Koraq from comment #5) > I managed to get the odd file picker problem solved by making the file > /home/<username>/.kde/share/apps/kfileplaces/bookmarks.xml immutable but > dolphin still acts up. Quite annoying. This looks like a mix of old vs. new places syncing. Dolphin and the file picker should save the places in /home/<username>/.local/share/user-places.xbel instead of bookmarks.xml. > If you can figure out something to trace, test or otherwise debug I'm all > ears, as I'm at my wits end. You could check which process changes the user-places.xbel file after wake up with auditctl. >________________________________ > From: Emmanuel Pescosta via KDE Bugzilla <bugzilla_noreply@kde.org> >To: Koraq@yahoo.com >Sent: Thursday, October 15, 2015 9:15 PM >Subject: [dolphin] [Bug 350679] Entries in Places, Recent Saved and Search For disappears after waking up from hibernation > > >https://bugs.kde.org/show_bug.cgi?id=350679 > >--- Comment #6 from Emmanuel Pescosta <emmanuelpescosta099@gmail.com> --- >(In reply to Koraq from comment #5) > >> I managed to get the odd file picker problem solved by making the file >> /home/<username>/.kde/share/apps/kfileplaces/bookmarks.xml immutable but >> dolphin still acts up. Quite annoying. > >This looks like a mix of old vs. new places syncing. >Dolphin and the file picker should save the places in >/home/<username>/.local/share/user-places.xbel instead of bookmarks.xml. Hmm. I didn't knew there were two places, and a new and old place. That was illuminating. That makes me wonder if that is set in a config file somewhere? >> If you can figure out something to trace, test or otherwise debug I'm all >> ears, as I'm at my wits end. > >You could check which process changes the user-places.xbel file after wake up >with auditctl. I had not thought of that. Good idea. sudo auditctl -a always,exit -F path=/home/ante/.kde/share/apps/kfileplaces/bookmarks.xml -F perm=wa sudo auditctl -a always,exit -F path=/home/ante/.local/share/user-places.xbel -F perm=wa $ sudo ausearch -f /home/ante/.kde/share/apps/kfileplaces/bookmarks.xml <no matches> $ sudo ausearch -f /home/ante/.local/share/user-places.xbel ---- time->Thu Oct 15 22:15:27 2015 type=CONFIG_CHANGE msg=audit(1444940127.728:873): auid=1000 ses=1 op="updated_rules" path="/home/ante/.local/share/user-places.xbel" key=(null) list=4 res=1 ---- time->Thu Oct 15 22:18:29 2015 type=CONFIG_CHANGE msg=audit(1444940309.547:933): auid=1000 ses=1 op="updated_rules" path="/home/ante/.local/share/user-places.xbel" key=(null) list=4 res=1 $ id uid=1000(ante) gid=1000(ante) groups=1000(ante),10(wheel),982(vboxusers) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 I'm not sure that made me much more clear on what is happening. Thanks for testing it!
You can add -i to ausearch to get a nicer output ;)
> I'm not sure that made me much more clear on what is happening.
Do the places disappear after *every* wake up?
Maybe try:
1. Enable auditing for bookmarks.xml and user-places.xbel
2. Add a new place in Dolphin (ausearch should show this)
3. Hibernate and wake up
4. Check if the places were resetted in Dolphin
5. Run ausearch
Created attachment 95245 [details] dolphin-disappearing-places-error.txt Back again. I had very little time to attend to this bug, but once again delved into it. Enabed auditing, Added a place, suspended, woke up. I attach the ausearch output. I can not say I understand it. The first part of adding a place I do not see at all. Odd enough is that this time the newly added place stayed as all others went away! Yes, this happens every suspend/wake up cycle. I just recently updated dolphin, and now run dolphin-15.04.3-1.fc21.1.x86_64 dolphin-libs-15.04.3-1.fc21.1.x86_64 But that seems to have made no difference. I understand one part of the ausearch output, and that is that both bookmarks.xml and the user-places files seems to be updated or manipulated. -andreas -- "My son has spoken the truth, and he has sacrificed more than either the president of the United States or Peter King have ever in their political careers or their American lives. So how they choose to characterize him really doesn't carry that much weight with me." -- Edward Snowden's Father From: Emmanuel Pescosta via KDE Bugzilla <bugzilla_noreply@kde.org> To: Koraq@yahoo.com Sent: Friday, October 16, 2015 12:03 PM Subject: [dolphin] [Bug 350679] Entries in Places, Recent Saved and Search For disappears after waking up from hibernation https://bugs.kde.org/show_bug.cgi?id=350679 --- Comment #8 from Emmanuel Pescosta <emmanuelpescosta099@gmail.com> --- Thanks for testing it! You can add -i to ausearch to get a nicer output ;) > I'm not sure that made me much more clear on what is happening. Do the places disappear after *every* wake up? Maybe try: 1. Enable auditing for bookmarks.xml and user-places.xbel 2. Add a new place in Dolphin (ausearch should show this) 3. Hibernate and wake up 4. Check if the places were resetted in Dolphin 5. Run ausearch *** This bug has been marked as a duplicate of bug 356045 *** Oops sorry, that change was meant for another bug. Is this still happening with recent (KDE Plasma 5-ish) versions of Dolphin? The Places sidebar still seems to be missing some items, but they seem to be gone more randomly, as I can not reproduce it now and don't remember when they went away. The file picker now works fine. The odd issues with /home/<username>/.kde/share/apps/kfileplaces/bookmarks.xml seems to have been a thing of the past. I guess it kind of works now. Let's close this for now. I'll close this then, please open new bugs if you still experience problems with disappearing items. |