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
thread 'main' panicked at /home/oswald/.cargo/registry/src/index.crates.io-6f17d22bba15001f/accesskit_consumer-0.24.0/src/tree.rs:272:13:
Tried to initialize the accessibility tree without a root tree. TreeUpdate::tree must be Some.
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: accesskit_consumer::tree::Tree::new
3: accesskit_atspi_common::adapter::Adapter::with_wrapped_action_handler
4: <i_slint_backend_winit::winitwindowadapter::WinitWindowAdapter as i_slint_core::window::WindowAdapterInternal>::handle_focus_change
5: i_slint_core::window::WindowInner::set_focus_item
6: wyrdoscope::ui::event_dialog::display_new_time_event_dialog::slint_generatedNewEventDialog::NewEventDialog::new
This worked with the 1.6.x versions of slint (recently upgraded to 1.7.2).
Unfortunately I'm not actively working on it. But your ping reminded me to take another look, and I see now how this could happen. We need to protect handle_focus_change for notifying AccessKit before the initial tree has been requested. This shouldn't be difficult to do.
Version: slint 1.7.2
Language: Rust
OS: Ubuntu 24.04
When opening a dialog box, main panics with:
This worked with the 1.6.x versions of slint (recently upgraded to 1.7.2).
The dialog is defined like this:
Anything I am doing wrong here, or is this a bug?
The text was updated successfully, but these errors were encountered: