Bug 356210

Summary: [́́not repro] Stress marks are not visible in editor
Product: [Applications] lokalize Reporter: Alexander Potashev <aspotashev>
Component: editorAssignee: Nick Shaforostoff <shafff>
Status: RESOLVED WORKSFORME    
Severity: normal CC: adrian
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot

Description Alexander Potashev 2015-12-02 20:47:34 UTC
Stress marks written with character U+0301 COMBINING ACUTE ACCENT (UTF-8 code 0xCC 0x81) is not visible in neither
 - the translation editing field, nor
 - the "Sync 1" panel.
Although these stress marks are visible in the Translation Units panel.

Reproducible: Always
Comment 1 Alexander Potashev 2015-12-02 20:48:49 UTC
Created attachment 95870 [details]
screenshot
Comment 2 Nick Shaforostoff 2016-02-21 23:58:54 UTC
cannot repro (using qt 5.5)
Comment 3 Alexander Potashev 2016-02-22 10:37:28 UTC
I had and currently have Qt 5.5.1, but the problem is not different:
 - The Translation Units panel has no stress marks;
 - The TM panel and the translation editing field have stress marks.

Weird...
Comment 4 Alexander Potashev 2016-02-22 10:37:52 UTC
(In reply to Alexander Potashev from comment #3)
> I had and currently have Qt 5.5.1, but the problem is not different:

*is now different
Comment 5 Alexander Potashev 2018-08-06 15:07:44 UTC
Visibility of accents in the segments list depends on the font (bold/normal). When the segment is modified, it is displayed in bold in the segments list (see the screenshot from 2015). When the segment is not modified, the accents are not visible.

Tested on Fedora 28 with lokalize-17.12.3-2.fc28.x86_64:
  KDE Frameworks 5.48.0,
  Qt 5.10.1 (собрана с версией 5.10.1),
  Оконная система xcb.
Comment 6 Adrián Chaves (Gallaecio) 2019-11-29 10:38:25 UTC
Does this still happen? From what you describe, may this be an issue with the fonts you are using, and not with Lokalize itself?
Comment 7 Alexander Potashev 2019-12-01 11:29:08 UTC
Tried with different fonts with Lokalize 19.04.3 on Fedora 31, Qt 5.12.5, KF 5.61.0:

1. Normal text font: Noto Sans 10pt -> everything works as expected, I see the accents in all places where they are present.
2. Normal text font: Sans Serif 10pt -> still have the same problem.

Looks like the Sans Serif font can't display accents in normal text. However it displays the accents in Bold or Italic text.