Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn off screensaver if connected to a server (LXQt) #834

Open
ann0see opened this issue Jan 13, 2021 · 7 comments
Open

Turn off screensaver if connected to a server (LXQt) #834

ann0see opened this issue Jan 13, 2021 · 7 comments
Labels
feature request Feature request Linux Linux runtime issue

Comments

@ann0see
Copy link
Member

ann0see commented Jan 13, 2021

Status: done for macOS, Linux is missing

If you run Jamulus on Debian 10 under LXQt the screensaver automatically starts if Jamulus is connected to a server. Same problem on macOS (probably BigSur). It should be possible to inform the system that the application is active see the windows docs on this: https://docs.microsoft.com/de-de/windows/win32/api/winbase/nf-winbase-setthreadexecutionstate?redirectedfrom=MSDN

It probably depends on the OS how to manage this.

#260

@ann0see ann0see changed the title Turn of screensaver if connected to a server (macOS and LXQt) Turn off screensaver if connected to a server (macOS and LXQt) Jan 13, 2021
@chrisrimple
Copy link

I've experienced a similar issue on MacOS: the screen can go dark (power saver) while Jamulus is running.

Apple > System Preferences > Desktop & Screen Saver > Screen Saver > After After n Minutes

  • MacOS isn't detecting "activity" for Jamulus, so screensaver is turned on after n minutes

Apple > System Preferences > Energy Saver > Power Adapter > Turn Display Off After n Minutes

  • MacOS isn't detecting "activity" for Jamulus, so screen is turned off after n minutes

@ghost
Copy link

ghost commented Jan 13, 2021

Does activating the screen saver actually interrupt the audio in Jamulus? I think that if Jamulus can prevent the screen saver from activating, it should be an option that only affects that instance of Jamulus... The Reason is: Suppose the screen saver option is automatically activated by Jamulus, because it was saved, then you decide to decide to run 'only the Jamulus server. But the server grabs the 'deactivate screen saver setting' leaving you wondering why the screen saver stopped working.

@ann0see
Copy link
Member Author

ann0see commented Jan 13, 2021

I think that the screensaver is already not active if you run the server (#260). I haven't tested this yet.

@ghost
Copy link

ghost commented Jan 13, 2021

Maybe this screen saver issue needs to thoroughly investigated. Especially if Jamulus needs to have the screen saver disabled for performance reasons. I'm starting to think that Jamulus should leave the screen saver alone... Some other application should deal with it.

@ann0see
Copy link
Member Author

ann0see commented Jan 13, 2021

I think it might depend on which state Jamulus is in. So if you're connected to a server the screensaver should not start. But if you're not connected it should still be enabled.

@chrisrimple
Copy link

From my own experience on MacOS, the Energy Saver setting is in effect when the Jamulus client is running. On multiple occasions, I have been playing with other musicians on a Jamulus server and had my screen go dark. A click or keypress awakes it, but also requires a login (depends on security settings). If the client is running, it would be nice if it reported to the OS that it's "busy".

@ann0see ann0see added the UXBug label Feb 8, 2021
@ann0see ann0see added the feature request Feature request label Apr 22, 2022
@ann0see ann0see changed the title Turn off screensaver if connected to a server (macOS and LXQt) Turn off screensaver if connected to a server (LXQt) Apr 22, 2022
@ann0see ann0see added this to Tracking Jul 1, 2023
@github-project-automation github-project-automation bot moved this to Triage in Tracking Jul 1, 2023
@pljones
Copy link
Collaborator

pljones commented Aug 12, 2023

Android
https://stackoverflow.com/questions/44100627/how-to-disable-screensaver-on-qt-android-app

Desktop
https://forum.qt.io/topic/119513/screensaver/3

iOS - not found anything yet...

@pljones pljones added the Linux Linux runtime issue label Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request Linux Linux runtime issue
Projects
Status: Triage
Development

No branches or pull requests

5 participants