wails/v3
Calle Gustafsson 675f502802
wails3 alpha windows: fix crash when systray icon is clicked without an attached window (#3271)
* Fix: #3270

removes an unnessecary check which returned a double nil wich in turned causes a crash if systray doesn't have an attached window.

* Add iconIsInFlyout method to systray_windows

and use it to determine if the icon is in the
flyout or not when positioning an attached window.

* optimize the windows systray window positioning

we only need to get the systray bounds if
the icon is in the flyout area.

* Use correct behavior for placing the window

if the systray icon is visible in the taskbar the
window should be centered on the systray icon
otherwise the icon is in a flyout are and the
window should be placed in the corner.

Added comments to explain placement logic

* consistent placing of systray menu on right vs left click

* add PR info in changelog

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-03-24 17:04:40 +11:00
..
cmd/wails3 Add BundledAssetFileServer for bundled /wails/runtime.js. Update examples. 2024-03-17 15:08:30 +11:00
examples [v3] Fix binding generator output and import paths (#3334) 2024-03-22 21:18:04 +11:00
internal Remove class fields (#3333) 2024-03-24 16:42:41 +11:00
pkg wails3 alpha windows: fix crash when systray icon is clicked without an attached window (#3271) 2024-03-24 17:04:40 +11:00
plugins [v3] Update and fix runtime JS API (#3295) 2024-03-20 20:30:14 +11:00
tasks Update windowSetupSignalHandlers & linux events 2024-03-06 11:42:19 -06:00
.gitignore Fix production build 2023-09-01 22:06:43 +10:00
.prettierignore chore: add Prettier as format tool (#2689) 2023-05-30 07:40:54 +10:00
.prettierrc.yml chore: add Prettier as format tool (#2689) 2023-05-30 07:40:54 +10:00
go.mod Refresh Version Update (CPU Thread Leak Fix) (#3322) 2024-03-19 08:41:47 +11:00
go.sum Refresh Version Update (CPU Thread Leak Fix) (#3322) 2024-03-19 08:41:47 +11:00
README.md Update doc dependencies 2023-09-08 10:57:47 +10:00
Taskfile.yaml [v3] Update and fix runtime JS API (#3295) 2024-03-20 20:30:14 +11:00

v3 Alpha

Thanks for wanting to help out with testing/developing Wails v3! This guide will help you get started.

Getting Started

All the instructions for getting started are in the v3 documentation directory: mkdocs-website. Please read the README.md file in that directory for more information.