stretchly icon indicating copy to clipboard operation
stretchly copied to clipboard

Do not disturb mode stops working

Open fuzzy76 opened this issue 6 years ago • 13 comments

After using my Mac for a while in Do Not Disturb mode (like in a long meeting) with occasionally the display going to sleep, go in and out of fullscreen apps, etc - Stretchly starts showing even when DnD mode is still on. The menubar menu says "On Do Not Disturb mode", but the breaks still appears. I am not 100% sure what triggers this, but it happens fairly often.

fuzzy76 avatar Jun 13 '19 07:06 fuzzy76

Ah well, I was afraid this would come one day 😃 It's rather complex thing....

I will try to reproduce.

hovancik avatar Jun 13 '19 13:06 hovancik

One more thing: could you try to go to About, hit Cmd/Ctrl+D and paste here? Also, do you have any specific settings?

hovancik avatar Jun 13 '19 13:06 hovancik

Oh man. That text was not possible to copy on Mac. :-/

breakPlanner: {reference: startMicrobreakNotification, timeleft: 3 minutes left, breakNumber: 2, postponesNumber: 0, Do Not Disturb: false}
settingsFile: /Users/hpe001/Librar/Application Support/stretchly/config.json
Node.js: 8.9.3, Chromium: 61.0.3163.100, Electron: 2.0.17

I don't remember what I changed in the settings. I have 20 sec microbreaks every 10 miuntes, 3 minutes break every 5 microbreaks. Both can be postponed and skipped. On the misc page everything is on except silent notifications and monochrome tray icon.

Just realized you might want the about-debug-text from when it's misbehaving, which it wasn't now. I can repost next time it does.

fuzzy76 avatar Jun 14 '19 13:06 fuzzy76

Yeah when it happens ;]

It's copy-able from linux but I'll check on mac when I am there

hovancik avatar Jun 14 '19 13:06 hovancik

Ah, it's selectable but not copyable. Rather weird, I'll have to investigate.

hovancik avatar Jun 14 '19 13:06 hovancik

Got it.

breakPlanner: {reference: startMicrobreakNotification, timeleft: 10 minutes left, breakNumber: 3, postponesNumber: 0, Do Not Disturb: true}
settingsFile: /Users/hpe001/Librar/Application Support/stretchly/config.json
Node.js: 8.9.3, Chromium: 61.0.3163.100, Electron: 2.0.17

fuzzy76 avatar Jun 18 '19 07:06 fuzzy76

@fuzzy76 is it still happening with new version? It has newer electron, v5. I was not able to replicate so far.

hovancik avatar Jul 15 '19 18:07 hovancik

Just got back from vacation and got the update. Not many meetings happening mid-summer. I'll report back if I see something. Adding a reminder for myself, so I don't forget. :)

fuzzy76 avatar Jul 16 '19 06:07 fuzzy76

  1. Stretchly triggers. I'm in a meeting.
  2. I choose to postpone by clicking the bottom of the screen immediately.
  3. I enable DnD using SnoozeBar (which should not make a difference theoretically, but it does).
  4. Info (Do Not Disturb is on at this point):
          breakPlanner: {reference: startMicrobreakNotification,
          timeleft: 10 minutes left,
          breakNumber: 1,
          postponesNumber: 0,
          Do Not Disturb: false}
          
          settingsFile: /Users/hpe001/Library/Application Support/stretchly/config.json
          Node.js: 12.0.0
          Chromium: 73.0.3683.121,
          Electron: 5.0.6
  1. Stretchly triggers while DnD is on.

I tried reproduce with manually switching DnD, but could not on first try. Will try again.

fuzzy76 avatar Jul 22 '19 09:07 fuzzy76

Yeah you're right, with that app the dnd is not detected. I created issue here: https://github.com/banderson623/SnoozeBar/issues/2

hovancik avatar Jul 22 '19 10:07 hovancik

I did get a break now:

          breakPlanner: {reference: startMicrobreakNotification,
          timeleft: 2 minutes left,
          breakNumber: 1,
          postponesNumber: 1,
          Do Not Disturb: true}
          
          settingsFile: /Users/hpe001/Library/Application Support/stretchly/config.json
          Node.js: 12.0.0
          Chromium: 73.0.3683.121,
          Electron: 5.0.6

I am at a conference. DnD is set manually on. The Mac has been in and out of hibernation a couple of times since I enabled DnD.

fuzzy76 avatar Sep 03 '19 11:09 fuzzy76

Just to be sure: manually means without SnoozeBar?

hovancik avatar Sep 03 '19 11:09 hovancik

Yes. And it just triggered again. Debug info still shows that dnd is detected.

fuzzy76 avatar Sep 03 '19 11:09 fuzzy76

Looks like SnoozeBar is not maintained anymore and there are new versions of macOS with different way for DND, so I am closing this.

hovancik avatar Dec 23 '22 14:12 hovancik