Bug 416648

Summary: Line numbers greater than 10,000 escape from text editor view frame
Product: [Applications] kate Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: jpsutton, nate
Priority: NOR    
Version First Reported In: 19.12.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot
test file
screenshot of kate 20.04.2
screen recording of kate 20.04.2
font size 128px
Screenshot showing the issue

Description Patrick Silva 2020-01-23 14:15:01 UTC
Created attachment 125327 [details]
screenshot

SUMMARY
See the attached screenshot. First number is 3 or 8?
 I'm also attaching a test file.

EXPECTED RESULT
line number is always entirely readable.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0
Comment 1 Patrick Silva 2020-01-23 14:15:54 UTC
Created attachment 125328 [details]
test file
Comment 2 Christoph Feck 2020-02-13 17:05:52 UTC
Bug shows with large font sizes.
Comment 3 Jared Sutton 2020-02-26 16:28:20 UTC
Assuming it's the same bug, it also manifests on the Windows build (from the MS Store) with any line number over 3 characters or more than 99 lines.
Comment 4 Patrick Silva 2020-06-12 18:18:05 UTC
Created attachment 129273 [details]
screenshot of kate 20.04.2

cannot reproduce with kate 20.04.2 even with font size set to 22.

Operating System: Arch Linux 
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Comment 5 Christoph Feck 2020-06-12 18:29:36 UTC
Still reproducible with very large font sizes (just press Ctrl++ until you see it). The code wasn't changed.
Comment 6 Patrick Silva 2020-06-12 18:39:36 UTC
Created attachment 129275 [details]
screen recording of kate 20.04.2

Humm, I can't confirm your observation Christoph.
I have attached a video.
Comment 7 Christoph Feck 2020-06-12 18:46:13 UTC
I get the bug with line numbers with more than 5 digits, at really large font sizes.
Comment 8 Patrick Silva 2020-06-12 18:54:29 UTC
Created attachment 129276 [details]
font size 128px

Still not reproducible for me with font size 128px lol
Comment 9 Christoph Feck 2020-06-14 14:38:01 UTC
Created attachment 129348 [details]
Screenshot showing the issue