https://bugs.kde.org/show_bug.cgi?id=412095

            Bug ID: 412095
           Summary: lines containing certain Unicode characters aren't
                    displayed correctly
           Product: kate
           Version: 19.04.3
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: glyphi...@gmail.com
  Target Milestone: ---

SUMMARY

In KWrite, when you add a certain Unicode character (e.g. U+24B8 or U+24D2) to
a line, the line's text is no longer fully visible.

Specifically, the top half of the line's "viewpane" goes blank, while the
bottom half now contains the upper portion of the text that should be
displayed. That is, the text that should be displayed has been shifted
downwards in the viewpane, so that the bottom portion of the text is no longer
visible.

STEPS TO REPRODUCE
1. Run the following from a command line:

python3 -c "f=open('test.txt', 'wt'); f.write('U+00A9: \u00a9\nU+24B8:
\u24b8\nU+24D2: \u24d2\n'); f.close()"

2. Open test.txt in KWrite

OBSERVED RESULT

The 1st line contains the normal copyright symbol, U+00A9 (decimal 169) and
renders correctly.

The 2nd line contains a different Unicode copyright symbol, U+24B8 (decimal
9400) and renders incorrectly, as described in the summary.

The 3rd line contains yet a different Unicode copyright symbol, U+24D2 (decimal
9426) and similarly renders incorrectly.

EXPECTED RESULT

All lines in test.txt render correctly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.60.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION

Noticed the issue when a text file happened to contain a U+24B8 copyright
symbol. Didn't test w/ other symbols, but presumably the issue isn't restricted
to the 2 I found.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to