| Summary: | Unsetting a tag doesn't remove extended file-system-attribute | ||
|---|---|---|---|
| Product: | [Unmaintained] Baloo | Reporter: | Holger <private_lock> |
| Component: | Tags | Assignee: | Vishesh Handa <me> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | felix.eisele, frank78ac, hrvoje.senjan, manugupt1 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/baloo/3103a99316ef2e01a689d84022b624c8de51278a | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Holger
2014-04-15 20:55:35 UTC
Frank, that should be handled by Baloo, right? Yes. Holger, could you clarify why it is a bug? To me, it looks like a wish. @Christoph Imagine a file-system where you cannot delete files but only set their size to zero ... leaving those empty attributes dangling around sounds like a bug to me. But you're welcome to change it into a feature request if your terminology reserves the word "bug" for more serious matters of data loss and catastrophe. Hello Vishesh asked me to look into this bug, as a junior job, I am able to reproduce it, I have a few questions 1. How do I debug by adding more logs and where can I take the logs, if possible while reproducing the issue or is there a better way issues in which issues are fixed by baloo developers 2. When I do a make install it overrides my systems baloo, I believe, is there a way to change it I am very new here, so any help is appreciated. Thanks a lot Manu Hello,
I have root caused the issue,
Issue is caused at :
if (d->tagsSet) {
QString tags = d->tags.join(",");
kDebug()<<"Manu --> Setting Tags to "<<tags;
setCustomFileMetaData(furl, QLatin1String("user.xdg.tags"), tags);
}
in FileModifyJob::doStart()
Let me check further and update
Thanks
Manu
Hello, i am new in programming kde.So I find this little job. Sorry Manu Gupta i dont no if you already work on this bug/feature. I created a codereview for this bug under https://git.reviewboard.kde.org/r/119415/ Git commit 3103a99316ef2e01a689d84022b624c8de51278a by Vishesh Handa, on behalf of Felix Eisele. Committed on 25/07/2014 at 09:47. Pushed by vhanda into branch 'KDE/4.14'. Remove xattr instead of setting them to a blank string on deletion REVIEW: 119415 M +1 -1 src/file/lib/autotests/filemodifyjobtest.cpp M +21 -0 src/file/lib/baloo_xattr_p.h M +11 -1 src/file/lib/filecustommetadata.cpp http://commits.kde.org/baloo/3103a99316ef2e01a689d84022b624c8de51278a |