Mute requires two presses after restoring volume when “Enable Mute DDC command” is disabled

オープン
#1,935 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@proever がすでに取り組んでいます。

2026年11月13日 から。

  • #1 @proever による — オープン
  • #1937 @proever による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
swift
領域
desktop

調査の方向性

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
  1. Select the Dell S2725QC speakers as the macOS sound output.
  2. In MonitorControl’s display settings, enable hardware DDC and keyboard control, and leave Enable Mute DDC command unchecked.
  3. Play audio at a moderate volume.
  4. Press mute. Audio stops.
  5. Press volume-up. Audio resumes.
  6. Press mute once. Audio remains audible.
  7. 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MonitorControl/MonitorControl のほかの issue

MonitorControl/MonitorControl の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。