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

Very slow text entry on Safari in long image threads #1954

Open
llimllib opened this issue Apr 7, 2023 · 6 comments · Fixed by #1969
Open

Very slow text entry on Safari in long image threads #1954

llimllib opened this issue Apr 7, 2023 · 6 comments · Fixed by #1969
Assignees
Labels
c: bug Something isn't working s: pending triage Pending Triage

Comments

@llimllib
Copy link

llimllib commented Apr 7, 2023

here is an example post in a thread from someone who posts work from an artist every day.

If you go to that message with elk, elk appears to load every image in the thread every time.

Then, if you try to respond to the most recent message, the app is so slow that you can't even type in the text box - it takes ~30s for a character to echo to the screen.

@llimllib llimllib added c: bug Something isn't working s: pending triage Pending Triage labels Apr 7, 2023
@stackblitz
Copy link

stackblitz bot commented Apr 7, 2023

Solve in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@tv21
Copy link

tv21 commented Apr 7, 2023

I've also seen this, not quite as bad as the OP but where it takes ~2s for a character to echo.

@Shinigami92
Copy link
Member

For me it is not slow, but I'm getting a lot of 429 too many requests because of all these images

@Shinigami92
Copy link
Member

My "fix" would not call all images at once, but if you still scroll to fast/too much you will still run into 429

@llimllib
Copy link
Author

That PR probably is helpful with loading the thread! Unfortunately it doesn't close the issue. I recorded a short screencast showing how slowly text echos to the response box. All typing occurred before the recording of this video, where you can see text... slowly... echoing... to the screen:

Posts.alex.kittle.@[email protected]

I don't have permission to re-open this issue, can you do it for me?

@llimllib
Copy link
Author

Oh I should add some info. That's with a brand-new canary: Built 15 minutes ago · canary · [23c1dfe](https://github.com/elk-zone/elk/commit/23c1dfec10662f874eb5b772db52f2ed2206408e)

on Mac OS X 13.3.1, with Safari 16.4.

I'm unable to reproduce with Firefox or Chrome, so the title of this bug maybe should get changed to be safari-specific? Or I could file a new issue if you prefer

@patak-dev patak-dev reopened this Apr 27, 2023
@llimllib llimllib changed the title elk is unusably slow on long threads with many images Very slow text entry on Safari in long image threads Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: bug Something isn't working s: pending triage Pending Triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants