Version: 1.9 (using KDE 3.5.0, Gentoo) Compiler: gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8) OS: Linux (i686) release 2.6.14-gentoo-r4 When selecting more than one file in Konqueror, copying them (CTRL-C) and trying to attach them "paste" in the composer window for an email using "Paste as Attachment", an error pops up complaining about the non-existence of the URL. The error shows both files, and I guess the URLs got combined somehow? Pasting a single file at a time works. I expected to be able to paste more than one file as attachment in one go.
Confirmed with r496940. Konq copies the URLs as "file:///path/to/file1 file:///path/to/file2", which on its own isn't a file that exists. I don't know how kmail should handle this. Perhaps the fix needs to happen in konq?
*** Bug 131757 has been marked as a duplicate of this bug. ***
A note from Stefan Gehn in bug 131757: Developer note: The problem is in KMComposeWin::slotPasteAsAttachment() which calls KURL constructor with the clipboard contents. Checking for \n and splitting the text accordingly could help but I'm not sure if that's the best thing to do. Also I'm puzzled how url.isValid() can return true for an url that contains a newline and another protocol definition in the middle of the string.
Still the case with 3.5.5
Please note that drag 'n drop for multiple files still works.
SVN commit 711755 by eschepers: menuitem 'Paste as attachment' now works for multiple files BUG: 121130 M +7 -3 kmcomposewin.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=711755
Excellent! Thanks a lot!
Just installed KDE 3.5.8 on Suse 10.2. Still the same issue. With which release should we see the bug fix?
Regarding comment #8: In KDE 4, unless someone backports the fix to 3.5 branch.