Persistant system-wide slowdown, keyboard and trackpad lag, finder very slow, files stalling and will 'catchup' while moving.

Describe the bug

Since updating to the latest BTT - and using Sonoma - I have had system-wide lag in the finder, typing and moving text and files. In any program if I type only some of the letters appear, as if I am going too fast for the computer. This is a new issue for this setup and I haven't installed anything new that's hogging system resources, nor added new triggers to BTT - my mac apps, triggers and pretty much entire system is the same it was a few months ago when this didn't happen. I closed BTT for a few days and noticed the problem was no longer there. On updating and starting BTT, the problem returns. I know this is hard to replicate and it's hard for me to document, but BTT seems to be slowing down my computer, hogging the memory, or stalling simple processes like selecting files and entering text. If I Ctrl-select a handful of files and drag and drop to the desktop, the finder freezes, then the items will appear in an undesirable location. I have updated, restarted, attempted some system maintenance with Onyx, everything. I have around 30 menu-bar apps running constantly, and will work daily with about 20 apps running. I use BTT mainly for trackpad gestures and system-wide keyboard shortcuts, with 1-2 app specific shortcuts as well. Most of these are in the one preset called 'Default' - could that be an issue? I have 3-4 floating Menus summoned by keyboard shortcuts and pointer movements on the screen.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Wireless Magic trackpad and USB keyboard plugged into a dongle sharing with an Audio interface and plugged into mac using USB-c.

Screenshots
I can attempt a screen record if necessary. I don't think I have an unusual number of menu-bar applications or anything running in the background that would hog resources.




Device information:
MacBook Pro, 16-inch, Nov 2023, Apple M3 Max, Memory 48 GB
macOS Sonoma 14.7.
MBP running in clamshell with LG 5K monitor connected with USB-C Lightning cable seperate to dongle.

BeTTer touch tool Version 4.768 (2024101403)

I have no crash files as nothing crashes. I don't know what to show from activity monitor. I could attempt to screen record. Please advice what information and system reports I can provide.

do you have the experimental dropbox/icloud sync enabled in the BTT settings? That’s the only thing I can think of that could cause such weird issues if it encounters some data corruption or similar .

Yes I do. I will let you know if it improves performance at work tomorrow. At my home computer I don't have the same issues but use the computer under the same load and have the same BTT triggers. I have sync enabled and don't have the same issue. Should I try tests without the external display (which has a hub built in and powers another audio interface, a rotary volume knob) and run the wired keyboard directly into the computer and not via the hub? As I get slowdown on trackpad gestures and typing input that seems the likeliest issue to me.

I've had cloud sync disabled and using the computer for about a week now. It HAS made a difference. However there's still a bit of lag on the trackpad. Usually if Ive been away from the computer for about five minutes - it's not gone to screensaver or locked yet - and I come back and move the trackpad and interact with context menus and move windows in the finder; I get small delays for about a minute. I have the exact same model at home I use daily with the same BTT setup, so I can witness a difference. Only differing setup is I'm using the magic trackpad on bluetooth on the affected computer.

Would reinstalling BTT and starting from scratch give any indication of where the problem is coming from? I've already turned off all the presets I use and turned them on one by one. I can't trace it to one particular preset.

So there's an update @Andreas_Hegenberg

Hope you might be able to suggest further investigation.

check whether any process is using a lot of cpu via activity monitor. Very high loads can make it impossible to process events fast enough (however it would be something like 100% cpu usage by sole processes)

In general bluetooth can be influenced by other devices, I had similar issues with my broken/unshielded LG 5k display back in the day