Skip to content

slint 1.12: with_winit_window return None #8724

Closed
@CarbonPool

Description

@CarbonPool

Bug Description

let ui = AppWindow::new()?;
ui.window().with_winit_window(|window: &Window| {
        
}).unwrap();

Error: called Option::unwrap() on a None value. It seems that this prompt was not available in the previous version.

Reproducible Code (if applicable)

Environment Details

  • Slint Version:
  • Platform/OS:
  • Programming Language:
  • Backend/Renderer:

Product Impact

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    need triagingIssue that the owner of the area still need to triage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions