mayank-prasoon / mayank-prasoon/world-maker

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

Open
#13 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug 🐞 engine level
Dominant language
GDScript
Stars
177
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by reproducing the right-click behavior on a map pin in Godot and trace the input order described in the issue, including the Area2D mouse_enter and mouse_exit handling. Done means right-clicking a pin consistently shows edit and delete instead of delete map and add.

Written by the indexing model from the issue text.

Assessment

Tech stack
godot
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.