Closed kazerniel closed 6 months ago
Hi,
this is because you have a rule for appExclusions
active.
You can see in the log:
[2023-04-26 18:00:00.250] [info] Stretchly: pausing breaks for Do Not Distrub
[2023-04-26 19:56:55.289] [info] Stretchly: resuming breaks as no 'pause' exclusion found running
[2023-04-26 20:03:21.859] [info] Stretchly: pausing breaks because of idle time
[2023-04-26 20:51:36.771] [info] Stretchly: resuming breaks as no 'pause' exclusion found running
[2023-04-26 21:21:26.773] [info] Stretchly: showing Mini Break notification
[2023-04-26 21:21:37.132] [info] Stretchly: showing window 1 of 1
From what I see you close the app that you have as appExclusion therefore breaks are resumed
But my PC is set to be in do not disturb mode from 18:00 to the next morning. That's in addition to the apps exclusion. But occasionally Stretchly displays breaks even during that period. (It doesn't happen while the excluded apps are running, only during Windows's own DND/focus assist mode.)
Hi @kazerniel and sorry for late reply. When there are multiple things coexisting (like DND and AppExclusions) there needs to be some sort of precedence, ie: let's say DND says breaks should be ON and AppExclusion says OFF. In this case, AppExclusions win :)
TBH this is hard to code the correct way. Best way is not to combine multiple things that can Pause breaks.
Version
Known issues
Existing issues
Advanced Preferences
What operating system are you using?
Windows
Operating System Version
Win 10 v1809
Reproduction steps
Expected Behavior
To pause Stretchly while Windows' focus assist (DND) mode is on.
Actual Behavior
Occasionally it pops up the break screen even when it's paused. (see in bottom right corner both the Stretchly taskbar icon and the Windows Action Centre icon)![stretchly bug](https://user-images.githubusercontent.com/5689996/234696907-5fffba56-c01c-4584-8a75-d83e996b81ca.jpg)
Relevant log output
Preferences
Additional information
No response
Code of Conduct