Open jbcodemonkey opened 1 month ago
Looks like I've been able to fix it:
All four positions work. I'll do a github build of the branch and put a link in here if you'd like to test - please note that it'll be based on 2.1.0-beta3.
Will be included with 2.1.0-beta4.
Thanks for your efforts!! I’d be happy to test if you have a build link.
My pleasure :) https://github.com/amadeo-alex/HASS.Agent/releases/tag/2.1.0-beta4-webview-taskbar
Standard disclaimer: Since it's a beta build and a test one in addition - please backup your config before installing. If you'd like to know what changes were made in 2.1.0 betas - https://github.com/hass-agent/HASS.Agent/releases
Success!! Pops up right where it should.
You've solved this problem for three, maybe even four people. Thank you. :)
Describe the bug The logic to display the WebView when right-clicking the tray icon assumes the taskbar is on the bottom of the screen. If the taskbar is on the left or top, the WebView still draws as though the taskbar were on the bottom.
To Reproduce
Expected behavior The WebView should open in an appropriate location based on the taskbar location.
Misc info (please complete the following information):
winver.exe
output): Win10 22H2Please check what's applicable (multiple answers possible):
Responsible code: Appears to be lines 197-216 in HASS.Agent/Forms/WebView.cs I think the fix requires adding logic for taskbar location and different calculations based on that. I'm willing to give changes a shot if someone can offer some guidance.