Bug 387763

Summary: Lines appear blank
Product: [Applications] kate Reporter: john
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 15.12   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The file displayed incorrectly.
Screeenshot showing the problem
Proper display of the file using LibreOffice with the same font
Screenshot using UTF-7
Working state

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.