Bug 131757 - past as attachements of multiple files doesn't work
Summary: past as attachements of multiple files doesn't work
Status: RESOLVED DUPLICATE of bug 121130
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-03 04:52 UTC by p
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p 2006-08-03 04:52:18 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    SuSE RPMs

1. choose multiple (not only one) files in konquerer and copy them to the clipboard (ctrl-c)
2. start writing an email and choose from the menu "past as attachement"
3. error message list the file names and says they don't exist - but they do, attaching one after the other works fine

problem existed in kde 3.5.3 already
Comment 1 Stefan Gehn 2006-08-03 09:33:28 UTC
As a workaround use drag-n-drop from konqueror into the KMail window.

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.
Comment 2 Philip Rodrigues 2006-08-03 20:21:05 UTC

*** This bug has been marked as a duplicate of 121130 ***