slint-ui/slint · error

not yet implemented

Error message

not yet implemented

What it means

Error "not yet implemented" thrown in slint-ui/slint.

Source

Thrown at internal/backends/android-activity/androidwindowadapter.rs:443

                            let window_event = WindowEvent::PointerMoved { position };
                            result =
                                self.window.dispatch_event_with_result(window_event).map(|_| ());
                            InputStatus::Handled
                        }
                        MotionAction::Cancel | MotionAction::Outside => {
                            self.long_press.take();
                            for p in motion_event.pointers() {
                                self.window.dispatch_event(WindowEvent::internal(
                                    InternalEvent::Touch {
                                        id: p.pointer_id(),
                                        position: touch_pos(&p),
                                        phase: TouchPhase::Cancelled,
                                    },
                                ));
                            }
                            InputStatus::Handled
                        }
                        MotionAction::Scroll => todo!(),
                        MotionAction::HoverEnter | MotionAction::HoverExit => {
                            InputStatus::Unhandled
                        }
                        _ => InputStatus::Unhandled,
                    }
                }
                InputEvent::TextEvent(state) => {
                    self.show_cursor_handles.set(false);
                    // remove the pre_edit
                    let event = if let Some(r) = state.compose_region {
                        let adjust =
                            |pos| if pos > r.start { pos - r.start + r.end } else { pos } as i32;
                        let mut key_event = KeyEvent::default();
                        key_event.text = i_slint_core::format!(
                            "{}{}",
                            &state.text[..r.start],
                            &state.text[r.end..]
                        );

View on GitHub (pinned to 3fd8f2ec03)

Solutions

  1. This feature is not implemented on Android yet; avoid calling it or contribute an implementation.
  2. Guard the call with a platform check.

When it happens

Trigger: Thrown at internal/backends/android-activity/androidwindowadapter.rs:443 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of slint-ui/slint@3fd8f2ec03 (2026-08-19). Data as JSON: /api/errors/cf73f1da797a5d45. Report an issue: GitHub.