Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application does not start on Windows 10 pro 64 bits #2369

Open
2 tasks done
soucosmo opened this issue Apr 3, 2024 · 2 comments
Open
2 tasks done

Application does not start on Windows 10 pro 64 bits #2369

soucosmo opened this issue Apr 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@soucosmo
Copy link

soucosmo commented Apr 3, 2024

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

@soucosmo soucosmo added the bug Something isn't working label Apr 3, 2024
@Koranir
Copy link
Contributor

Koranir commented Apr 3, 2024

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.

@soucosmo
Copy link
Author

soucosmo commented Apr 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants