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

Missing WE cursor type on window edges #4886

Open
erikpa1 opened this issue May 31, 2022 · 4 comments
Open

Missing WE cursor type on window edges #4886

erikpa1 opened this issue May 31, 2022 · 4 comments
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior O-Windows Specific to the Windows desktop operating system

Comments

@erikpa1
Copy link

erikpa1 commented May 31, 2022

Bevy version

0.7

##Platform
Windows

Hi guys I'm using primitive window, and on the sides of the window there is no cursor change on edge of window as you can see on image:

image

Not sure if its problem of bevy or api it is using but resizing works but there is no cursor change.

I'm adding construct code:

use bevy::prelude::*;
use bevy_egui::{egui, EguiContext, EguiPlugin};
fn main() {

    bevy::app::App::new()
        .insert_resource(ClearColor(Color::rgb(0.0, 0.0, 0.0)))
        .insert_resource(WindowDescriptor {
            title: "Infinity".to_string(),
            width: 1280.0,
            height: 720.0,
            // position: Vec2{ x: 0.0 },
            ..Default::default()
        })
        .add_plugins(bevy::DefaultPlugins)
        .add_plugin(EguiPlugin)
        .run()
}

@erikpa1 erikpa1 added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels May 31, 2022
@alice-i-cecile alice-i-cecile added A-Windowing Platform-agnostic interface layer to run your app in O-Windows Specific to the Windows desktop operating system and removed S-Needs-Triage This issue needs to be labelled labels Jun 1, 2022
@alice-i-cecile
Copy link
Member

Probably a bug in winit, our upstream dependency? Could you file an issue there and link this?

@erikpa1
Copy link
Author

erikpa1 commented Jun 1, 2022

@alice-i-cecile when I implement default winit example https://github.com/rust-windowing/winit they have on their webpage this functionality works I think it has no sense to post it there. I doubt they will download bevy project and they will check how you impelment they window.

@alice-i-cecile
Copy link
Member

Ah okay, I'm glad to hear it works upstream! Sounds like it's just our integration layer; thanks for checking.

@JoshLambda
Copy link

This seems related to the crate bevy_egui.

I created this issue: mvlabat/bevy_egui#126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior O-Windows Specific to the Windows desktop operating system
Projects
None yet
Development

No branches or pull requests

3 participants