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

Pop menu sometimes doesn't work when Right clicked on a map pin. #13

Open
mayank-prasoon opened this issue May 20, 2022 · 2 comments
Open
Labels
bug 🐞 Something isn't working engine level related to engine itself

Comments

@mayank-prasoon
Copy link
Owner

mayank-prasoon commented May 20, 2022

Problem: When right clicked on a map pin. The pop up menu doesn't work sometimes.

Instead of showing edit and delete it shows delete map and add.

Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.8
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.13.0-41-generic
OS Type: 64-bit
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.6 GiB of RAM

Cause:

Godot handle inputs in a order of _Input > gui_input > unhandled_input > area2D_input.

For some reason the area2D mouse_enter and mouse_exit doesn't work properly in godot. Which is used to handle the mouse input on the map pin.

This is most likely cause of the glitchy behaviour.

@mayank-prasoon mayank-prasoon added bug 🐞 Something isn't working engine level related to engine itself labels May 20, 2022
@mayank-prasoon
Copy link
Owner Author

at this point i don't even know what is going on. On my old laptop Model name: Intel(R) Core(TM) i3-2330M CPU @ 2.20GHz. it works just fine without any problem. But on my other computer it sometimes doesn't works.

@mayank-prasoon
Copy link
Owner Author

mayank-prasoon commented May 29, 2022

New development:

well it looks like it happens because of peek (the screen recorder I use for recording my screen) i don't know how to fix this as World Maker use _area2D_input for checking if the mouses is inside any map element

@mayank-prasoon mayank-prasoon added this to the World Maker 0.1.1 milestone May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working engine level related to engine itself
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant