Bug 387763 - Lines appear blank
Summary: Lines appear blank
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 15.12
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-10 10:16 UTC by john
Modified: 2018-07-14 14:30 UTC (History)
1 user (show)

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


Attachments
The file displayed incorrectly. (171 bytes, text/csv)
2017-12-10 10:16 UTC, john
Details
Screeenshot showing the problem (19.51 KB, image/png)
2017-12-21 09:14 UTC, john
Details
Proper display of the file using LibreOffice with the same font (8.15 KB, image/png)
2017-12-21 09:15 UTC, john
Details
Screenshot using UTF-7 (17.96 KB, image/png)
2017-12-21 09:49 UTC, john
Details
Working state (12.56 KB, image/png)
2018-07-14 14:29 UTC, Christoph Cullmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description john 2017-12-10 10:16:21 UTC
Created attachment 109287 [details]
The file displayed incorrectly.

I have a file (attached) containing unicode characters as well as their code-point information in columns. Lines 4-7 appear completely blank, thought the tab indicators are still shown. The font does contain the glyphs in question, and the first two columns are ASCII characters, so they should at least be displayed anyway.
Comment 1 Christoph Cullmann 2017-12-20 21:26:38 UTC
I tried my current installation (openSuSE Tumbleweed), works for me.
That means kate 17.08 + frameworks 5.40.0 + Qt 5.9.2.
I tried different font-sizes, too.
Comment 2 john 2017-12-21 09:14:18 UTC
Created attachment 109469 [details]
Screeenshot showing the problem
Comment 3 john 2017-12-21 09:15:11 UTC
Created attachment 109470 [details]
Proper display of the file using LibreOffice with the same font
Comment 4 john 2017-12-21 09:17:05 UTC
Well, it still doesn't work for me. I've attached screenshots showing the problem in Kate, as well as one from LibreOffice displaying the same file with the same font.
Comment 5 john 2017-12-21 09:20:40 UTC
Correction: Screenshots don't use the same font, but the problem persists no matter what font I choose (even Noto does not work here).
Comment 6 john 2017-12-21 09:49:44 UTC
Created attachment 109471 [details]
Screenshot using UTF-7

I think the problem could perhaps be with the UTF-8 decoder. When I'm using UTF-7 or Western encodings like ISO 8859-1, the ASCII characters in the first two columns get displayed correctly.
Comment 7 Christoph Cullmann 2018-07-14 14:29:33 UTC
Created attachment 113930 [details]
Working state

Hmm, I tried just again, KWrite 18.04.2, KF 5.47.0, Qt 5.11.1
Comment 8 Christoph Cullmann 2018-07-14 14:30:51 UTC
Hmm, I tried just again, KWrite 18.04.2, KF 5.47.0, Qt 5.11.1, see the attachment.
No idea what could be fixed here, that seems to kind of work, font is Source Code Pro, UTF-8 encoding for loading.