Skip to content

[Bug]: Drawing and Template regression #5941

@Baaaaaz

Description

@Baaaaaz

Describe the Bug

PR #5926 introduces a regression which breaks the drawing and template improvements in develop and due in 1.19. i.e.

  • no longer able to drop drawings/templates to a new location after selecting and dragging them
  • no longer able to resize templates
  • holding down ctrl when dragging a drawing causes a NPE error.

Originally posted in #5926 (comment)

To Reproduce

  1. Run a Develop or a current Nightly Build.
  2. Create a new map.
  3. Create a new drawing or template.
  4. Select the Drawing Pointer Tool or Template Pointer Tool.
  5. Try either:
    5.1 dragging a drawable and dropping -> drawable does not drop.
    5.2 resizing a template -> template does not change.
    5.3 holding down ctrl when dragging a drawing -> causes a NPE error.

Expected Behaviour

Able to drag and drop drawings and templates.
Able to resize templates.
Able to drag drawings whilst snapping to grid.

Screenshots

e.g. NPE

Image

MapTool Info

Develop or current Nightly Build

Desktop

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions