ruanimal
V2EX  ›  macOS

macOS 部分应用窗口的标题栏,有条线在闪烁,忽黑忽白

  •  
  •   ruanimal · Apr 27, 2025 · 2009 views
    This topic created in 379 days ago, the information mentioned may be changed or developed.

    rt, 箭头所指的那条线,忽黑忽白。截图和录屏的时候,一直是黑的,只有录像能看出来。

    只有部分应用是这个情况,目前发现 scrcpy 和 sublime 是这样的,有啥解决方案?

    m3 macbook air, 系统 14.7.4 (23H420)

    7e6c92d123222a2e5dce5d542e4e516b.jpeg

    7 replies    2025-05-04 12:27:12 +08:00
    ruanimal
        1
    ruanimal  
    OP
       Apr 27, 2025
    ericguo
        2
    ericguo  
       Apr 27, 2025
    Sublime Text 的话,Setting 加 "ui_native_titlebar": true ?我无法复现。
    ruanimal
        3
    ruanimal  
    OP
       Apr 27, 2025
    @ericguo 没有用,应该是和这个参数无关。
    大概率系统的问题,感觉现在的 macOS 越来越粗糙了
    netdcy
        4
    netdcy  
       Apr 28, 2025
    是系统的问题,我在开发 macOS 软件的时候也发现了,window.titlebarAppearsTransparent 默认为 false ,标题栏有阴影,此时下方如果有复杂内容比如视频等,会有一条白线,截图的时候看不到。但是设为 true 没有阴影会不好看。
    ruanimal
        5
    ruanimal  
    OP
       Apr 28, 2025
    @netdcy 那咋办。。。
    ericguo
        6
    ericguo  
       May 2, 2025
    换黑色主题?我真的无法复现。
    ruanimal
        7
    ruanimal  
    OP
       May 4, 2025
    @ericguo 另一台 m1 的电脑,同版本系统也是没有复现
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   984 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 66ms · UTC 20:15 · PVG 04:15 · LAX 13:15 · JFK 16:15
    ♥ Do have faith in what you're doing.