Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck in endless loop, UI frozen #14

Open
sgehrman opened this issue Apr 15, 2024 · 6 comments
Open

Stuck in endless loop, UI frozen #14

sgehrman opened this issue Apr 15, 2024 · 6 comments
Assignees
Labels
bug Something isn't working performance

Comments

@sgehrman
Copy link

Describe the bug

I'm downloading the text at this URL: https://youtube.co.jp probably others will fail, but that's what I'm testing

To Reproduce
Get the text for the the url https://youtube.co.jp and display it in a CodeEditor

Expected behavior
Should no crash

Screenshots

Screenshot from 2024-04-15 16-00-08

Device:

  • OS: Linux
  • Version latest
@sgehrman sgehrman added the bug Something isn't working label Apr 15, 2024
@MegatronKing
Copy link
Member

@sgehrman Hi, can you attach the text as file here?

@sgehrman
Copy link
Author

text.txt

@sgehrman
Copy link
Author

It only hangs when I scroll down a bit. I just loaded that with CodeEditor and did a select all and copy. that works, but if I scrolll, it hangs.

@MegatronKing
Copy link
Member

Thank you very much for your reply, but I haven't been able to reproduce the stuck issue.

I noticed that when scrolling down to line 71, there will be an obvious lag. This is an issue that I am currently aware of. When a single line of text is too long, skia's layout engine calculations will be very slow. I suspect that you are also encountering the same issue.

Perhaps this lag is amplified due to computer performance, maybe you can try deleting line 71.

@sgehrman
Copy link
Author

I'm on web and using the @littleq fork.

line 71 takes like 5 mins to process. It's unusable. Please fix.

@sgehrman
Copy link
Author

For now I'm breaking up long lines which is a temporary solution that doesn't take forever to scroll

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance
Projects
None yet
Development

No branches or pull requests

2 participants