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

Config: Expose "DisableScreenSaver" in the UI and default it to true. #8613

Merged
merged 3 commits into from Oct 19, 2020

Conversation

jordan-woyak
Copy link
Member

@jordan-woyak jordan-woyak commented Feb 8, 2020

"Inhibit Screensaver During Emulation"
image

Copy link
Contributor

@iwubcode iwubcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM. Untested. Unsure about text in UI.

@Tilka
Copy link
Member

Tilka commented Feb 9, 2020

The "while running" makes it sound like the screensaver is only inhibited while a game is running. This is actually the case.

@MayImilae
Copy link
Contributor

I assume this also inhibits power saving modes such as turning off the display and sleep?

Also, does this only apply while a game is running, or always if Dolphin is running?

@Tilka
Copy link
Member

Tilka commented Feb 9, 2020

I assume this also inhibits power saving modes such as turning off the display and sleep?

Depends on the platform.

Also, does this only apply while a game is running, or always if Dolphin is running?

Only while a game is running. Need to clarify the wording imo.

@mbc07
Copy link
Contributor

mbc07 commented Feb 9, 2020

An issue that I often have on Windows 10 is that while Dolphin prevents the screen from turning off and the computer from entering sleep mode when this option is enabled, if you're playing exclusively with controllers, the Windows 10 Lock Screen will still come up after sometime, and when that happens it generally also makes Dolphin exit fullscreen mode.

Does this PR do anything to improve on that (e.g. preventing also the lock screen) or it just exposes the existing option with the existing behavior in the GUI?

@jordan-woyak
Copy link
Member Author

@mbc07 This just exposes the existing option.

@8times9
Copy link
Contributor

8times9 commented Feb 10, 2020

What about a more commonly-used verb like "Prevent Screen Saver While Running"?

@@ -151,11 +152,13 @@ void InterfacePane::CreateUI()
m_checkbox_use_covers =
new QCheckBox(tr("Download Game Covers from GameTDB.com for Use in Grid Mode"));
m_checkbox_show_debugging_ui = new QCheckBox(tr("Show Debugging UI"));
m_checkbox_disable_screensaver = new QCheckBox(tr("Inhibit Screensaver While Running"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be more explicit about when power savings will be inhibited. So, I'd prefer "Inhibit Screensaver While a Game is Running". Admittedly pausing isn't "running" and it still inhibits it, but you said in IRC that you'll be fixing that, so that's fine, imo.

Also I don't really like "screensaver" since, who uses screensavers these days? But since going into standby is already inhibited and this is not related, saying "inhibits power saving" doesn't work, and screensaver is a known hack for referencing the display turning itself off, so, eeehhh.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps "Inhibit sleep mode during emulation"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do like "During Emulation" better than "While a Game is Running".

@leoetlino
Copy link
Member

What's the status of this PR?

@jordan-woyak
Copy link
Member Author

Does everyone like May's suggested: "Inhibit Screensaver While a Game is Running"?

@leoetlino
Copy link
Member

Personally I'm fine with it -- the only change to the wording that needed to be done is to clarify that the option only applies while a game is running.

@leoetlino
Copy link
Member

Ping ^^

@gingerbeardman
Copy link

Just had to Google for what to edit in the .ini so this option is much needed. Thanks

Copy link

@gingerbeardman gingerbeardman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@gingerbeardman gingerbeardman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JosJuice
Copy link
Member

If you change the setting while a game is running, does the change apply without having to restart?

@gingerbeardman
Copy link

@JosJuice did you try it? If so what did you see?

@jordan-woyak
Copy link
Member Author

jordan-woyak commented Jul 26, 2020

@JosJuice You'd have to at least pause/unpause to see the setting take effect. I suppose ideally that would not be the case. :P
The setting now takes effect immediately.

@leoetlino leoetlino merged commit 8a8dc3d into dolphin-emu:master Oct 19, 2020
10 checks passed
@jordan-woyak jordan-woyak deleted the expose-disable-ss branch October 20, 2020 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
10 participants