Evan Almloff and Jonathan Kelley
3f62cd8fc0
Reconnect the edits websocket if it disconnects ( #4391 )
...
* Reconnect the edits websocket if it disconnects
* restart the server if the OS kills it
* fix clippy
* clean up code and add more comments
* cleanups
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com >
2025-07-14 13:39:21 -07:00
Christopher Serr
3da821d184
Provide HotkeyState on Global Shortcut Events ( #3822 )
...
* Only react to hotkeys that are pressed
The global shortcuts are otherwise also triggering when the hotkey is
being released. This affects at least Windows.
* Provide `HotkeyState` on Global Shortcut Events
Instead of ignoring the events where the shortcut is released, the state
is now provided as an argument to the event handler.
2025-04-09 11:04:06 -07:00
Tristan F. and Jonathan Kelley
9167cd9dec
fix most typos, add crate-ci/typos to CI ( #2653 )
...
* fix most typos, add crate-ci/typos to CI
---------
Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com >
2024-07-23 17:49:33 -07:00
Jonathan Kelley
81f38a0bc5
cfg out globalhotkey
2024-03-06 16:42:45 -08:00
Jonathan Kelley
94b17cc8ca
Fix non tokio builds for desktop
2024-01-18 04:07:28 -08:00
Jonathan Kelley
8c94f0bc4a
get compiling
2024-01-11 16:51:18 -08:00
Jonathan Kelley
2ae3241cc0
Merge branch 'master' into jk/breaking-merged
2024-01-11 16:04:36 -08:00
Evan Almloff
3865f44081
make desktop compile
2024-01-05 14:39:45 -06:00
Jonathan Kelley
cbed09b95c
Clean up shared context in desktop
2024-01-05 12:37:47 -08:00
Jonathan Kelley
7444796a85
Simplify asset code a bit
2024-01-04 18:01:13 -08:00
Jonathan Kelley
9a6d745339
Refactor desktop into App type
2024-01-04 16:12:37 -08:00
Evan Almloff
f6acaba061
fix compilation
2024-01-04 17:04:56 -06:00
Evan Almloff
d1575b40d1
fix mobile build
2023-09-04 08:24:38 -05:00
Evan Almloff
885580f3af
update to wry 0.31.0
2023-09-02 18:24:42 -05:00
Jonathan Kelley
2ce8ded74d
FIx desktop for android
2023-07-05 12:49:41 -07:00
Jonathan Kelley
4f22fe3ca8
Stub out files and RFD on ios
2023-06-30 13:59:48 -07:00
Jon Kelley
a0b89de4ca
Merge pull request #1057 from ndarilek/master
...
Add richer API for describing global shortcut accelerators.
2023-06-30 12:27:00 -07:00
Jon Kelley
014bdef744
Merge pull request #945 from ProfXwing/return-context
...
make new_window return desktop context instead of webview
2023-06-30 12:10:03 -07:00
Nolan Darilek
c84e028bd6
Add richer API for describing global shortcut accelerators.
2023-06-30 08:10:48 -05:00
Evan Almloff
0684f738b4
revert control r shortcut
2023-05-28 20:54:00 -05:00
Andrew Collins
d6b9d8f5b6
remove rc around webview and add type for desktopcontext
2023-04-11 16:45:00 -04:00
Andrew Collins
0e1f015b78
turn desktop context into Rc<DesktopContext>
2023-04-11 11:03:46 -04:00
Nolan Darilek
8657b47401
Add function to remove all global shortcuts.
2023-03-09 11:05:41 -06:00
Evan Almloff
2d21f7ade1
add a shortcut for ctrl-r to prevent it breaking the application
2023-03-01 13:32:13 -06:00
Evan Almloff
cf2a79c173
create global shortcut handler for dioxus desktop
2023-03-01 13:23:15 -06:00