[kmail2] [Bug 358561] Kmail doesn't paste images copied along with text

eemantsal via KDE Bugzilla bugzilla_noreply at kde.org
Fri Feb 26 22:23:10 GMT 2016


https://bugs.kde.org/show_bug.cgi?id=358561

--- Comment #8 from eemantsal <infmtk at openaliasbox.org> ---
Damn! If I click on «Add an attachment" right up here, where I'm typing, it
doesn't attach anything to my message, it just sends the attachment and forgets
all my text. Please, this is a real blunder, try to fix it, site developers, I
don't think disordered bug reports are the best way of optimizing developers
nor reporters' time.

Ok, I goo on with what should have been posted in the former message:

Hi, Laurent.

I wanted to say this weeks before, but writing detailedly takes time, and I
don't have as much as I'd want, so I haven't been able to elaborate this
comment till today.

Ok, I wanted to add some details that perhaps help you, developers, to find the
"culprit" in this bug. I'm ilustrating with screenshots.
As I told before, if you copy&paste a "combo" of text and image only the text
is copied, and in the place where the image should be, you only get that scaled
white icon I mentioned[1]. I've tried now some text and an image from
https://www.kde.org/announcements/plasma-5.5.4.php?site_locale=es and noticed
that if you save the mail as a draft, and go to the messages list, open your
draft folder, the message, switch to HTML view, and click to authorize to load
external references, you can see the correct image [2].

I also said that the only way to paste images and to be capable of seeing them
in the editor is to copy and paste the images individually or inserting them
with the in-app tool for adding images, but that's if you are coping content
from Firefox. I've tried with Qupzilla, selecting the same paragraph with the
same image inserted, and it's even worse, xD; but the interesting part is that
if you drag and drop the image alone to Kmail's composer, a nice popup asks you
to add the image as an attachment or as an inline image[3], and if you select
to insert it inline -or however it is in french, english, or the lenguage you
have your desktop- it works[4], and you can compose your HTML mail with inline
images without much problem -Kmail's composer is still far from competent for
HTML messages, but this way, at least you see what you are composing-. But if
you try and drag&drop from Firefox, you only get the Image's URL in you message
[5].
Since Qupzilla is built on QT I suppose there's some incompatibility with GTK
apps like Firefox. There's a bug I'll eleborate when I have the time, that
makes drag&dropped html files onto FF from Dolphin impossible to load by FF,
which shows a "sympathic" serie of chinese characters in the address box. I'd
bet there's some "fight" between GTK and QT, but you are the devs, so I hope
you can investigate and find the precise cause.

Finally, if you save this mail as a draft -I mean the "version" that loads the
images correctly in the composer- and go to see it, Kmail doesn't load the
image, only shows an icon [6]. I must say that this happens to me with all the
messages I get and have inline images. Of course I have set Kmail to see
attachments inline.
In sum, I think there are three problems related:
- Kmail's composer can't load external references, that's why you can't see
your images when composing a message, but can load them if you make them local
files, vía C&P individually, for instance.
- There's some incompatibility, at least when drag and dropping between GTK and
QT apps.
- Kmail's message viewer, contrarily to the composer's behavior, can't load
local references -at least still images, haven't tried videos or animated GIFs-
but loads perfectly external references.


I don't think I can provide more useful info, but in case I'd see anything else
I'l comment here.

Regards.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list