Caldis / Mos

一个用于在 macOS 上平滑你的鼠标滚动效果或单独设置滚动方向的小工具, 让你的滚轮爽如触控板 | A lightweight tool used to smooth scrolling and set scroll direction independently for your mouse on macOS
http://mos.caldis.me
Other
14.38k stars 514 forks source link

Scrolling issue on Messages app #438

Open dch09 opened 2 years ago

dch09 commented 2 years ago

Describe the bug | 问题描述 Scrolling wheel is "locked" after a 2-3 seconds of scrolling through messages. In order to unlock scrolling, block key is required to disable temporarily smooth scrolling. Issue reappears after scrolling through few next lines.

To Reproduce | 如何重现 Enable smooth scrolling Open iMessage, start scrolling in selected conversation

Expected behavior | 期望结果 Not interrupted scrolling

System Info | 系统信息:

Additional context | 额外说明 I've tested other apps providing smooth scrolling solution, unfortunately the issue is only with MOS, therefore I suppose that it's not caused by Messages.app itself.

EDIT: Scrolling through the left sidebar of conversations is also affected by this issue.

octothorpe8 commented 2 years ago

I've encountered this same issue with the News and Stocks apps on MacOS.

dch09 commented 2 years ago

I've encountered this same issue with the News and Stocks apps on MacOS.

It's not only stocks apps that are affected by this issue, as I found out scrolling in Craft app is also not working correctly.

drpoutine commented 2 years ago

This is a system wide bug. Seems to affect scrolling in general. using a G903 and running into the same issues here.

Running macOS 12.1 build 21C52

octothorpe8 commented 2 years ago

This is a system wide bug. Seems to affect scrolling in general. using a G903 and running into the same issues here.

Running macOS 12.1 build 21C52

I don’t think that’s true. Works fine in Safari, Mail, most everything else except for a few things like Messages and News.

timkite commented 2 years ago

Can confirm, and this appears to primarily affect "Catalyst" apps, namely Messages, News, TV, Podcasts, etc. Messages seems to be the worst, since it will just stop scrolling randomly in the conversations list, resuming after a pause or a click. News will stop scrolling only if the cursor is over an image. If an exception is put in for the app and "smooth" is un-checked they scroll just fine (though without smooth scrolling of course). image MOS 3.3.2 macOS 12.2 (21D49) M1 MacBook Air and 14" M1 Max MacBook Pro Razer Basalisk Ultimate (wireless and wired modes) My Magic Mice (v.1 and v.2) work without issue (though MOS doesn't touch them)

I will note that I'm also using SteerMouse (5.6) to handle button mapping for the Razer mouse, but its scroll settings don't seem to influence MOS at all.

artemas-radik commented 2 years ago

Also having this issue.

jianglai commented 2 years ago

Is there an app that handles catalyst apps correctly? The only one that I found working is SmoothScroll it is still intel only.

kcstagepro commented 2 years ago

i dont think its catalyst apps only - unless chrome is a catalyst app - i could make a screen shot if the developer or someone would like

kcstagepro commented 2 years ago

does anyone believe this is the same M1 mac issue that is giving some delay at the start of some scrolls?

kcstagepro commented 2 years ago

https://github.com/Caldis/Mos/issues/333

i bought a 8gb Mac mini about a month ago - was getting a similar lag issue to #333, even though that seems resolved

so i ordered a pair of 16gb mac mini's one for home one for office - same MX vertical mouse - same mac mini same everything but different display

office machine works fine - home has been giving me lag at the start of some scrolls, much like #333

i think this Mos - Fixed Catalyst Scrolling.zip might have fixed it

jianglai commented 2 years ago

I only experienced it in Catalyst apps like Messages and Stocks. The version you posted did fix it for me. Thank you. Can you point to where you found this fixed version?

dch09 commented 2 years ago

I only experienced it in Catalyst apps like Messages and Stocks. The version you posted did fix it for me. Thank you. Can you point to where you found this fixed version?

I'd also appreciate link to fixed source code.

jianglai commented 2 years ago

I noticed that the fixed version is Intel only. It'd be nice to have a aarch64 version. Also is it possible that it is Rosetta itself that fixed the issue in Catalyst apps?

Desousak commented 2 years ago

I only experienced it in Catalyst apps like Messages and Stocks. The version you posted did fix it for me. Thank you. Can you point to where you found this fixed version?

He got the fixed version from my comment here, which also includes the line of code that was changed. More testing is needed to see if this change has any side-effects, but so far I've been using it for a month without issues.

Here's a universal binary build: Mos - Fixed Catalyst Scrolling (Universal).zip (or you can build it yourself with the linked changes)

dch09 commented 2 years ago

I only experienced it in Catalyst apps like Messages and Stocks. The version you posted did fix it for me. Thank you. Can you point to where you found this fixed version?

He got the fixed version from my comment here, which also includes the line of code that was changed. More testing is needed to see if this change has any side-effects, but so far I've been using it for a month without issues.

Here's a universal binary build: Mos - Fixed Catalyst Scrolling (Universal).zip (or you can build it yourself with the linked changes)

That version indeed fixes the issue.

As far as I see there's a new issue with currently active Scroll View. For example, scrolling through messages (iMessage app) requires some delay (about a second) in order to allow scrolling through contacts on the left sidebar. This focus delay can be skipped by clicking on the view, that we want to scroll.

Without clicking or waiting for the scroll action to finish, regardless of the mouse position, scrolling happens on the previously selected scroll view.

Anyway, it is still a big step forward. Thanks!

FranciscoRamosMartins commented 10 months ago

333

i bought a 8gb Mac mini about a month ago - was getting a similar lag issue to #333, even though that seems resolved

so i ordered a pair of 16gb mac mini's one for home one for office - same MX vertical mouse - same mac mini same everything but different display

office machine works fine - home has been giving me lag at the start of some scrolls, much like #333

i think this Mos - Fixed Catalyst Scrolling.zip might have fixed it

kcstage pro you are a lifesaver, my friend. Was about to return this mouse and get a magic mouse only because of the scrolling.

Jeromekem commented 2 weeks ago

I only experienced it in Catalyst apps like Messages and Stocks. The version you posted did fix it for me. Thank you. Can you point to where you found this fixed version?

He got the fixed version from my comment here, which also includes the line of code that was changed. More testing is needed to see if this change has any side-effects, but so far I've been using it for a month without issues.

Here's a universal binary build: Mos - Fixed Catalyst Scrolling (Universal).zip (or you can build it yourself with the linked changes)

Amazing stuff! Works great on Sonoma. Lifesaver