Summary: | Shift+Click on URL in email causes crash | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Paul Eggleton <bluelightning> |
Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | jens-bugs.kde.org, tassilo |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Paul Eggleton
2005-06-03 15:53:10 UTC
Oops, by URL, I mean clickable link. Also, I'm using qt-3.3.4-r3, if it's of any consequence. I confirm the bug. I compiled from source using SVN brach 3.4. SVN commit 422206 by tilladam: Don't crash when shift-clicking non-attachment urls, but pass it on to default khtml shift-click handling. BUG: 106735 M +1 -0 kmreaderwin.cpp --- trunk/KDE/kdepim/kmail/kmreaderwin.cpp #422205:422206 @@ -2468,6 +2468,7 @@ if ( me->button() == LeftButton && ( me->state() & ShiftButton ) ) { // special processing for shift+click mAtmCurrent = msgPartFromUrl( mUrlClicked ); + if ( mAtmCurrent < 0 ) return false; // not an attachment mAtmCurrentName = mUrlClicked.path(); slotHandleAttachment( KMHandleAttachmentCommand::Save ); // save return true; // eat event *** Bug 107191 has been marked as a duplicate of this bug. *** This doesn't have to be a URL. Shift-clicking anywhere in the message viewer can cause the crash. Yes, I can confirm this. Same backtrace too. It also crashes when trying to save attachments to disk via Shift-click. Jens Oops, sorry - that was wrong. I must learn to correctly point the mouse to the actual attachment. 8-) |