iced-rs / iced

A cross-platform GUI library for Rust, inspired by Elm

Home Page:https://iced.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application does not start on Windows 10 pro 64 bits

soucosmo opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

When running the application on Windows 10 Pro 64 bits I get the following behavior, a prompt window opens for a few seconds, and then it closes, as shown in the video below

WhatsApp.Video.2024-04-01.at.11.51.32.PM.mp4

My development environment
Screenshot 2024-04-02 22 04 56

Compiled using cargo build --release --target x86_64-pc-windows-gnu

My Cargo.toml

[package]
name = "costv"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
iced = { version = "0.12.1", features = ["lazy"] }
iced_core = "0.12.3"

[profile.release]
strip = true

What is the expected behavior?

This is the expected behavior
Screenshot 2024-04-02 21 57 56

Version

crates.io release

Operating System

Windows

Do you have any log output?

No response

Could you run the application with the RUST_LOG=debug environment variable set and copy/paste the logs here? Would help us know what's going on.

Could you run the application with the RUST_LOG=debug environment variable set and copy/paste the logs here? Would help us know what's going on.

[2024-04-03T03:58:35Z DEBUG iced_winit::application] Window builder: WindowBuilder {
        window: WindowAttributes {
            inner_size: Some(
                Logical(
                    LogicalSize {
                        width: 1024.0,
                        height: 768.0,
                    },
                ),
            ),
            min_inner_size: None,
            max_inner_size: None,
            position: None,
            resizable: true,
            enabled_buttons: WindowButtons(
                CLOSE | MINIMIZE | MAXIMIZE,
            ),
            title: "Cos.TV (Não licenciado)",
            maximized: false,
            visible: false,
            transparent: false,
            blur: false,
            decorations: true,
            window_icon: None,
            preferred_theme: None,
            resize_increments: None,
            content_protected: false,
            window_level: Normal,
            active: true,
            parent_window: SendSyncWrapper(
                None,
            ),
            fullscreen: SendSyncWrapper(
                None,
            ),
        },
    }