-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
Comments
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. |
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 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 |
I got a similiar issue, but it's mostly appearing when moving windows around with the mouse, or resizing them. Setup is M1 Macbook Pro (Base Version) attached via USB C Dock to a 4k and 2.5k screen. My fix is the same as 8pxl's. Restarting (or closing in general) Loop instantly fixes the issue for some time. Thanks if the bug can be found and fixed! |
Same here. I experienced the same issue where system animations (e.g. moving / resizing windows, scrolling, etc.) became progressively choppier over time. Rebooting my system would temporarily resolve the problem, but it would gradually reappear the next day (I rarely shut down my MacBook Pro overnight). Initially, I thought it was a macOS bug. However, I just realized that I haven’t encountered the issue in the past week, which coincides with my switch to Swish. For context, I occasionally alternate between Loop, Swish, and Rectangle Pro... I run macOS 15.2 (24C101) on an M4 Pro MBP, but had the same problem on the M1 Pro I had before that. |
I wanted to confirm the above. Running Loop regularly again, and after a few hours, system starts getting choppy and draggy. Cursor movement, web page scrolling, moving/resizing windows... Quitting Loop fixes the problem instantly. The problem gets worse over time. Maybe a memory leak of some sort? |
@greg1075 it could indeed be a memory leak. Are you also running the latest version of Loop? We recently fixed a memory leak related to the event monitor, which might address the issue. Additionally, I’ve been exploring some private APIs that avoid mouse event tracking entirely, and I’m considering integrating those into Loop in the future to improve performance further (although I am still seeing it if has any disadvantages compared to our current method). |
I am running the latest beta version 1.3.0 (1445). |
I'm not going to lie, when i say, i've got 0 idea as to why this is happening for 3 people, and how loop is causing this, and the activity monitor from 8pxl makes no sense because loop is calling none of those programs or events. Plus, it'd be RAM (Memory) i'm interested in, not CPU |
That is bizarre. It happened to me on two separate systems including a brand new computer i.e. fresh OS , so that pretty much rules out a system-specific issue. It could very well be that more people are running into the issue but haven't reported it? I'm gonna let Loop run and see if I can identify any RAM pressure in the activity monitor. |
I would agree that this is very probable, despite not being able to reproduce it myself.
That would be greatly appreciated! I also suspect that this bug might be related to Loop’s cursor event tracking for window snapping, even though it doesn’t seem directly connected to scrolling. Here’s a build with all of that functionality removed. The option will still appear in Loop’s settings, but it won’t actually do anything: Loop.zip |
Okay, @greg1075, i can (after i was finished recovering from being blinded...) see Loop shot up to 200 ish mbs of ram, defs should not happen, so there is a leak somewhere, @MrKai77 linked a download above for a stripped version of one of the monitors, can you please download and use that so we can rule out any issues / problems. I'm shocked because my loop runtime is over a week and its only at 80mb with all sorts of movements i've done, so maybe theres something macOS version related too, causing something to leak which didnt before. |
@SenpaiHunters - Sorry for the onslaught of screenshots. I wasn’t sure exactly what you’d be looking for, so I sent everything. Also, sorry for not being clear earlier - the activity monitor data above was captured while using the version @MrKai77 linked to above: 1.2.0 (1445). |
Ah, okay, so it's something unrelated to mouse events, are you using any custom keybinds? All i can think is something is not being dislocated or misallocated elsewhere, and have you noticed anything strange while using loop? Currently, the main dev build chain is on Alright, it's something we'll need to debug, thanks for the info and screenshots. |
@SenpaiHunters I use 3 custom keybinds, one for window centering which I changed to CMD-[`], Almost Maximize which I changed to CMD-2. and a custom cycle with several (centered) window sizes set to CMD-1. |
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
The text was updated successfully, but these errors were encountered: