freeciv21 icon indicating copy to clipboard operation
freeciv21 copied to clipboard

Goto path doesn't redraw when setting and removing waypoints

Open daavko opened this issue 3 years ago • 0 comments

Describe the bug When you set a goto waypoint (using the goto keybind again on a tile after going into goto mode) or remove it (using Esc), the path doesn't get redrawn, and therefore doesn't show the new waypoint/removed waypoint. It only redraws after moving the mouse.

To Reproduce Steps to reproduce the behavior:

  1. Select any unit
  2. Set a waypoint on any tile
  3. Don't move the mouse after setting the waypoint
  4. Observe the waypoint isn't visible
  5. Move the mouse to another tile to force a path redraw
  6. Observe the waypoint appears

Expected behavior The path should be redrawn when adding and removing waypoints

Platform and version (please complete the following information):

  • OS: Windows 10
  • Freeciv21 version: latest master (db195f5)
  • Ruleset/Longturn game (if applicable): not applicable

Additional context No additional context

daavko avatar Aug 22 '22 19:08 daavko