Comments (14)
Hi, thanks for the issue!
I'll see if I can investigate this when I get a little time. If you are comfortable sharing, knowing what you were trying to suspend might help as well.
from nyrna.
@mrrfv Thanks for the info, I think I can now reproduce this issue. I will see if I can do some debugging on it :)
from nyrna.
Hi, thanks for the issue!
I'll see if I can investigate this when I get a little time. If you are comfortable sharing, knowing what you were trying to suspend might help as well.
The app is a game, Phoenix Point
from nyrna.
When this happens, if you restart Nyrna does resuming the app work properly?
from nyrna.
When this happens, if you restart Nyrna does resuming the app work properly?
from nyrna.
Please re-open this issue @Merrit - I have the exact same issue on Windows 10. It seems to happen after suspending the system (i.e. closing the lid) and when the app hasn't been resumed for a few hours.
I just force-closed the game that didn't want to resume (and lost all my progress), but I'll make sure to make screenshots and try to restart Nyrna if it happens again.
from nyrna.
@mrrfv Yes, restarting Nyrna would be good. If that fails then also please try running Nyrna as admin and see if that has any effect.
I'll look into the possibility of adding additional logging for the issue. 👍
from nyrna.
@Merrit Managed to reproduce this issue on Windows for 3 apps (Paint, Minecraft launcher, Minecraft). It's as simple as suspending an app and closing the laptop lid (putting it to sleep). Upon opening the lid, Windows will say the app is 'not responding' and Nyrna won't be able to resume it. If Nyrna is restarted, it thinks that the suspended app is resumed.
from nyrna.
@ceedveed @mrrfv I think I may have resolved the issue, would you be willing to test the new build?
Nyrna-Windows-Installer.zip
Nyrna-Windows-Portable.zip
from nyrna.
I suspended 3 apps (Discord, Brave mid-sleep, Spotify) on the new Portable build, closed and opened my laptop's lid and Nyrna went crazy - Brave was correctly reported as suspended, but other apps weren't. When I tried to resume Spotify, Nyrna crashed. I don't know what happened there...
After restarting Nyrna, it correctly resumes all the apps, so I suppose the issue is somewhere in auto refresh.
from nyrna.
I tried to resume 2 apps at once and it showed a lot of PowerShell errors (which I think is related to Nyrna, as it uses that under the hood).
from nyrna.
Wow, that's something.
Are you able to trigger the issue in any way besides suspending your computer?
from nyrna.
Not sure to be honest.
from nyrna.
I presume that Nyrna being suspended itself when you suspend the computer causes its refresh timer to break.
This kind of issue is definitely why we have a disclaimer that funny things can happen when suspending a process.. I don't think there is really a way to check for and recover from such an issue. I'd suggest if you are suspending the entire computer to either switch Nyrna to manual refresh, or to close it before suspending the computer.
I have definitely cleaned up the code where we update the status of a process, and it is much more reliable now and that specific bug appears to be resolved. Thanks for all the help with troubleshooting and figuring out this issue! 🎉
from nyrna.
Related Issues (20)
- [BUG] Wrong language in setting menu. HOT 4
- v2.16.0 and v2.16.1 slow while suspending tasks and startup problem HOT 4
- Controller support HOT 4
- Silent startup HOT 4
- Exclude Nyrna from suspension HOT 3
- [Feature request] Assign button combinations as hotkey HOT 2
- Doesn't really work HOT 1
- Tray icon buttons not working (win11) HOT 7
- Red dead redemption 2 error to suspend HOT 8
- Suspending native Linux games breaks system audio
- Can't launch Nyrna with latest Nobara update HOT 7
- Flatpak can get stuck when toggling "Start automatically at system boot" HOT 3
- Font is weirdly wide HOT 1
- Missing source and issues links on the flathub store HOT 1
- [Feature Request] [Windows] Suspend child processes HOT 8
- [Feature Request] Different Hotkeys for Suspend and Resume HOT 4
- [Feature Request] Some way to sort/filter suspended and active processes HOT 6
- Freezing game without using the hotkey HOT 3
- [Feature Request] Commandline API HOT 6
- [Feature request] Button to add to favorites? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nyrna.