Summary: | drag & drop of attachment from message view generates 0 sized files | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Oded Arbel <oded> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | highbeta |
Priority: | NOR | ||
Version: | 1.5.93 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Oded Arbel
2003-11-20 17:14:11 UTC
Are you using IMAP? This could explain the empty files. If not, then please provide a message for which this is reproducible. The first related issue has already been reported before. It's actually a stupid new feature of KHTML (apparently dragging images from web pages copies the images and not the target of the link). Subject: Re: drag & drop of attachment from message view generates 0 sized files
> Are you using IMAP? This could explain the empty files. If not, then please
I am. why would the files be empty ?
Subject: Re: drag & drop of attachment from message view generates 0 sized files On Friday 21 November 2003 16:34, Oded Arbel wrote: > ------- You are receiving this mail because: ------- > You are the assignee for the bug, or are watching the assignee. > > http://bugs.kde.org/show_bug.cgi?id=68673 > > > > > ------- Additional Comments From oded@geek.co.il 2003-11-21 16:34 ------- > Subject: Re: drag & drop of attachment from message view generates 0 sized > files > > > Are you using IMAP? This could explain the empty files. If not, then > > please > > I am. why would the files be empty ? Because you probably have load-on-demand activated in the account settings. With this configuration the attachments are only loaded if you click on them. Well, and dnd is simply not supported yet. Carsten Subject: Re: drag & drop of attachment from message view generates 0 sized files >> > Are you using IMAP? This could explain the empty files. If not, then >> > please >> >> I am. why would the files be empty ? > > Because you probably have load-on-demand activated in the account > settings. > With this configuration the attachments are only loaded if you click on > them. > Well, and dnd is simply not supported yet. I do have load-on-demand. Then this bug is "drag & drop should download attachment when load-on-demand is enabled". Is it planned to be fixed for 3.2 ? To Carsten Burghardt: Can you please change the status of this bug to "confirmed" or "wont fix" depending on what's the verdict regarding my previous comment (http://bugs.kde.org/show_bug.cgi?id=68673#c4) ? I'll try to fix that for 3.2.1 if I find a good way. I can confirm this is still an issue in 3.2, and it's a regression from 3.1.5. I confirm that dragging the icon shown besides the attachment name results in copying of the icon image instead of the attachment, kde 3.2 cvs Ver confusing for users is when dragging the text (name of the attached file) nothing happens and when dragging the icon the icon itself will be attached to a new message. It should behave the same way when dragging the name or the icon of the attached file. Indeed. Problem here with 3.2.1 (from Debian unstable packages). I thought this did work in 3.1.5 fine though (?). I'm not using IMAP - just local ~/Mail folders. DND the icon and you get a v.small png. DND the text 'shortcut' and nothing happens. CVS commit by burghard: Disable DND for IMAP with load-on-demand until I have a better solution. CCMAIL: 68673-done@bugs.kde.org M +5 -0 kmreaderwin.cpp 1.755 --- kdepim/kmail/kmreaderwin.cpp #1.754:1.755 @@ -851,4 +851,9 @@ void KMReaderWin::setMsg(KMMessage* aMsg aMsg->setDecodeHTML( htmlMail() ); mLastStatus = aMsg->status(); + // FIXME: workaround to disable DND for IMAP load-on-demand + if ( !aMsg->isComplete() ) + mViewer->setDNDEnabled( false ); + else + mViewer->setDNDEnabled( true ); } else { mLastStatus = KMMsgStatusUnknown; I can confirm this bug in Kontact 1.2.9 running in Kubuntu 8.04. I also tried to Drag&Drop attachments to a konqueror folder but there were created only 0kb files. The account was an IMAP. That is really confusing. Drag and drop of an attachment out of the header box is not possible neither from IMAP nor from a POP3 account. |