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

Screen Power Saving when running as a Screensaver #794

Closed
alexharrington opened this issue May 26, 2016 · 2 comments
Closed

Screen Power Saving when running as a Screensaver #794

alexharrington opened this issue May 26, 2016 · 2 comments
Assignees
Labels
enhancement An improvement to an existing feature player
Milestone

Comments

@alexharrington
Copy link
Member

When running as a screensaver, Xibo seems to prevent Windows Power Management from putting the screen to sleep after the configured time.

This is the desired operation when running as a standalone application, but when running as a screensaver perhaps should be configurable?

Originally reported here:
https://community.xibo.org.uk/t/windows-screensaver-and-monitor-sleep/6103

@alexharrington alexharrington added enhancement An improvement to an existing feature player labels May 26, 2016
@alexharrington alexharrington added this to the 1.7.8 milestone May 26, 2016
@dasgarner
Copy link
Member

No sure how to influence this - perhaps via SetThreadExecutionState

@alexharrington
Copy link
Member Author

Yes. We currently set those to prevent the display sleeping. I can see a scenario where you'd want the screensaver to keep the screen alive (ie if being used as a screensaver on a kiosk) and where you'd want it to go off per the OP's request. So I think ideally that wants to be somehow configurable.

@dasgarner dasgarner self-assigned this Jun 1, 2016
dasgarner added a commit to dasgarner/xibo-cms that referenced this issue Jun 2, 2016
dasgarner added a commit to dasgarner/xibo-cms that referenced this issue Jun 2, 2016
dasgarner added a commit to dasgarner/xibo-dotnetclient that referenced this issue Jun 2, 2016
dasgarner added a commit to xibosignage/xibo-cms that referenced this issue Jun 6, 2016
* Disable image resizing
xibosignage/xibo#778

* New setting for preventing sleep
xibosignage/xibo#794

* Improve recurring schedule error message
xibosignage/xibo#774

* Expire the cache when adding/removing a display from a display group
xibosignage/xibo#783

* Catch and check binlog error in sessions and report said error on Fault page
xibosignage/xibo#787

* Update vagrant file for docker.
Fix installation for non localhost mysql
xibosignage/xibo#770

* Bump versions.
dasgarner added a commit to xibosignage/xibo-dotnetclient that referenced this issue Jun 6, 2016
* Bump SCR

* Changes to exception handling and topmost setting.

* Misc tweaks around logging and unhandled exceptions:
 - Create larger log files when in audit mode
 - Send more log files each collection by default
 - Unset and reset TopMost when the client information window is shown
 - Attempt to restart on unhandled exception

* Implement Watchdog start
xibosignage/xibo#789
Also Standardise icons across forms.

* Safer copy/write/move on use app settings

* Build step for SCR. Watchdog quote args.

* Disable windows error reporting on start.

* Fix for mac address formatting
xibosignage/xibo#785

* Fix a race condition between the library and log agents.

* Fix watchdog/player start race condition that triggered activity check

* Better error messages for file locks and recovery for a lock event during layout load
xibosignage/xibo#796

* Fix for using pattern around File.Open
xibosignage/xibo#796

* Setting to prevent sleep
Bump versions.
xibosignage/xibo#794

* Fix issue with watchdog starting during screensaver (prevented sleeping).
dasgarner added a commit to xibosignage/xibo-cms that referenced this issue Jun 8, 2016
* Fix single quotes sanitization
xibosignage/xibo#712

* New setting for preventing sleep
xibosignage/xibo#794

* Fix upgrade for media.released/apiRef
xibosignage/xibo#799

* Make sure library exists before installing fonts.
xibosignage/xibo#797

* Expire the cache when adding/removing a display from a displaygroup.
xibosignage/xibo#783

* Fix for settings not being saved when elevate log level is empty

* Catch and check binlog error in sessions and report said error on Fault page
xibosignage/xibo#787

* Fix misc issues with upgrade from 1.7.8 to 1.8.0-beta.
yashodhank added a commit to yashodhank/xibo-dotnetclient that referenced this issue Dec 22, 2016
* Add logging for disabled library agent.

* Fix for mac address exception.

* Library Agent expiring files ahead of time (comparing on wrong attribute - Path instead of saveAs).
xibosignage/xibo#685

* Fix for downloading files > 2GB.
xibosignage/xibo#643

* DocumentCompleted needs a latch so that the Media Timer is only reset once.
xibosignage/xibo#635

* Bump Version, Release 1.7.6

* Bumped version

* Prevent config file updates with each register XMDS call.
xibosignage/xibo#736

* Prevent config file updates with each register XMDS call.
xibosignage/xibo#736

* Protect against DurationElapsedEvent being null (because the media object has been destroyed)
xibosignage/xibo#738

* implement http downloads for layouts. bump version
xibosignage/xibo#713

* Further fixes for .xlf on the path for http layout downloads
xibosignage/xibo#713

* Race condition when there are 0 valid layouts
xibosignage/xibo#744

* Race condition when there are 0 valid layouts
xibosignage/xibo#744

* Change layout action implementation.

* Tone down the logging for network errors - no point recording network errors and then trying to send them when there is no network.
xibosignage/xibo#748

* Tone down schedule manager logging. No need to Error log with each invalid layout.

* Lazy Loading of GetResource (for IE media)
xibosignage/xibo#759

* Bump SCR

* Remove CEF

* First pass implementation of Audio module.

* First pass implementation of Audio module.

* Overlays broadly working - may need refactoring before test.

* Parse event priorities as an int.

* Add overlay action. Audio on overlays stops early for some reason, needs investigation.

* Include an embedded server to provide PDF resources. Switched all resource rendering to it. Built against framework 4.5
(end of XP support)

* Switch to port number only for local web server config

* Changes to exception handling and topmost setting.

* Fix for struct/class on region options and correct unhandled exception method.

* Misc tweaks around logging and unhandled exceptions:
 - Create larger log files when in audit mode
 - Send more log files each collection by default
 - Unset and reset TopMost when the client information window is shown
 - Attempt to restart on unhandled exception

* Implement Watchdog start
xibosignage/xibo#789
Also Standardise icons across forms.

* Safer copy/write/move on use app settings

* Build step for SCR. Watchdog quote args.

* Disable windows error reporting on start.

* Fix for mac address formatting
xibosignage/xibo#785

* Fix a race condition between the library and log agents.

* Fix watchdog/player start race condition that triggered activity check

* Better error messages for file locks and recovery for a lock event during layout load
xibosignage/xibo#796

* Fix for using pattern around File.Open
xibosignage/xibo#796

* Setting to prevent sleep
Bump versions.
xibosignage/xibo#794

* Fix issue with watchdog starting during screensaver (prevented sleeping).

* Hotfix/1.7.8 (xibosignage#33)

* Bump SCR

* Changes to exception handling and topmost setting.

* Misc tweaks around logging and unhandled exceptions:
 - Create larger log files when in audit mode
 - Send more log files each collection by default
 - Unset and reset TopMost when the client information window is shown
 - Attempt to restart on unhandled exception

* Implement Watchdog start
xibosignage/xibo#789
Also Standardise icons across forms.

* Safer copy/write/move on use app settings

* Build step for SCR. Watchdog quote args.

* Disable windows error reporting on start.

* Fix for mac address formatting
xibosignage/xibo#785

* Fix a race condition between the library and log agents.

* Fix watchdog/player start race condition that triggered activity check

* Better error messages for file locks and recovery for a lock event during layout load
xibosignage/xibo#796

* Fix for using pattern around File.Open
xibosignage/xibo#796

* Setting to prevent sleep
Bump versions.
xibosignage/xibo#794

* Fix issue with watchdog starting during screensaver (prevented sleeping).

* Hotfix to ensure that file status write doesn't fail

* Fix incorrect merge

* Bump version and fix topmost

* Clarify error message for invalid config options

* Fix certificate store problem
xibosignage/xibo#827

* Additional logging for RS232 command execution.

* Create WatchDog in detached process

* Modifications to shell command to accept a duration and handle command termination.
xibosignage/xibo#851

* Bumped version

* Fixed comparison of current layout schedules. Removed redundant layout validity check from CacheManager (already handled by dependency checking in schedule manager)
xibosignage/xibo#867

* Update hardware key generation to also use mac address. detect system drive letter for volume Id
xibosignage/xibo#838

* Implement region loop
xibosignage/xibo#869

* Only write status.json from the main thread. Improvements to remove failed downloads from the cachemanager.
xibosignage/xibo#874

* Check agent threads are alive before writing status file and include XMDS information in status file when written
xibosignage/xibo#874

* Set assembly version correctly.
xibosignage/xibo#834

* Do not check validity of current layout when ExpireModifiedLayouts is off
This work on the premise that the current layout is already being shown and therefore is valid.
xibosignage/xibo#863

* Race condition updating dependents.
xibosignage/xibo#904

* Final fix for dependents not being assessed correctly
xibosignage/xibo#904

* Set assembly version to something higher than it was before
xibosignage/xibo#834

* Combine schedule and rf agents into one synchronous call - so that the schedule dependent information is always updated before RF.
Fix an unfortunate race condition changing to a layout which has invalid dependents.
xibosignage/xibo#904

* Fix merge commit

* Adjust logging levels for default layout and fix caching issue through Embedded Web Server.

* Tone down XMR subscribe error message
xibosignage/xibo#923

* Background image should be served over embedded server

* Send machine name with storage info
xibosignage/xibo#905

* Set main application name to product name.

* Bump version, build release, etc.

* Exit after unhandled exception, catch file lock on status.json and tone down prepare layout logging.

* Bump version, rebuild

* Bump assembly version (forgot) and rebuild
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement to an existing feature player
Projects
None yet
Development

No branches or pull requests

2 participants