Can't scroll to end of newly opened file immediately
Description
When I open a file and scroll down to the end of it, parts of the file are missing and I cant fully scroll down. I first have to scroll up shortly, then the rest of the file seems to get loaded and I can scroll further to the end. This issue appeared a few weeks (or 2-3 months) ago. It's quite annoying and disrupts the workflow a lot. I don't think opening a 800 lines long file needs seconds to load everything, so I don't think a too big file size is the issue here.
Here's a video of the issue: https://github.com/user-attachments/assets/e3feb172-5206-4975-8938-8c5d8cc5a0b5
To Reproduce
- Open a file
- Scroll to the end immeaditely
- Scrolling to end not possible unless repeated tries / short scroll up before
Expected behavior
No response
CotEditor version
5.1.5 (714)
macOS version
15.4.1
Additional context
No response
Thank you for the feedback. However, I could not reproduce this phenomenon in my environment even though the versions of CotEditor and macOS are the same as yours. I've also looked into the code-level changes in the last few months but couldn't find a possible cause. Are there any specific conditions that need to be met for this to occur? Additionally, is there a difference when you hide the line number view?
Are there any specific conditions that need to be met for this to occur?
No it happens with small and big files, with and without quitting CotEditor. Nothing I can make out sadly.
Additionally, is there a difference when you hide the line number view?
No the issue persists when turning off line numbers.
Has the situation changed since both macOS and CotEditor were updated?
To be honest, since CotEditor adopts deferred rendering for performance reasons, I believe this phenomenon is somewhat unavoidable (Though, I also don’t find it ideal that this stuttering occurs with the amount of data you shared).
Considering CotEditor’s upcoming text rendering migration, I decided not to address this issue individually. I appreciate your understanding.
No the issue is still present with macOS 26.0.1 and the newest CotEditor version.