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

🐞 scrolling becomes delayed system wide after loop is running for a long time #626

Open
3 of 4 tasks
8pxl opened this issue Dec 9, 2024 · 4 comments
Open
3 of 4 tasks
Labels

Comments

@8pxl
Copy link

8pxl commented Dec 9, 2024

Bug Description

after loop runs for awhile, the scrolling system wide becomes delayed.

Steps To Reproduce

The issue arises as long as loop is running (even if it isn't being used)

restarting loop temporarily resolves the issue, but it returns after some time period (usually around 10 minutes, but haven't timed precisely)

Expected Behavior

Scrolling should not be delayed

Actual Behavior

Scrolling is delayed after running the app

Screenshots

No response

macOS Version

Sonama 14.5

Loop Version

1.1.1

Additional Context

No response

Final Checks

  • My issue is written in English
  • My issue title is descriptive
  • This is a single bug (multiple bugs should be reported individually)
  • I can help with fixing or developing this issue (tick if you can help).
@8pxl 8pxl added the Bug label Dec 9, 2024
@8pxl 8pxl changed the title 🐞 [weird scroll issue after loop is running for a long time] 🐞 weird scroll issue after loop is running for a long time Dec 9, 2024
@8pxl 8pxl changed the title 🐞 weird scroll issue after loop is running for a long time 🐞 scrolling becomes delayed system wide after loop is running for a long time Dec 9, 2024
@SenpaiHunters
Copy link
Collaborator

What type of scrolling (app(s) other items)? You noted "system wide," have you also made sure its Loop, and not another process, or loop subprocess? And, after 10 mins, isn't a "long time" has Loop ever risen in memory? As, slow scrolling is mostly your CPU or Memory being pegged.

@8pxl
Copy link
Author

8pxl commented Dec 10, 2024

I waited until the issue occurred again, which happened after about 20 hours (my 10 minute estimate was heavily recency biased...)
I'm not sure how to confirm that Loop is causing this, but I assumed it was since closing Loop resolves the issue.

heres a video of the scrolling delay (i'm just scrolling normally but the page is jumpy)

Screen.Recording.2024-12-09.at.8.29.48.PM.mov

screenshot of cpu usage while the issue is occurring
image

and immediately after closing Loop (resolving the issue)

image

@SenpaiHunters
Copy link
Collaborator

SenpaiHunters commented Dec 10, 2024

I more wish for you to focus on memory, you'll see Arc use a tonne of it, but normally it'd be CPU/memory or both, in the screenshots shared, it doesn't look like Loop is the cause. WindowServer being the biggest macOS trash in years, finder, mds, spotify, arc, only thing may be AXVisuals, but that's very unlikely. The video, it's not really massively clear, and could be just a spike, uhh, we'll have to investigate it more. But, if you can share memory + cpu screenshots when you're having the issues, that'd be awesome.

I'll also add to this, please update to the dev builds, i wish to test if it's also an issue on a newer build, as you've noted you're using 1.1.1

003190-12@2x

@lukasesch
Copy link

I got a similiar issue, but it's mostly appearing when moving windows around with the mouse, or resizing them.
They are dragging behind the cursor with almost a 1 second delay.
The longer loop is running, the bigger the issue gets. In my case it needs to be longer than 10 minutes though. Can't put an exact time on it.
I'll try to take screenshots of memory + cpu when the issue occurs again.

Setup is M1 Macbook Pro (Base Version) attached via USB C Dock to a 4k and 2.5k screen.
Maybe having two different scaled displays could be part of the issue?

My fix is the same as 8pxl's. Restarting (or closing in general) Loop instantly fixes the issue for some time.
Dev version is installed since quite some time and the issue was always there.
Loving Loop so I don't mind restarting, nonetheless it starts becoming more annoying.

Thanks if the bug can be found and fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants