This is a beta build for testing purposes, intended to address issues reported in #48 and #44. Further testing has found that:
- Electron is not the sole cause - Fiddle tests work with frame disabled - though v41 >> v44 still introduced the problem
- Window bounds on Windows are being or have become corrupted for some users
- Original 1.6.X series window management was likely too basic and "blind" - does not work successfully anymore under some conditions
Bug Fixes & Tweaks
- Added display area checks - app now verifies available displays and their resolutions
- Added window bounds checks - app now verifies window bounds fall within reasonable parameters and available displays
- Added checks to ensure visibility - app performs additional checks at various stages to ensure window visibility
- Added additional guards to window spawn - prevent network/other issues firing too many times
- Added clamping for outsize/corrupt windows - added clamps for corrupt or outsize window sizes (should not happen)
- Reworked window setSize() functionality - various fixes, now performs multiple checks to ensure window size is accurate
- Updates to window.js, display.js & menu.js - the files changed
- Updated Electron back to v44 (latest) - verified through #44 that this is not solely an Electron issue, even if updates are involved
- Includes some additional debug logs (to be removed)
Notes
Build tested on Windows and MacOS - working - however this does not reflect other user's experience depending on their machine.
Some difficulty was encountered with app registration following 1.7.1 >> 1.7.2 - you may need to either reset the config from the menu or wipe the existing installation and data if you encounter network or auth issues (seemingly works just fine after this - no changes were made to app registration details, unsure of cause, appears likely to be cache or other version config issues, possibly Electron browser instance is fully refreshed so token is missing entirely - will look to fix on full release).
Release Hash
| Filename | SHA256 Hash |
|---|---|
| bb09cacde1616efae0a20bedd21a84a7e3dfaf44698d097ab812c900f8ce75cd | Home Assistant Desktop-v1.7.2-win-x64.exe |