Open whispy opened 1 year ago
Hi and thanks for the report. The issue seems to be with showing time in tray, you can disable that until I find where exactly the issue happens
Also, when this happens next time, can you try opening Preferences - About - Cmd+D and copy the contents that gets shown? I am not able to figure out where the issue lies and it does not happen to me.
Unfortunately, when this happens, the Preferences
option becomes greyed out. See this screenshot:
@hovancik any other troubleshooting steps I can take?
@whispy sorry I am quite busy these days. I've tried reproducing but no success.
You could try running locally and debug yourself.
The issue is that the time that is supposed to be shown in tray as icon (timeToBreakInTrayString
) is for some reason getting under 0, which it should not. Looks like there is some specific case when this happen but I can't replicate that. Must be related to idle time and when your system goes to sleep, I think. (from your logs)
What icon should get used is in file app/utils/appIcon.js
and is called in main as trayIconFileName ()
Stretchly is quite complicated so hard to say where the issue starts. You could try adding some logs to see when this happens, probably values around trayIconFileName ()
. Time should never be negative
@whispy did you had time to debug? Is this still happening with latest Stretchly?
I don't know how to debug, unfortunately. And I am not sure if it is happening with the latest Stretchly — I have not tested it in a while
@hovancik I just checked and can confirm the crash still occurs.
Version
Known issues
Existing issues
Advanced Preferences
What operating system are you using?
macOS
Operating System Version
Ventura 13.3
Reproduction steps
pauseForSuspendOrLock
=false
Expected Behavior
Stretchly will not crash when unlocking/awakening device
Actual Behavior
Stretchly crashes when unlocking/awakening device. I then have to manually start Stretchly.
Relevant log output
Preferences
Additional information
No response
Code of Conduct