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

Window is always fullscreen on Windows #340

Open
aakodadi opened this issue Mar 26, 2023 · 2 comments
Open

Window is always fullscreen on Windows #340

aakodadi opened this issue Mar 26, 2023 · 2 comments
Labels
Platform Specific: Windows Issues that are specific to systems running Windows. Status: Needs Replicating Indicates that the issue cannot be replicated - this doesn't necessarily mean it's invalid! Type: Bug Problems with the code/documentation that need to be fixed.

Comments

@aakodadi
Copy link

Summary

Works fine on Linux but on Windows, the window is in fullscreen mode even when I try to override that with the ContextBuilder.

    ContextBuilder::new(
        camera_info.human_name(),
        WINDOW_WIDTH.try_into().unwrap(),
        WINDOW_HEIGHT.try_into().unwrap(),
    )
    .fps_limit(false)
    .show_mouse(true)
    .resizable(true)
    .fullscreen(false) // It should be false by default
    .build()?
    .run(|_| Ok(StateWrapper::new(state)))

Steps to Reproduce

Run it on windows.

Additional Info

No response

@aakodadi aakodadi added the Type: Bug Problems with the code/documentation that need to be fixed. label Mar 26, 2023
@17cupsofcoffee
Copy link
Owner

I can't replicate this issue on my Windows machine - does it happen if you run the examples in this repo?

@17cupsofcoffee 17cupsofcoffee added Status: Needs Replicating Indicates that the issue cannot be replicated - this doesn't necessarily mean it's invalid! Platform Specific: Windows Issues that are specific to systems running Windows. labels Mar 30, 2023
@aakodadi
Copy link
Author

aakodadi commented Apr 1, 2023

Hi @17cupsofcoffee ,

It happens with code that is similar to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform Specific: Windows Issues that are specific to systems running Windows. Status: Needs Replicating Indicates that the issue cannot be replicated - this doesn't necessarily mean it's invalid! Type: Bug Problems with the code/documentation that need to be fixed.
Projects
None yet
Development

No branches or pull requests

2 participants