View Issue Details

IDProjectCategoryView StatusLast Update
0005944SOGoWeb Mailpublic2024-04-10 12:51
ReporterrainerN Assigned Tosebastien  
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version5.10.0 
Fixed in Version5.10.1 
Summary0005944: On answering mails CKEditor "hangs"
Description

When answering mails (especially those sent by Outlook!) it takes up to 30 seconds to load the text into the editor. During this time the browser is not responding at all.

After initial load typing above (which is what our users prefer...) the original message leads to very slow repsonses again: text shows up only letter by letter.

This seems to be related to 0005920 (the switch to CKEditor 5) as there were no reports before.

TagsNo tags attached.

Activities

qhivert

qhivert

2024-03-21 17:04

administrator   ~0017665

Hello,
Could you give us an eml of one of the slow email?

sebastien

sebastien

2024-03-27 09:09

administrator   ~0017670

The problem is related to the html code. You have more than 9000 occurences of &lt;p style=&quot;padding: 0; margin: 0;&quot;></p>.
This makes CKEditor hangings also on their own demo.

I have added a protection in commit https://github.com/Alinto/sogo/commit/127df3968998c96d5349f7368adba1e5e371ed4c
It detects empty html tags (or with html space in it) and remove all those tags if more 50 occurrences appears.

Let me know if there are still issues on NB 20240328

Sebastien

rainerN

rainerN

2024-03-28 10:50

reporter   ~0017671

Problem is solved for previously uploaded mesage, but there's still a problem with various other messages.

sebastien

sebastien

2024-04-02 09:17

administrator   ~0017676

I added a timer n editor changed callback. This should increase significantly speed when typing.
For message load, the message still have useless dirty code, hard to detect so I did not change anything on it.

Commit : https://github.com/Alinto/sogo/commit/bc804ae823a8a61e6cb02495759f75a104c77753

Can you have a try on NB 20240403 ?

Sebastien

rainerN

rainerN

2024-04-03 10:09

reporter   ~0017677

Hello Sebastien,

Looks really good, I think this one solved the problem!

Thanks once again

rainerN

rainerN

2024-04-10 11:55

reporter   ~0017698

Hi,

sorry to come up with this issue again...

We now see a new effect when answering or forwarding mails: if you type text and push "Send" immediatelly after typing then part or even all of your input gets lost (not sent via smtp nor stored in imap). Seems like the buffer of the editor is not transmittted yet.

I could confirm the problem with the attached mail.

sebastien

sebastien

2024-04-10 12:11

administrator   ~0017700

Did you have tested latest NB ? This has been fixed in commit https://github.com/Alinto/sogo/commit/2f4c125bdd9b5eebbba41e2204e2fc9c93a3eebd

Sebastien

rainerN

rainerN

2024-04-10 12:39

reporter   ~0017701

Upgraded to latest NB and issue is fixed!

Thanks a lot

Issue History

Date Modified Username Field Change
2024-03-21 14:10 rainerN New Issue
2024-03-21 17:04 qhivert Note Added: 0017665
2024-03-21 17:04 qhivert Assigned To => qhivert
2024-03-21 17:04 qhivert Status new => feedback
2024-03-21 19:04 sebastien Assigned To qhivert => sebastien
2024-03-26 10:42 rainerN Status feedback => assigned
2024-03-27 09:09 sebastien Note Added: 0017670
2024-03-27 09:09 sebastien Status assigned => resolved
2024-03-27 09:09 sebastien Resolution open => fixed
2024-03-27 09:09 sebastien Fixed in Version => 5.10.1
2024-03-28 10:50 rainerN Status resolved => feedback
2024-03-28 10:50 rainerN Resolution fixed => reopened
2024-03-28 10:50 rainerN Note Added: 0017671
2024-03-28 10:55 rainerN Status feedback => assigned
2024-04-02 09:17 sebastien Note Added: 0017676
2024-04-02 09:17 sebastien Status assigned => feedback
2024-04-03 10:09 rainerN Note Added: 0017677
2024-04-03 10:09 rainerN Status feedback => assigned
2024-04-03 10:09 sebastien Status assigned => resolved
2024-04-10 11:55 rainerN Status resolved => feedback
2024-04-10 11:55 rainerN Note Added: 0017698
2024-04-10 12:11 sebastien Note Added: 0017700
2024-04-10 12:39 rainerN Note Added: 0017701
2024-04-10 12:39 rainerN Status feedback => assigned
2024-04-10 12:51 sebastien Status assigned => resolved
2024-04-10 12:51 sebastien Resolution reopened => fixed