I have a mail coming from a website under construction and so we have add an password protection via .htaccess. When the mail open, he try to open the image and so a dialog is prompted to ask me my username and password. If i'm quick, i can grab the mail before the dialog show and so, i hit escape to cancel the dialog and continue draggin my file. And when i press escape, kmail crash. Reproducible: Always Steps to Reproduce: 1. Receive a mail with an image protected by password (.htaccess) 2. Drag quickly the mail (to move it to another folder or anything else) before the dialog show. 3. When the dialog is visible, i hit "escape" to cancel the dialog (because i don't want to stop dragging and restart after escaping) Actual Results: Kmail crashed Expected Results: Nothing particular, juste the dialog closed ;) I'm currently with a 3G connection, so i don't know if there is an update available and if this bug have been corriged after this version.
backtrace ? 'Receive a mail with an image protected by password' ? when you switch to html mode it asks a password for it ?
Created attachment 74775 [details] Backtrace
I'm by default in html mode, so when i click on the mail, kmail try to fetch the image. And so between the time it send his request to the web server and ask me for a password, i was able to start draggin. The mail come from a website which is under development, so to prevent people to look at it, we put a .htaccess files who prompt for username/password for every file. So when we receive this mail, the .htaccess do his job ;) I can try to make a simple mail who trigger this bug and host the image if you want ?
Some more information : I have activated in kmail configuration, security : - Prefer html to plain text - Allow downloading external reference To always show html version and load image/css My interface is not in english, so the label may be different
"I can try to make a simple mail who trigger this bug and host the image if you want ?" yes please. (you can send in private login/password) thanks a lot. Could you install debug package on your computer to generate a good backtrace ?
I just send an email with an image. Any password will display the picture. The php only wait for 3s before asking password so you have time to start drag. I will look for debug package (the last time an error occured while trying to install them).
"I just send an email with an image." where ?:)
To you email montel@kde.org, by the content, it may have been considered as a spam :)
Didn't receive perhaps kde.org server removed it... Could you resent it please ? (and add laurent@kdab.com too to be sure)
It's done.
I can reproduce crash for the moment. Do you try with debug package ?
Created attachment 74805 [details] Backtrace New backtrace with debuging package
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present? If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.