Bug 416648 - Line numbers greater than 10,000 escape from text editor view frame
Summary: Line numbers greater than 10,000 escape from text editor view frame
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 19.12.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-23 14:15 UTC by Patrick Silva
Modified: 2020-06-14 14:38 UTC (History)
2 users (show)

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


Attachments
screenshot (421.83 KB, image/png)
2020-01-23 14:15 UTC, Patrick Silva
Details
test file (602.40 KB, application/gzip)
2020-01-23 14:15 UTC, Patrick Silva
Details
screenshot of kate 20.04.2 (379.01 KB, image/png)
2020-06-12 18:18 UTC, Patrick Silva
Details
screen recording of kate 20.04.2 (2.74 MB, video/webm)
2020-06-12 18:39 UTC, Patrick Silva
Details
font size 128px (214.67 KB, image/png)
2020-06-12 18:54 UTC, Patrick Silva
Details
Screenshot showing the issue (90.46 KB, image/webp)
2020-06-14 14:38 UTC, Christoph Feck
Details

Note You need to log in before you can comment on or make changes to this bug.
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