[Kde-imaging] [Bug 312661] New: No error message if metadata edit fails due to insufficient file permissions
Peter Albrecht
px79 at crazymonkeys.de
Sat Jan 5 10:32:42 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=312661
Bug ID: 312661
Summary: No error message if metadata edit fails due to
insufficient file permissions
Classification: Unclassified
Product: kipiplugins
Version: 2.9.0
Hardware: Gentoo Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: MetadataEdit
Assignee: kde-imaging at kde.org
Reporter: px79 at crazymonkeys.de
If you try to change Metadata of an image with insufficient file write
permissions, the operation fails. But the user is not informed about this
failure.
Reproducible: Always
Steps to Reproduce:
1. configure digikam to write tag in jpg files
2. take picture (jpg file) in digikam and assign a tag to it
=> tag is written to IPTC information in the file
3. in Konsole: chmod a-w myPicture.jpg
4. in digiKam: select the picture and go to Image -> Metadata -> Edit All
Metadata...
5. select Edit IPTC tab
6. select your tag (assigned above)
7. click "Delete"
8. press "OK"
Actual Results:
No error message is shown and the user thinks the changes are applied.
But "exiv2 -p a myPicture.jpg" in Konsole reveals, that the
"Iptc.Application2.Keywords" (= tag) is still in the file.
Also the "Edit All Metadata..." dialog mentioned above, shows that the
keyword/tag is still there.
Expected Results:
An error message should be shown, like e.g.: "Could not update file metadata
due to insufficient file permissions"
As workaround (until this is fixed), the user could click "Apply" instead of
"OK".
After clicking "Apply", the metadata seems to be reloaded from the file after
the metadata change attempt. So the user sees the deleted tag to appear again.
(Not nice, but better than no feedback)
I use KDE 4.9.3 and digiKam 2.9.0.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kde-imaging
mailing list