Version: 4.4.10 (using KDE 4.6.2) OS: Linux Hello everyone, After i enabled HTML formating in Kmail composer replying to long messages has become a headache. Kmail hangs, interface is completely frozen, during which time CPU usage is high. After a period of time (depending on how long the message to which i reply is) the program recovers for a few seconds and i can type a few words then in hangs again and the cycle goes on. Reproducible: Always Steps to Reproduce: 1. Enable HTML formating in Kmail's composer. 2. Exchange several emails by replying (keep quoting the original messages). Do it until the email becomes several hundred lines long. 3. As the email grows longer the responsiveness of Kmail will decrease until it becomes unusable. Actual Results: Kmail becomes unusable - frozen interface for both composer and main KMail window. Expected Results: To let me type the message. Never happened when i was writing plain text messages
Please retry with Kontact 4.6.1
(In reply to comment #1) > Please retry with Kontact 4.6.1 I upgraded KDE to 4.6.5 but Kontact is still 4.4.10. Which version of KDE comes with Kontact 4.6.1?
*** Bug 283165 has been marked as a duplicate of this bug. ***
I can confirm that this bug is still existent in kmail 15.12.1-1. It is really frustrating. If anyone needs some more info, please let me know.
(In reply to theodore from comment #4) > I can confirm that this bug is still existent in kmail 15.12.1-1. It is > really frustrating. If anyone needs some more info, please let me know. I forgot to mention that my system is archlinux with kde plasma 5.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!
Hi, it is unbelievable that this bug is still present and not solved for such a time. current version kmail2 5.16.3 (20.12.3), cpu usage 100%, reproducible on kubuntu ..., 20.04, 20.10, 21.04 Messages when opening kmail: kf.xmlgui: Index 23 is not within range (0 - 21 ) kf.xmlgui: Index 25 is not within range (0 - 21 ) kf.xmlgui: Index 27 is not within range (0 - 21 ) qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1473, resource id: 50331784, major code: 130 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1476, resource id: 50331784, major code: 130 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1479, resource id: 50331784, major code: 130 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1484, resource id: 50331784, major code: 130 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1506, resource id: 50331784, major code: 130 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1731, resource id: 50331784, major code: 130 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1767, resource id: 50331784, major code: 130 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1770, resource id: 50331784, major code: 130 (Unknown), minor code: 3 When replying to big message: Opening in existing browser session. qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 8852, resource id: 50332161, major code: 130 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 8888, resource id: 50332161, major code: 130 (Unknown), minor code: 3 qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 8891, resource id: 50332161, major code: 130 (Unknown), minor code: 3 load big message settings true org.kde.pim.messagecore: Adding image 0x561df2f61240 org.kde.pim.messagecore: Adding image 0x561df2ec2ad0 org.kde.pim.messagecore: Adding image 0x561df2d5df00 org.kde.pim.templateparser: Adding 0x561df2f61240 as an embedded image org.kde.pim.templateparser: Adding 0x561df2ec2ad0 as an embedded image org.kde.pim.templateparser: Adding 0x561df2d5df00 as an embedded image Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes. kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes. kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
After installing(In reply to Hadatko from comment #8) > Hi, it is unbelievable that this bug is still present and not solved for > such a time. > current version kmail2 5.16.3 (20.12.3), cpu usage 100%, reproducible on > kubuntu ..., 20.04, 20.10, 21.04 > > Messages when opening kmail: > kf.xmlgui: Index 23 is not within range (0 - 21 ) > kf.xmlgui: Index 25 is not within range (0 - 21 ) > kf.xmlgui: Index 27 is not within range (0 - 21 ) > qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1473, > resource id: 50331784, major code: 130 (Unknown), minor code: 3 > qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1476, > resource id: 50331784, major code: 130 (Unknown), minor code: 3 > qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1479, > resource id: 50331784, major code: 130 (Unknown), minor code: 3 > qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1484, > resource id: 50331784, major code: 130 (Unknown), minor code: 3 > qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1506, > resource id: 50331784, major code: 130 (Unknown), minor code: 3 > qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1731, > resource id: 50331784, major code: 130 (Unknown), minor code: 3 > qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1767, > resource id: 50331784, major code: 130 (Unknown), minor code: 3 > qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 1770, > resource id: 50331784, major code: 130 (Unknown), minor code: 3 > > When replying to big message: > Opening in existing browser session. > qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 8852, > resource id: 50332161, major code: 130 (Unknown), minor code: 3 > qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 8888, > resource id: 50332161, major code: 130 (Unknown), minor code: 3 > qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 8891, > resource id: 50332161, major code: 130 (Unknown), minor code: 3 > load big message > settings true > org.kde.pim.messagecore: Adding image 0x561df2f61240 > org.kde.pim.messagecore: Adding image 0x561df2ec2ad0 > org.kde.pim.messagecore: Adding image 0x561df2d5df00 > org.kde.pim.templateparser: Adding 0x561df2f61240 as an embedded image > org.kde.pim.templateparser: Adding 0x561df2ec2ad0 as an embedded image > org.kde.pim.templateparser: Adding 0x561df2d5df00 as an embedded image > Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes. > kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed > Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes. > kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed After installing hspelldict. Init failed but freezing stayed.
*** Bug 420075 has been marked as a duplicate of this bug. ***
*** Bug 424989 has been marked as a duplicate of this bug. ***
*** Bug 428583 has been marked as a duplicate of this bug. ***
*** Bug 443949 has been marked as a duplicate of this bug. ***
*** Bug 445393 has been marked as a duplicate of this bug. ***
*** Bug 479158 has been marked as a duplicate of this bug. ***
Quoting Laurent Montel in #334469: Indeed I confirm it's QTextEdit which has this problem. => a bug in qt not in kdepim. === End quote -> If this is really still the case 10 years later, it might be time to open an issue with Qt...
*** Bug 334469 has been marked as a duplicate of this bug. ***
Marking as confirmed as this has 8 duplicates including relatively recent ones (though none in Qt6 yet).
Created attachment 171975 [details] attachment-3800166-0.html Dear Louis, I'm a recipient of the status updates of this bug I once claimed. My question is: What are the next steps, do you mean an Qt issue is already opened now? It is so annoying and unacceptable that Kmail suffers from freezing email for more than decade. Many thanks for short reply! Kind regards, Bernhard On Wednesday, 24 July 2024 15:18:29 CEST Louis Moureaux wrote: > https://bugs.kde.org/show_bug.cgi?id=278046 > > Louis Moureaux <m_louis30@yahoo.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |m_louis30@yahoo.com > > --- Comment #16 from Louis Moureaux <m_louis30@yahoo.com> --- > Quoting Laurent Montel in #334469: > Indeed I confirm it's QTextEdit which has this problem. > => a bug in qt not in kdepim. > === End quote > > -> If this is really still the case 10 years later, it might be time to open > an issue with Qt... ________________________________ Privatdoz. DI Dr. Bernhard Scheichl, Hon. Assoc. Prof. Technische Universität Wien | Institute of Fluid Mechanics and Heat Transfer Tower BA/E322 | Getreidemarkt 9 | 1060 Vienna | Austria T: +43-1-58801-32225 | www.tuwien.at/mwbw/fluid<https://www.tuwien.at/mwbw/fluid>
Dear Bernhard, I was actually opening a report for another freeze and spotted the half a dozen duplicates of this one (that I've also been experiencing) so I decided to consolidate the information. I think the first step would be to reproduce in a Qt6-based KMail. Then, we should double-check the statement from Laurent Montel I pasted (Laurent is still one of the main devs but he checked this 10 years ago...) Depending on whether this is confirmed on the KMail side, a minimal repro should be written to open an issue with Qt, or KMail should be fixed. Best, Louis Le jeudi 25 juillet 2024, 11:57 Scheichl, Bernhard a écrit : > Dear Louis, > > I'm a recipient of the status updates of this bug I once claimed. My > question is: What are the next steps, do you mean an Qt issue is already > opened now? It is so annoying and unacceptable that Kmail suffers from > freezing email for more than decade. Many thanks for short reply! > Kind regards, > > Bernhard > > > On Wednesday, 24 July 2024 15:18:29 CEST Louis Moureaux wrote: > > > > https://bugs.kde.org/show_bug.cgi?id=278046 > > > > > > > > > > Louis Moureaux <m_louis30@yahoo.com> changed: > > > > > > > > > > What |Removed |Added > > > > > -------------------------------------------------------------------------- > > -- > > > > CC| |m_louis30@yahoo.com > > > > > > > > > > --- Comment #16 from Louis Moureaux <m_louis30@yahoo.com> --- > > > > > Quoting Laurent Montel in #334469: > > > > > Indeed I confirm it's QTextEdit which has this problem. > > > > > => a bug in qt not in kdepim. > > > > > === End quote > > > > > > > > > > -> If this is really still the case 10 years later, it might be time to > > open > > > > an issue with Qt... > > > > > ________________________________ > > Privatdoz. DI Dr. Bernhard Scheichl, Hon. Assoc. Prof. > > Technische Universität Wien | Institute of Fluid Mechanics and Heat > Transfer > Tower BA/E322 | Getreidemarkt 9 | 1060 Vienna | Austria > > T: +43-1-58801-32225 | > www.tuwien.at/mwbw/fluid<https://www.tuwien.at/mwbw/fluid>
Sorry for the email replies with quotations. I quickly confirmed the following in a Qt 6 build: Editing long messages is slow. I typed the word "test" many times, one on each line. I start feeling the performance at 100k words, and at 500k words it becomes unbearable (1s to type a single letter). KWrite is still super sleek at this level. I did the same test in a simple QTextEdit and got results similar to KMail's editor. It does seem to be a Qt bug.
Upstream bug: https://bugreports.qt.io/browse/QTBUG-17182 It was also commented on this report that QTextEdit was never meant to handle large inputs, so mitigation might be needed on the KMail side (many mail clients collapse answers by default or make them read-only, maybe something similar could be done...)
I confirm this bugs still happens on 5.22.3 (Debian stable). Since this bug has been opened on Qt side for almost 14 years, I highly doubt they will fix anything soon (or ever). Also, in any professional (corporate) setting where using html mail is the norm (unfortunately), it makes using kmail a pain, and even a blocking point. I'd say it's time to find a way from kde side to make it work correctly without relaying on upstream which clearly does not care about the issue and even said the component was not meant for this use case, don't you think?
Well i switched to Thunderbird, which is working well.
Created attachment 175505 [details] attachment-1825407-0.html I fully agree - I claimed this bug some time ago at KDE side as it becomes really annoying once a thread has reached a certain number of replies. It is still the case with openSUSE Tumbleweed. B. Scheichl (TU Wien). From my mobile. ________________________________ Von: Alexandre Bonneau <bugzilla_noreply@kde.org> Gesendet: Montag, 4. November 2024 01:26 An: Scheichl, Bernhard Betreff: [kmail2] [Bug 278046] KMail freezes when replying to long messages in HTML https://bugs.kde.org/show_bug.cgi?id=278046 Alexandre Bonneau <alexandre.bonneau@linuxfr.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexandre.bonneau@linuxfr.e | |u --- Comment #23 from Alexandre Bonneau <alexandre.bonneau@linuxfr.eu> --- I confirm this bugs still happens on 5.22.3 (Debian stable). Since this bug has been opened on Qt side for almost 14 years, I highly doubt they will fix anything soon (or ever). Also, in any professional (corporate) setting where using html mail is the norm (unfortunately), it makes using kmail a pain, and even a blocking point. I'd say it's time to find a way from kde side to make it work correctly without relaying on upstream which clearly does not care about the issue and even said the component was not meant for this use case, don't you think? -- You are receiving this mail because: You are on the CC list for the bug.