V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
lEONiNv2
V2EX  ›  macOS

macOS13.2 新 bug 发现

  •  2
     
  •   lEONiNv2 · 2023-01-28 09:18:15 +08:00 · 2296 次点击
    这是一个创建于 444 天前的主题,其中的信息可能已经有所发展或是发生改变。

    预览打开的图片,触摸板二指缩放是不是失灵。 M2 激活后直接升级的,应该不存在旧系统数据 /app 影响

    9 条回复    2023-02-01 13:25:00 +08:00
    Cat7373
        1
    Cat7373  
       2023-01-28 09:21:14 +08:00
    这是陈年老 bug 了,好多年了,解决方案很简单,到设置里关掉双指缩放,然后再打开,就是过一段时间还会失效
    Cat7373
        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
    ```
    Cat7373
        3
    Cat7373  
       2023-01-28 09:25:02 +08:00   ❤️ 1
    hmmm 似乎 v2 把缩进搞没了,用这个吧: https://gist.github.com/Cat7373/5f2997d1a7278e480d2b7d12b969545b
    haroldji
        4
    haroldji  
       2023-01-28 09:27:57 +08:00
    Monterey 下触摸板二指缩放也有时失灵,盒盖睡眠再打开下,或者直接按下电源键再解锁,就恢复了
    KevinDo2
        5
    KevinDo2  
       2023-01-28 10:20:23 +08:00
    我去 怪不得
    WonderUniverse
        6
    WonderUniverse  
       2023-01-28 11:44:01 +08:00
    早就有了
    GabrielleBellamy
        7
    GabrielleBellamy  
       2023-01-28 17:19:56 +08:00
    推荐一下这个: https://github.com/danqing/Pinch
    之前大佬做了一个软件修复这个 bug 。
    (目前只在 13 上)
    Cat7373
        8
    Cat7373  
       2023-01-29 09:41:11 +08:00   ❤️ 1
    @GabrielleBellamy #7 我这里测试下来,kill Dock 和 kill Finder 几乎从来都不会解决问题,所以脚本上干脆省略了这部分
    ihwbunny
        9
    ihwbunny  
       2023-02-01 13:25:00 +08:00
    我的 2012 的黑 Ventura 13.2 双指都没遇到缩放问题的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1314 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 23:30 · PVG 07:30 · LAX 16:30 · JFK 19:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.