预览打开的图片,触摸板二指缩放是不是失灵。 M2 激活后直接升级的,应该不存在旧系统数据 /app 影响
1
Cat7373 2023-01-28 09:21:14 +08:00
这是陈年老 bug 了,好多年了,解决方案很简单,到设置里关掉双指缩放,然后再打开,就是过一段时间还会失效
|
2
Cat7373 2023-01-28 09:23:09 +08:00 2
使用快捷指令执行以下代码,可以自动修复(其实就是帮你做上面这堆操作,你只需要点一下):
```sh #!/bin/bash osascript <<EOD use AppleScript version "2.8" use framework "Foundation" tell application "System Settings" if it is running then quit delay 0.6 end if end tell current application's NSWorkspace's sharedWorkspace()'s openURL:(current application's NSURL's URLWithString:"x-apple.systempreferences:com.apple.preference.trackpad") tell application "System Settings" activate delay 0.8 end tell tell application "System Events" tell tab group 1 of group 1 of group 2 of splitter group 1 of group 1 of window of application process "System Settings" click radio button 2 delay 0.6 end tell tell group 1 of scroll area 1 of group of group 2 of splitter group 1 of group 1 of window of application process "System Settings" click checkbox "Zoom in or out" delay 0.5 click checkbox "Zoom in or out" delay 0.1 end tell end tell quit application "System Settings" EOD ``` |
3
Cat7373 2023-01-28 09:25:02 +08:00 1
hmmm 似乎 v2 把缩进搞没了,用这个吧: https://gist.github.com/Cat7373/5f2997d1a7278e480d2b7d12b969545b
|
4
haroldji 2023-01-28 09:27:57 +08:00
Monterey 下触摸板二指缩放也有时失灵,盒盖睡眠再打开下,或者直接按下电源键再解锁,就恢复了
|
5
KevinDo2 2023-01-28 10:20:23 +08:00
我去 怪不得
|
6
WonderUniverse 2023-01-28 11:44:01 +08:00
早就有了
|
7
GabrielleBellamy 2023-01-28 17:19:56 +08:00
|
8
Cat7373 2023-01-29 09:41:11 +08:00 1
@GabrielleBellamy #7 我这里测试下来,kill Dock 和 kill Finder 几乎从来都不会解决问题,所以脚本上干脆省略了这部分
|
9
ihwbunny 2023-02-01 13:25:00 +08:00
我的 2012 的黑 Ventura 13.2 双指都没遇到缩放问题的
|