hovancik/stretchly

[Bug]: [macOS] Do not disturb triggered when focus icon in menu bar

Open

#1,549 opened on 2025年1月21日

GitHub で見る
 (15 comments) (2 reactions) (0 assignees)JavaScript (3,892 stars) (410 forks)batch import
bughelp wanted

説明

Version

  • I'm using version 1.17.2

Known issues

  • I've checked Known issues

Existing issues

  • I've checked Existing issues

Advanced Preferences

  • I've checked Advanced Preferences

What operating system are you using?

macOS

Operating System Version

Ventura 13.6.7

Reproduction steps

  1. Set focus to "Always Show in Menu Bar" within control center

... Reproduces how often: [What percentage of the time does it reproduce?]: 100%

Expected Behavior

Stretchly should check which focus is set and only pause when dnd is set

Actual Behavior

Stretchly stays paused as long as the focus icon is visible in the menu bar as NSStatusItem Visible FocusModes returns true in this case.

Relevant log output

Preferences

Additional information

From what I can see, a recent changes was deployed where it now uses NSStatusItem Visible FocusModes to check DND mode. From what I understand, this returns true if the focus icon is shown in the menu bar. Also, the focus icon can be shown in the menu bar even when no focus mode is set.

A workaround is to check "show breaks even in Do Not Disturb" mode within preferences.

Code of Conduct

  • I agree to follow this project's Code of Conduct

コントリビューターガイド