Bug 140352 - Saving attachments fails when opening another mail before aktually clicking "save"
Summary: Saving attachments fails when opening another mail before aktually clicking "...
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-20 15:43 UTC by Gerrit Visscher
Modified: 2009-01-28 03:18 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 Gerrit Visscher 2007-01-20 15:43:58 UTC
Version:           1.9.5 (using KDE 3.5.5, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.19-gentoo-r2

The short description is a little bit irritating, I know. This is how I can reproduce the error:
- I click on an attachment.
- Kmail offers me to open or to save it - I click "save".
- Now I see the Standard-Save-Dialog. 
- I don't save right now, but open some other Mails
- Now I click on save.
- Kmail sais something about encryption and signature (I use the german translation)
- The saved file now has 0 Bytes.

I know, it's not that big deal...
Comment 1 Philip Rodrigues 2007-01-21 13:13:51 UTC
Same here. In fact, if I click the default options in the encryption and signature dialogs, I get a crash. I guess the 'save' dialog needs to be modal, so you can't interact with the main kmail window while it appears?

Here's what I could extract from the backtrace:

System configuration startup check disabled.

#19 0x2ae4bad2 in KMSaveAttachmentsCommand::slotSaveAll (this=0x85dcc38)
    at /home/phil/kdesrc/kdepim/kmail/kmcommands.cpp:2529
#20 0x2ae51d5a in KMSaveAttachmentsCommand::qt_invoke (this=0x85dcc38, _id=9, 
    _o=0xbfbfe140) at kmcommands.moc:1313
#21 0x299db1e0 in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#22 0x299db851 in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#23 0x2ae54762 in KMLoadPartsCommand::partsRetrieved (this=0x87a72c8)
    at kmcommands.moc:3218
#24 0x2ae4cf0e in KMLoadPartsCommand::execute (this=0x87a72c8)
    at /home/phil/kdesrc/kdepim/kmail/kmcommands.cpp:2730
#25 0x2ae4cd53 in KMLoadPartsCommand::slotStart (this=0x87a72c8)
    at /home/phil/kdesrc/kdepim/kmail/kmcommands.cpp:2705
#26 0x2ae502a6 in KMCommand::qt_invoke (this=0x87a72c8, _id=4, _o=0xbfbfe320)
    at kmcommands.moc:147
#27 0x2ae54815 in KMLoadPartsCommand::qt_invoke (this=0x87a72c8, _id=4, 
    _o=0xbfbfe320) at kmcommands.moc:3226
#28 0x299db1e0 in QObject::activate_signal ()
   from /usr/X11R6/lib/libqt-mt.so.3
#29 0x29cdc48b in QSignal::signal () from /usr/X11R6/lib/libqt-mt.so.3
#30 0x299f231e in QSignal::activate () from /usr/X11R6/lib/libqt-mt.so.3
#31 0x299f8e0b in QSingleShotTimer::event () from /usr/X11R6/lib/libqt-mt.so.3
#32 0x2997f265 in QApplication::internalNotify ()
   from /usr/X11R6/lib/libqt-mt.so.3
#33 0x2997f3fa in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3
#34 0x29434784 in KApplication::notify (this=0xbfbfe8f0, receiver=0x85560d8, 
    event=0xbfbfe690)
    at /home/phil/kdesrc/kdelibs/kdecore/kapplication.cpp:550
#35 0x29973aa4 in QEventLoop::activateTimers ()
   from /usr/X11R6/lib/libqt-mt.so.3
#36 0x29931b7c in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#37 0x29993627 in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3
#38 0x29993580 in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3
#39 0x2997e5a0 in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3
#40 0x0805c042 in main (argc=3, argv=0xbfbfea80)
    at /home/phil/kdesrc/kdepim/kontact/src/main.cpp:163
Comment 2 Thomas McGuire 2007-05-08 16:14:54 UTC
Could be related to bug 145172.
Comment 3 Gerrit Visscher 2009-01-28 03:18:26 UTC
I'm closing this bug, it is fixed in kmail 1.11.90 (or earlier). Kmail now does not allow any interaction while the save dialog is shown.