Mute requires two presses after restoring volume when “Enable Mute DDC command” is disabled
評価
調査の方向性
Start with OtherDisplay.stepVolume and toggleMute() in MonitorControl/Model/OtherDisplay.swift, and check how the enableMuteUnmute setting gates the saved mute state. Review open pull request #1937 first, since it already targets this bug. Done means that after a volume-up restores sound, the next mute press mutes, and that this holds with the mute DDC command disabled.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
After muting a monitor and restoring sound with a volume key, the next mute press does nothing audible. A second press mutes successfully.
Repeated mute/unmute presses work normally until volume is adjusted again. I reproduced this with both the MacBook’s built-in keyboard and a Logitech MX Keys S for Mac.
Steps to reproduce
- Select the Dell S2725QC speakers as the macOS sound output.
- In MonitorControl’s display settings, enable hardware DDC and keyboard control, and leave Enable Mute DDC command unchecked.
- Play audio at a moderate volume.
- Press mute. Audio stops.
- Press volume-up. Audio resumes.
- Press mute once. Audio remains audible.
- Press mute again. Audio stops.
Expected behavior
The first mute press in step 6 should silence the speakers.
Anything else?
Enabling Enable Mute DDC command makes mute stop working entirely on this display. Published S2725QC capability data includes volume control (0x62) but omits the separate mute command (0x8D), so enabling that option isn’t a working workaround. Capability data
A possible cause is in OtherDisplay.stepVolume: it calculates the updated mute state, but saves it only when enableMuteUnmute is enabled. Meanwhile, toggleMute() saves and reads that state regardless of the setting. This appears to leave “muted” recorded after a volume adjustment has restored sound, causing the next mute press to perform an unmute.
Could the logical mute state stay synchronized when using the volume-zero fallback? This is a source-level hypothesis; I haven’t tested a patched build.
Possibly related: #1294, with the sequence above providing a specific reproduction.
Environment
- macOS 27.2.1 (26B131)
- MacBook Pro, M4 Pro (Mac16,7)
- MonitorControl 4.4.0, build 7152
- Dell S2725QC, built-in speakers
- Built-in keyboard and Logitech MX Keys S for Mac
- OpenLogi 0.8.14 was running; not yet retested with it quit
AI disclosure: Codex assisted with source inspection and drafting this report. I personally confirmed the reproduction steps above.
- 主要言語
- Swift
- スター
- 34.9k
- フォーク
- 1.1k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MonitorControl/MonitorControl のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
MonitorControl/MonitorControl#1949 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
MonitorControl/MonitorControl#1939 ·
-
Brightness sync never resumes after display/system sleep on Intel Macs (soberNow doesn't restart job)対応中かも @Blizzeq が 67 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
MonitorControl/MonitorControl#1911 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
MonitorControl/MonitorControl#1945 · コメント 4 件 ·
-
難易度 4/5 1週間以上 初心者へのやさしさ 8/100
MonitorControl/MonitorControl#1944 · コメント 1 件 ·
MonitorControl/MonitorControl の issue をすべて見る
似ている issue
-
bug help wanted P2
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NakileSolutions/Steno#397 ·
メンテナーはふだん 1 日以内に返信
-
milestone-3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Harsha0912/recall#71 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
Mcrich23/Container-Compose#197 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
meshtastic/Meshtastic-Apple#3132 ·
メンテナーはふだん 1 日以内に返信
-
approved
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100