maptool icon indicating copy to clipboard operation
maptool copied to clipboard

[Bug]: Shape changes when layer changes

Open taustinoc opened this issue 8 months ago • 4 comments

Describe the Bug

When a token is moved to or from the Token layer, the Shape assigned in the Config tab, sometimes. But only if the Token layer is involved

To Reproduce

  1. Open MapTool to a blank map.
  2. Drop a token on the Token layer
  3. Set or note the Shape.
  4. Change it to another layer. The shape remains the same.
  5. Change it back to the Token layer. The shape will change. Top Down will change to Circle or Square, for instance.
  6. If the token is dropped on a non-Token layer, and the shape set, then moved to the Token layer, the shape changes.

Expected Behaviour

The token shape should not change when the layer is changed.

Screenshots

No response

MapTool Info

1.16.2

Desktop

Windows 11

Additional Context

No response

taustinoc avatar May 05 '25 18:05 taustinoc

#3297 is a feature request to address the same issue. But I prefer this bug report since the behaviour is counterintuitive and not that useful IMO.

I think this has been discussed a fair bit on Discord as well, but I've lost track of where.

kwvanderlinde avatar May 05 '25 23:05 kwvanderlinde

Yeah it's been discussed as I brought up the issue in discord to be discussed before putting in the feature request. As I recall, it was a little frustrating because there was a school of thought that the shape auto-detection was "working as intended"... hence the syntax I ended up using in the freq was attempting to frame "stop messing with token shapes when moved between layers" as a feature instead of a bug.

FullBleed avatar May 06 '25 07:05 FullBleed

Yeah, what he said. It is working as intended which is very annoying to some of us. I'm for a preference that enables/disables the behaviour.

bubblobill avatar May 13 '25 03:05 bubblobill

Really, the shape changes are just a symptom of a more general problem that makes layers so impossible: some token semantics are tied to the layer that the token is on. E.g., a token proper is a token on the Token layer, stamps are tokens on the Object or Background layer, markers are stamps with notes, etc. Because of this layer-based discimination, it makes sense that Background tokens are positioned different from Objects, that stamps ought to have different shapes than tokens proper, etc.

Break the association between layers and token semantics, and the world's our oyster.

kwvanderlinde avatar May 15 '25 14:05 kwvanderlinde