View Issue Details

IDProjectCategoryView StatusLast Update
0006220SOGoWeb Mailpublic2026-06-14 12:07
Reporterlitauer Assigned Toqhivert  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Platform[Client] AppleOSOS XOS Version10.9
Product Version5.12.8 
Fixed in Version5.12.9 
Summary0006220: Search for subject leads to wrong highlighting
Description

Searching for a substring of a subject line doesn't highlight the matched substring. Instead the substring ist displayed as
<mark data-markjs="true">SUBSTRING</mark>

Steps To Reproduce

type a search pattern that can be found in any of your mail subjects

Additional Information

The effect only happens with matches in subject. A pattern match in the sender field is highlighted correctly

TagsNo tags attached.

Activities

litauer

litauer

2026-05-26 11:59

reporter  

tk_umr

tk_umr

2026-06-12 15:27

reporter   ~0018504

As far as I understood this was a regression from 5.12.8 and fixed with 5.12.9.

See commit https://github.com/Alinto/sogo/commit/be440baa

litauer

litauer

2026-06-13 13:05

reporter   ~0018505

Yes, the false representation has been corrected with 5.12.9.
Now, nothing is highlighed/marked in the matching mails.

qhivert

qhivert

2026-06-14 12:06

administrator   ~0018506

Hello, yes the subject has no more highlighting. But the body has.
It's no ideal but it was the fastest way to fix the problem with the time I was given. I assume, as a subject is only a few words, it will ok if it was not highlighted anymore as long the body still have highlighting.

Maybe I'll come back later with a fix for that (or if anyone else is interested to make a PR for it ^^)

Issue History

Date Modified Username Field Change
2026-05-26 11:59 litauer New Issue
2026-05-26 11:59 litauer File Added: Bildschirmfoto 2026-05-26 um 13.58.39.png
2026-06-12 15:27 tk_umr Note Added: 0018504
2026-06-13 13:05 litauer Note Added: 0018505
2026-06-14 12:06 qhivert Note Added: 0018506
2026-06-14 12:07 qhivert Assigned To => qhivert
2026-06-14 12:07 qhivert Status new => resolved
2026-06-14 12:07 qhivert Resolution open => fixed
2026-06-14 12:07 qhivert Fixed in Version => 5.12.9