Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.39k stars 166 forks source link

Editor Freezes on Horizontal Scroll #5581

Closed ArthurZ closed 3 days ago

ArthurZ commented 5 days ago

I am on 1.215.0.0 on Win 10 Pro, when editing a file that has very wide lines (reaching beyond being visible on screen) once I touch the horizontal scroll bar CT freezes. I need then to use the Task Manager to kill it and reopen. This issue started in a pre-1.215.0.0 version but unsure in which anymore.

Alexey-T commented 5 days ago

I tested on such file:

wwwwwwwwwwwwwwwwwwwwwwww eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee fffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffff fffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffff
wwwwwwwwwwwwwwwwwwwwwwww eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee fffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffff fffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffff
wwwwwwwwwwwwwwwwwwwwwwww eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee fffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffff fffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffff
Alexey-T commented 5 days ago

@miroslavmatas Hi, do you see the freeze here?

MiroslavMatas commented 5 days ago

tested on this file - https://www.learningcontainer.com/sample-text-file/, 2mb text file - "sample-2mb-text-file.txt" checked on my Win11 and also on Win10… no problems here verified on my configuration + on clean setup (1.215, and 1.214.7) horizontal scroll bar works fine, and no freeze, or something suspicious

Alexey-T commented 5 days ago

Thanks for checking... maybe it is false report. I dont recall that we had changes in scrollbar code in last times.

question for @ArthurZ : change of scrollbar to OS-themed scrollbar affects it? this option:

Screenshot from 2024-06-26 07-34-42