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

[macOS] slow item "click" and warning on cursor #226

Open
k0pernicus opened this issue Dec 6, 2024 · 3 comments
Open

[macOS] slow item "click" and warning on cursor #226

k0pernicus opened this issue Dec 6, 2024 · 3 comments

Comments

@k0pernicus
Copy link

k0pernicus commented Dec 6, 2024

I use the version "0.28", on bevy 0.15.0, and I have an issue with bevy-inspector-egui only on macOS.
On the default version, clicking on an item, I notice a "click lag" of one second.
I tried debug and release versions, but both have the same issue.
Also, it seems that, sometimes, some clicks are missed and item lists do not open correctly.

I tried on Windows and I don't have this issue at all (both in a dedicated & integrated GPU).

Also, the console output is spammed with this message:

WARN winit::platform_impl::macos::cursor: cursor `_windowResizeNorthWestSouthEastCursor` appears to be invalid

when I click and drag the egui window.

I don't do anything exotic, just implementing the default WorldInspectorPlugin:

...
#[cfg(feature = "debug")]
app.add_plugins(WorldInspectorPlugin::new());
...

Is someone here tried on macOS and has the same issue than me?

@artemdemo
Copy link

Same issue, you don't even have to resize the window.
When cursor is on the left-top (or right-bottom) corner of egui form - warnings appear on Mac.
Looks like it's happening because used incorrect cursor name.

Dec-07-2024 12-10-36

@artemdemo
Copy link

After digging a bit more - it seems the problem is not related to egui, but to winit.
There is an issue in discussion exactly about that: rust-windowing/winit#3724

@k0pernicus
Copy link
Author

Thanks @artemdemo.
Do you have the same "lag" issue I have when clicking on a tree node list?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants