Bug 70914 - In news posting containing multiple image attachments only first can be saved
Summary: In news posting containing multiple image attachments only first can be saved
Status: RESOLVED FIXED
Alias: None
Product: knode
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 0.7.6
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-20 14:07 UTC by michal
Modified: 2004-05-23 14:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michal 2003-12-20 14:07:28 UTC
Version:           0.7.6 (using KDE 3.1.93 (CVS >= 20031111), compiled sources)
Compiler:          gcc version 3.3.2 (PLD Linux)
OS:          Linux (i686) release 2.6.0-test11

In case of posting containing multiple attachements (images) clicking on any of them offers saving of first attachement. Thus it's impossible to save not-first attachement.
Comment 1 michal 2004-05-11 00:41:06 UTC
Reviewed on request from KDE Team <begmail-owner@bugs.kde.org>:
still valid for KDE 3.2.2
Comment 2 Volker Krause 2004-05-23 14:06:18 UTC
CVS commit by vkrause: 

Fix LMB opening/saving of attachments if the article has more than one.

CCMAIL: 70914-done@bugs.kde.org, 70983-done@bugs.kde.org


  M +5 -2      knarticlewidget.cpp   1.178


--- kdepim/knode/knarticlewidget.cpp  #1.177:1.178
@@ -1485,9 +1485,12 @@ void KNArticleWidget::anchorClicked(cons
   anchorType type=ATunknown;
   QString target;
-  kdDebug()<<" target :"<<a<<endl;
+  kdDebug(5003)<<" target :"<<a<<endl;
   if(a.left(17)=="internal://author") {
     type=ATauthor;
   }
   else if(a.left(15)=="internal://att=") {
+    if(a.right(1) == "/")
+      target=a.mid(15, a.length()-16);
+    else
     target=a.mid(15, a.length()-15);
     type=ATattachment;