Lea Anthony
b0db953317
Support Hide/Show for system tray on Windows
2025-04-26 13:39:58 +10:00
Lea Anthony
421b75ef21
Multiple fixes. Thanks @kron!
2025-04-19 10:27:25 +10:00
Fabio Massaioli
e7c134de4e
[v3] Late service registration and error handling overhaul ( #4066 )
...
* Add service registration method
* Fix error handling and formatting in messageprocessor
* Add configurable error handling
* Improve error strings
* Fix service shutdown on macOS
* Add post shutdown hook
* Better fatal errors
* Add startup/shutdown sequence tests
* Improve debug messages
* Update JS runtime
* Update docs
* Update changelog
* Fix log message in clipboard message processor
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Remove panic in RegisterService
* Fix linux tests (hopefully)
* Fix error formatting everywhere
* Fix typo in windows webview
* Tidy example mods
* Set application name in tests
* Fix ubuntu test workflow
* Cleanup template test pipeline
* Fix dev build detection on Go 1.24
* Update template go.mod/sum to Go 1.24
* Remove redundant caching in template tests
* Final format string cleanup
* Fix wails3 tool references
* Fix legacy log calls
* Remove formatJS and simplify format strings
* Fix indirect import
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-02-19 09:27:41 +01:00
Lea Anthony
d427e9d750
Add systray.SetTooltip
2025-02-08 14:01:22 +11:00
Lea Anthony
0ecfcee3bf
Fix IconPosition in Windows/Linux. Update docs.
2025-02-03 19:24:40 +11:00
Lea Anthony
4caf6d6e50
Add systray Show, Hide and Destroy
2025-02-02 17:54:24 +11:00
Lea Anthony
a90764891f
Update systray-custom to show keep-alive after window kill
2024-12-23 20:55:29 +11:00
Lea Anthony
f2040797d7
[windows] Use application icon as default systray icon if available.
2024-12-03 21:12:01 +11:00
Mohamed Gharib
efe0c8d534
[v3-Windows] New DIP system for Enhanced High DPI Monitor Support ( #3665 )
...
* [v3-Windows] New DIP system for Enhanced High DPI Monitor Support
* Update changelog
* Remove asset middleware
* Remove SetThreadDpiAwarenessContext()
* Fix macOS build.
* Fill missing screens fields (linux, darwin)
* Skip DPI transformation on unsupported platforms
* Simplify distanceFromRectSquared()
* Update v3/pkg/application/screenmanager.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-09-22 08:38:30 +10:00
Lea Anthony
5cde12b42a
Refactored Events ( #3731 )
...
Experimental rename
2024-09-07 16:39:02 +10:00
DeltaLaboratory
2460b570fe
retry when shellnotifyicon fails ( #3710 )
...
* add retry mechanism for create shell notification icon
* add retry mechanism for create shell notification icon
* adjust delay and attempts
* added changelog
* Use application fatal handler instead of panic
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-09-02 19:33:17 +10:00
Windom
46dbbb3b84
[v3] Make Windows window class configurable ( #3682 )
2024-08-20 18:20:44 +10:00
Lea Anthony
86e43c92b3
[Windows] Check systray menu before destroying it
2024-06-26 21:05:46 +10:00
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
Lea Anthony
7795a2a46f
Fix modifier processing on windows.
...
Move info logs to debug.
2023-10-15 13:53:31 +11:00
Lea Anthony
fe48b9d03d
[windows] Add systray.OpenMenu
2023-09-21 19:14:44 +10:00
Lea Anthony
d44c8eba1c
[v3] Use system logger instead of println
2023-08-28 20:30:40 +10:00
Lea Anthony
dc865404a9
[v3] Initial hooks implementation
2023-07-12 20:31:13 +10:00
Lea Anthony
10144adf61
[v3 windows] Fix window lose focus events.
2023-07-04 20:43:21 +10:00
Lea Anthony
3d323ab9d2
[v3] Fix systray example. PositionWindow now takes an offset. EventApplicationDidResignActive
-> EventApplicationDidResignActiveNotification
2023-07-04 19:26:00 +10:00
Lea Anthony
3c81fb06e8
[v3 windows] Position window above systray
2023-06-30 21:17:50 +10:00
Lea Anthony
ae691b8e52
[v3 windows] Small icon updates
2023-06-10 10:19:33 +10:00
Lea Anthony
ff218e5323
[v3 windows] Support systray.Destroy()
2023-06-06 20:40:56 +10:00
Lea Anthony
3433b8ce8f
[v3 windows] Support context menus
2023-06-04 14:05:19 +10:00
Lea Anthony
9b686b5417
[v3 windows] Support Application Menu, hiding menu items
2023-06-01 22:52:04 +10:00
Lea Anthony
f2d6dba2cf
[v3 windows] initial dialog support. Refactor button callback name
2023-05-30 16:32:01 +08:00
Lea Anthony
a5b52f2795
[v3 windows] initial systray support
2023-05-30 16:31:58 +08:00
Lea Anthony
9b7626e59e
[v3 windows] Move icons to own package, systray dark mode icon, window.Focus()
,
2023-05-30 16:31:57 +08:00
Lea Anthony
6dd092c7a9
[v3 windows] Rename systray callback handlers
2023-05-30 16:31:57 +08:00
Lea Anthony
e3b164ae93
[v3 windows] Systray callback handlers
2023-05-30 16:31:56 +08:00
stffabi
d8f58ab20f
[v3 windows] Fix wndproc default case with WMMessageToString
2023-05-30 16:31:56 +08:00
stffabi
0de2bccd28
[v3 windows] Do not disable WndProc messaging for systray when updating icon
2023-05-30 16:31:55 +08:00
Lea Anthony
2eaf724710
[v3 windows] Fix systray icon size
2023-05-30 16:31:55 +08:00
Lea Anthony
58138ac09b
[v3 windows] Initial systray support
2023-05-30 16:31:55 +08:00
Lea Anthony
31ba36baf3
[windows] Initial commit
2023-05-30 16:31:46 +08:00