Summary: | Add ability to delete devices from Dolphin faster | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Andrei Rybak <rybak.a.v> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | REPORTED --- | ||
Severity: | wishlist | CC: | kfm-devel |
Priority: | NOR | ||
Version: | 22.12.2 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
screen recording of steps to reproduce and observed result
Four panels in Dolphin Only three panels of Dolphin in Component field on bugs.kde.org |
Description
Andrei Rybak
2023-02-25 18:14:00 UTC
Created attachment 156720 [details]
Four panels in Dolphin
Created attachment 156721 [details]
Only three panels of Dolphin in Component field on bugs.kde.org
Here are two screenshots showing the missing value for "Component" field for Dolphin on bugs.kde.org — the issue that I mentioned in the "ADDITIONAL INFORMATION" section.
For those who don't mind editing Dolphin's data manually, zacharytalis proposed a hacky solution over at https://bugs.kde.org/show_bug.cgi?id=466416#c4: > For the time being, you can prune these spam entries by editing > "~/.local/share/user-places.xbel" directly. (make sure to be careful and > take a backup, yada yada) I looked at the structure of this XML file, which consisted mostly of <bookmark> tags. Each bookmark has a <title> tag, which has the strings which I was interested in -- the names of the phones. I grepped the file for all <title> tags. I noticed that all the erroneous entries are clumped together: > $ cd ~/.local/share > $ grep '<title>' user-places.xbel | uniq > [...] > <title>Xiaomi</title> > <title>Pixel 6A</title> > <title>Xiaomi</title> > <title>Pixel 6A</title> > <title>Xiaomi</title> > <title>Pixel 6A</title> > <title>Xiaomi</title> > <title>Pixel 6A</title> > <title>Xiaomi</title> > <title>Pixel 6A</title> > <title>Xiaomi</title> > <title>Pixel 6A</title> > <title>Xiaomi</title> > <title>Pixel 6A</title> So I did the following: 1. Found the first bookmark with the <title> of an erroneous entry 2. Started selection 3. Found the last erroneous bookmark 4. Made sure the selection starts at an opening tag <bookmark> and ends at a closing tag </bookmark> 5. Deleted the whole selection |