Bug 453912 - Presence of text that is not adherent to the current codepage causes scrolling during observation of that information to be slow.
Summary: Presence of text that is not adherent to the current codepage causes scrollin...
Status: RESOLVED DUPLICATE of bug 432325
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 21.12.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-16 20:26 UTC by Roke Julian Lockhart Beedell
Modified: 2023-03-24 10:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2022-05-16 20:26:33 UTC
SUMMARY
Presence of much text that is not adherent to the current codepage causes scrolling during observation of that information via Kate to be slow.

STEPS TO REPRODUCE
1. Invoke the file that is attached.
2. Scroll across the entirety of the file.

OBSERVED RESULT
Kate becomes slow, hangs, or crashes during observation of approximately the 45444th line.

EXPECTED RESULT
Kate should operate as quickly as it alternatively would.

SOFTWARE/OS VERSIONS
Windows: Not evaluated.
macOS: Not evaluated.
Linux/KDE Plasma: Positive.
KDE Plasma Version: `5.24.5`.
KDE Frameworks Version: `5.94.0`.
Qt Version: `5.15.3`.
Comment 1 Roke Julian Lockhart Beedell 2022-05-16 20:35:01 UTC
I am unable to attach the file. It is too large. `http://file.io/mGsjiQA89PmB` is the file. The file is what execution of `file://localhost/usr/bin/script` of `http://github.com/util-linux/util-linux` creates.
Comment 2 Waqar Ahmed 2023-03-20 17:55:38 UTC
Is it possible to reshare the file? The link says "file is deleted". Otherwise instructions on how to create such a file / a smaller version of the file which exhibits this issue would be great.
Comment 3 Roke Julian Lockhart Beedell 2023-03-23 00:18:14 UTC
(In reply to Waqar Ahmed from comment #2)
> Is it possible to reshare the file? The link says "file is deleted".
> Otherwise instructions on how to create such a file / a smaller version of
> the file which exhibits this issue would be great.

https://drive.google.com/file/d/1RNoIKKycLFfPsOwZY66G88mjNyhflygO/view?usp=sharing appears to exhibit similar behaviour. Carefully hover your mouse to slowly scroll using Kate's visual scrollbar ability. When you pass by approximately the middle of the file via that, Kate shall either hang (and then crash) or, when you hover your mouse to where the scrollbar preview itself hangs and then click to navigate the main view there, Kate should stall, hang, and crash.
Comment 4 Roke Julian Lockhart Beedell 2023-03-23 00:18:26 UTC
Please verify.
Comment 5 Waqar Ahmed 2023-03-24 10:26:31 UTC
The problem is that the file has very long lines. Kate doesn't work well if the lines are too long.

*** This bug has been marked as a duplicate of bug 432325 ***