Bug 356210 - [́́not repro] Stress marks are not visible in editor
Summary: [́́not repro] Stress marks are not visible in editor
Status: RESOLVED WORKSFORME
Alias: None
Product: lokalize
Classification: Applications
Component: editor (show other bugs)
Version: 2.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-02 20:47 UTC by Alexander Potashev
Modified: 2019-12-01 11:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (69.32 KB, image/png)
2015-12-02 20:48 UTC, Alexander Potashev
Details

Note You need to log in before you can comment on or make changes to this bug.
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.