Bug 419352

Summary: Some Unicode Miscellaneous Symbols affect the displayed text in the Editor.
Product: [Applications] kdevelop Reporter: José Otero <otero_jose>
Component: UI: generalAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: minor CC: mail
Priority: NOR    
Version: 5.4.5   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description José Otero 2020-03-29 01:00:13 UTC
SUMMARY

When editing text in a Editor window, if one pastes any of the following special characters (Unicode Miscellaneous Symbols): ⛰️ ⛱ ⛯ ⛸. (Unicode codes: u+26F0, u+026F1, u+026EF, and u+026F8 respectively. Then, the bottom half of the whole line where the symbol is pasted disapper.

STEPS TO REPRODUCE
1. In Kdevelope, open an Editor window (Ctrl+N).  
2. Write any text.
3. Paste the symbol: ⛰️.

OBSERVED RESULT

The bottom half of the text written in the whole line, including the symbol ⛰️, disappear.

EXPECTED RESULT

The text written in the line is left unchanged, i.e. completely visible.

SOFTWARE/OS VERSIONS
Windows: Not tested
macOS: Not tested
Linux/KDE Plasma: GNU/Linux 4.19.57 gentoo
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION
Comment 1 José Otero 2020-03-29 01:20:41 UTC
Well, just reading my comment here for reporting the bug. I am realizing that it very well may not be a issue of KDevelope. But an issue of my system in general.

I see my comment, in my browser Falkon 3.1.0, and the lines where the symbols appear are shown pushed down. It is like these symbols (in my system) had an additional height, and needed more space in the line. So, when inserted they push the whole line down.

I appologize in advance in case I am reporting a non-issue.
Comment 2 Sven Brauch 2020-03-29 08:57:57 UTC
This bug is in the KTextEditor component, but it is kind of there. It doesn't deal well with oversized (in height) characters, since IIRC it is built around having constant line heights.