You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a application which doesn't use a primary window, and instead relies on running in the background and sometimes opening other windows.
Kayak doesn't seem to allow for this, as it .unwrap()s on trying to get the primary window.
Error:
2022-12-21T22:38:26.846011Z WARN kayak_ui::input: Couldn't find primiary window!
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', C:\Users\laundmo\.cargo\git\checkouts\kayak_ui-299a0b6ac8320811\910a00c\src\widgets\app.rs:63:42
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I noticed this happens when i run any of the examples now, cloning main.
I think this is an issue with linux, but I don't have a linux setup to test right now, and is likely related to this: #215
Instead of assuming the primary window exists we should check to see. I think if you need a more complicated windowing setup the default App probably will not work well for you as it'll always only check the primary window.
I'm working on a application which doesn't use a primary window, and instead relies on running in the background and sometimes opening other windows.
Kayak doesn't seem to allow for this, as it
.unwrap()
s on trying to get the primary window.Error:
Due to:
kayak_ui/src/widgets/app.rs
Line 63 in 910a00c
Is this something which is planned to be supported?
Hello World based minimal reproduction
The text was updated successfully, but these errors were encountered: