[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [kwalletmanager] [Bug 325427] kwalletmanager crashes when dragging a "password pair" from one folder
From: H.H. via KDE Bugzilla <bugzilla_noreply () kde ! org>
Date: 2016-07-12 15:53:10
Message-ID: bug-325427-17878-FggF7ZztDB () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=325427
H.H. <cyberbeat@gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED
--- Comment #5 from H.H. <cyberbeat@gmx.de> ---
Thanks for fixing the crash.
My original problem is still not solved. Explanation:
> In this case, the thunderbird extensions should use a more specific folder name. I \
> suggest you file a bug to that extension's developer.
The problem is, that the extension can be used for thunderbird AND/OR firefox.
So the extension's developer can not know, which name to set (firefox or
thunderbird), so he built a configuration option for that name. Thats fine in
general.
I could add a "renameFolder" Method to the kwallet API and kwalletmanager.
Would it be accepted? I already had a look at the code, the method in the
backend would look similar to
bool Backend::renameFolder(const QString &from, const QString &to)
{
if (!_entries.contains(from)) {
return false;
}
if (_entries.contains(to)) {
return false;
}
EntryMap entryMap = _entries.take(from);
_entries.insert(to, entryMap);
QCryptographicHash fromMd5(QCryptographicHash::Md5);
fromMd5.addData(from.toUtf8());
QCryptographicHash toMd5(QCryptographicHash::Md5);
toMd5.addData(to.toUtf8());
QList<MD5Digest> hashList = _hashes.take(MD5Digest(fromMd5.result()));
_hashes.insert(MD5Digest(toMd5.result()), hashList);
return true;
}
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic