Kmail must not propose to join a file if nothing in the answer to an original email suggests a file to be joined. If the original email has a file joined (and perhaps words saying a file is joined), Kmail proposes to join a file to the answer !!! Pierre STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Mageia 9 / Plasma 5.27.5 (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
I don't understand how to reproduce it. We check if text has "attachment" words. but we mustn't check when text is quoted => please provide a test email please. Thanks
(In reply to Laurent Montel from comment #1) > I don't understand how to reproduce it. > We check if text has "attachment" words. > but we mustn't check when text is quoted > > => please provide a test email please. > > Thanks I thank you Laurent for considering my request. Example Email received : Bonjour à tous, Je vous laisse découvrir le programme qui vous a été concocté par la commission animation pour le week-end avec hébergement des 4 et 5 mai 2024. Vous trouverez en pièce jointe la fiche d'inscription et le descriptif du séjour. Le nombre de places étant limité, priorité est donnée aux adhérents. Toutefois, il vous sera possible d'inscrire un invité non adhérent sur votre bulletin d'inscription, sachant que son inscription ne pourra être validée que sous réserve de places disponibles. Amicalement Catherine When I click to locate the mouse cursor at the beginning of the text of my answer to type, and then I type Enter, without having typed anything else, I get the warning : Le message que vous avez composé fait référence à un fichier joint, mais vous n'avez rien joint. Voulez-vous joindre un fichier à votre message ? (I hope you understang French !) I didn’t type any word concerning a file to attach !!! This warning must not be displayed !!! I guess the warning comes from the fact that the text of the the original email contains « en pièce jointe » (???). The text of the original email must not be analyzed by KMail !!! Pierre
I understand french :) (I am french :) ) I tested your text by when I reply it's quoted => it will not show warning. Could you paste a screenshot from your composer when you reply and you see warning. For me I have ">" at the beginning of each line => code will not check this text. so it's ok for me. thanks
Created attachment 162835 [details] Screenshot
(In reply to Laurent Montel from comment #3) > I understand french :) (I am french :) ) > > I tested your text by when I reply it's quoted => it will not show warning. > > Could you paste a screenshot from your composer when you reply and you see > warning. > > For me I have ">" at the beginning of each line > => code will not check this text. > > so it's ok for me. > > thanks Bonjour, For the email in the screenshot, the warning is displayed after having just clicked "Répondre", nothing else. The problem is similar for spell checking: the spell checking must absolutely be limited to the text typed for the answer ... Pierre
Ok it's html version. not plain text. Ok I see why there is the problem. I need to understand how detect quote in html.