Edits to Image attachments from the Kmail composer window are not saved

Bug #496188 reported by Paul Worrall
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE PIM
Fix Released
Medium
kdepim (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: kdepim

1. Start a new message in Kmail and attach an image file (PNG or JPEG)
2. Right-click the attachment and choose Edit. (Image file opens in Gwenview)
3. Make a change to the image in Gwenview (e.g. Flip the image)
4. Save and close the image
5. Re-open the attachment from the Kmail composer window

Expected behaviour: The changed image opens
Actual behaviour: The original image opens.

ProblemType: Bug
Architecture: i386
Date: Sun Dec 13 13:52:48 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/kontact
Package: kontact 4:4.3.2-0ubuntu6
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: kdepim
Uname: Linux 2.6.31-14-generic i686

Revision history for this message
Paul Worrall (nicknak) wrote :
Revision history for this message
Paul Worrall (nicknak) wrote :

Editing OpenOffice files and plain text files (using Kate) works as expected

Revision history for this message
Maarten Bezemer (veger) wrote :

Still a problem in version 4.7.3 when following the described steps.

Changed in kdepim (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Paul Worrall (nicknak) wrote :

Version: 4.8 (using KDE 4.8.0)
OS: Linux

When composing an email with an image attatchment, if I edit the image, save and close, then re-open the image, the original pre-edit image is shown.

Reproducible: Always

Steps to Reproduce:
1. Start a new message in Kmail and attach an image file (PNG or JPEG)
2. Right-click the attachment and choose Edit. (Image file opens in Gwenview)
3. Make a change to the image in Gwenview (e.g. Flip the image)
4. Save and close the image
5. Re-open the attachment from the Kmail composer window

Actual Results:
The original image opens.

Expected Results:
The changed image opens

Editing OpenOffice files and plain text files (using Kate) works as expected

Revision history for this message
In , Montel-3 (montel-3) wrote :

I confirm it.
don't know why it doesn't work.

Revision history for this message
In , Winter-s (winter-s) wrote :

I believe this has to do with the EditorWatcher (see messageviewer/editorwatcher.cpp)

In the EditorWatcher, we say that all image mimetypes are read-only.
same with pdfs.

I forget all the details of why we have an EditorWatcher. Volker might remember.

Revision history for this message
In , Montel-3 (montel-3) wrote :

no it doesn't use a EditorWatcher for that.
It's a problem when we resave image.
I will investigate.

Changed in kdepim:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
In , Paul Worrall (nicknak) wrote :

This bug has got worse in Kmail 4.10.3: Edits to text files are now not saved either. Edits to LibreOffice attachments are still saved OK

Revision history for this message
In , Montel-3 (montel-3) wrote :

Will reinvestigate it

Revision history for this message
Rohan Garg (rohangarg) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. But don't worry! This issue is being tracked by the KDE developers at: https://bugs.kde.org/show_bug.cgi?id=295214. Once fixed in KDE, it will be included in Kubuntu once the KDE version the fix is in in reaches Kubuntu.

Thanks!

Changed in kdepim (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
In , Montel-3 (montel-3) wrote :

I fixed it in 14.12.
Regards

Changed in kdepim:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.