iced icon indicating copy to clipboard operation
iced copied to clipboard

Application does not start on Windows 10 pro 64 bits

Open soucosmo opened this issue 3 months ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues.

Is this issue related to iced?

  • [X] 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

https://github.com/iced-rs/iced/assets/14854891/ea883e0c-ec51-4670-85cc-d0e5b2edecf3

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

soucosmo avatar Apr 03 '24 01:04 soucosmo

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.

Koranir avatar Apr 03 '24 02:04 Koranir

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,
            ),
        },
    }

soucosmo avatar Apr 03 '24 04:04 soucosmo