Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not disturb mode stops working #413

Closed
fuzzy76 opened this issue Jun 13, 2019 · 14 comments
Closed

Do not disturb mode stops working #413

fuzzy76 opened this issue Jun 13, 2019 · 14 comments
Labels

Comments

@fuzzy76
Copy link

fuzzy76 commented Jun 13, 2019

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.

@hovancik
Copy link
Owner

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

I will try to reproduce.

@hovancik
Copy link
Owner

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

@fuzzy76
Copy link
Author

fuzzy76 commented Jun 14, 2019

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.

@hovancik
Copy link
Owner

Yeah when it happens ;]

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

@hovancik
Copy link
Owner

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

@fuzzy76
Copy link
Author

fuzzy76 commented Jun 18, 2019

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

@hovancik
Copy link
Owner

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

@fuzzy76
Copy link
Author

fuzzy76 commented Jul 16, 2019

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
Copy link
Author

fuzzy76 commented Jul 22, 2019

  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.

@hovancik
Copy link
Owner

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

@fuzzy76
Copy link
Author

fuzzy76 commented Sep 3, 2019

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.

@hovancik
Copy link
Owner

hovancik commented Sep 3, 2019

Just to be sure: manually means without SnoozeBar?

@fuzzy76
Copy link
Author

fuzzy76 commented Sep 3, 2019

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

@hovancik
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants