Mute requires two presses after restoring volume when “Enable Mute DDC command” is disabled
@proever đang làm issue này rồi.
Từ ngày 13/11/2026.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Swift
- Star
- 34.9k
- Fork
- 1.1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MonitorControl/MonitorControl
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
MonitorControl/MonitorControl#1949 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
MonitorControl/MonitorControl#1939 ·
-
Brightness sync never resumes after display/system sleep on Intel Macs (soberNow doesn't restart job)Có thể đã có người làm @Blizzeq đã nhận 67 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
MonitorControl/MonitorControl#1911 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
MonitorControl/MonitorControl#1945 · 4 bình luận ·
-
Độ khó 4/5 Hơn một tuần Mức phù hợp với người mới 8/100
MonitorControl/MonitorControl#1944 · 1 bình luận ·
Tất cả issue của MonitorControl/MonitorControl
Issue tương tự
-
milestone-3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Harsha0912/recall#71 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Unknown option '--format'Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Mcrich23/Container-Compose#197 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
meshtastic/Meshtastic-Apple#3132 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
approved
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100