Plash Quits on Screen Saver or Sleep or Lock Screen
novyboy opened this issue · comments
Describe the bug
When the computer enters sleep, goes to the lock screen, or goes to the screen saver, Plash quits.
To reproduce
Steps to reproduce the behavior:
- Go to > Lock Screen in top left of the menu bar
- Log back in
- Plash will no longer be open or in the menu bar
OR
- Go to > Sleep in top left of the menu bar
- Wake the computer
- Plash will no longer be open or in the menu bar
OR
- Open Shortcuts
- Go to File > New Shortcut in the menu bar
- Add the
Start screen saver
action - Run the Shortcut
- Wake the computer
- Plash will no longer be open or in the menu bar
Expected behavior
Plash and the website should remain open even after following these steps, and no reloading should occur.
Info
- macOS version: Ventura 13.1
- Plash version: 2.13.0 (49)
Additional context
If Plash's Settings panel is open, Plash will not exit, but the website will reload.
Also interesting to note, these steps will not trigger the issue:
- Open System Settings
- Go to Screen Saver
- Select a screen saver
- Click Preview
- Wake the computer
- Plash will still be open and in the menu bar
@sindresorhus Thanks so much for your quick work! The quitting bug is completely fixed!
Unfortunately, the website still has to reload when you log back in or wake your computer up, which isn't the worst, but I thought you should know anyways in case you can think of any way to fix that
Unfortunately, the website still has to reload when you log back in or wake your computer up, which isn't the worst, but I thought you should know anyways in case you can think of any way to fix that
That's an intentional feature. There are many things that can have changed during sleep: screens, times, time zones, etc. Reloading the website ensures it's correct.