Code Monkey home page Code Monkey logo

Comments (14)

Merrit avatar Merrit commented on August 19, 2024 2

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.

Merrit avatar Merrit commented on August 19, 2024 1

@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.

ceedveed avatar ceedveed commented on August 19, 2024

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.

Merrit avatar Merrit commented on August 19, 2024

When this happens, if you restart Nyrna does resuming the app work properly?

from nyrna.

Merrit avatar Merrit commented on August 19, 2024

When this happens, if you restart Nyrna does resuming the app work properly?

from nyrna.

mrrfv avatar mrrfv commented on August 19, 2024

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.

Merrit avatar Merrit commented on August 19, 2024

@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.

mrrfv avatar mrrfv commented on August 19, 2024

@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.

Merrit avatar Merrit commented on August 19, 2024

@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.

mrrfv avatar mrrfv commented on August 19, 2024

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...

image


After restarting Nyrna, it correctly resumes all the apps, so I suppose the issue is somewhere in auto refresh.

from nyrna.

mrrfv avatar mrrfv commented on August 19, 2024

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).

image
image
image

from nyrna.

Merrit avatar Merrit commented on August 19, 2024

Wow, that's something.

Are you able to trigger the issue in any way besides suspending your computer?

from nyrna.

mrrfv avatar mrrfv commented on August 19, 2024

Not sure to be honest.

from nyrna.

Merrit avatar Merrit commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.