XITRIX / Moonlight-Switch

Moonlight port for Nintendo Switch
770 stars 47 forks source link

When using the NSP Forwarder for a specified application, exiting the application does not close the corresponding application on the Host machine. #165

Open Msv777 opened 4 weeks ago

Msv777 commented 4 weeks ago

Below are specific errors related to the Moonlight application wrapped with NSP Forwarder.

Using the +/- buttons to bring up the menu and select "Close Application" does not exit the application on the Host machine.

If you force close the Moonlight application in NSP Forwarder mode using the switch menu, Sunshine also does not respond to the close command.

If it cannot respond to the close command when forced, at the very least, using the +/- buttons should properly exit the application on the Host machine. I believe this is an error.

thank you for your effort.

XITRIX commented 4 weeks ago

“Close application” should not close Sunshine session, the only way to close Sunshine session is to choose “Terminate” option under “Close app” button

NSP forwarder is just a shortcut for the app and behaves the same. Only difference is missing of main app’s menu on start and close of the session

Msv777 commented 3 weeks ago

2024060414322400 I apologize for not expressing my thoughts clearly. Indeed, directly closing the Application should not close the Sunshine session. My use of "Close Application" was incorrect due to translation software; I was actually referring to the "Terminate app" option shown in the image above. When selecting "Terminate app" in the normal version of Moonlight, it correctly executes the quit Sunshine app option (on the PC) and performs the undo command in the Sunshine app. However, if you select "Terminate app" in the NSP forwarder, the application will exit directly, but the Sunshine app will not exit properly and execute the undo command.

Additionally, after waking from sleep mode, the controller may switch from PS4 to Xbox 360. I'm not sure if this is a separate issue. I will conduct further tests and provide more feedback.

Thank you again for your response

XITRIX commented 3 weeks ago

Ah, ok, got it, now it looks like an issue :D

Also I have some idea about controller mode, it's a separate issue for sure.

Thanks for your feedback, I'll try to check what's going wrong there