hovancik/stretchly

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

Open

Aperta il 21 gen 2025

Vedi su GitHub
 (15 commenti) (2 reazioni) (0 assegnatari)JavaScript (3892 star) (410 fork)batch import
bughelp wanted

Descrizione

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

Guida contributor