RPTools/maptool

[Bug]: Visible over FoW on token does not seem to work as described

Closed this issue · 9 comments

Describe the Bug

A player can see tokens marked visible over FoW even though they are in unexplored parts of the dungeon.

The "Is Visible over FoW" checkbox over text says "Always show this token over FoW when in sight of another token. Useful for doors, statues, columns, roofs, etc."

The "Visibility Tolerance" numeric spinner says "Controls how many of the tokens regions must be seen before showing over FoW, range is 1-9 regions."

Regardless of visibility tolerance setting, players can see unexplored doors that are set to visible over FoW from across the map even though those doors are not in sight of the token.

Turning off visible over FoW correctly hides the token, but makes it easier for it to blend into the wall and be missed by players.

To Reproduce

  1. Drop a token on the map hidden behind vision blocking walls. Set it to visible over FoW.
  2. Drop a player token elsewhere on the map in a place where it cannot see the first token.
  3. First token will be visible to the player.

Expected Behaviour

Token with visible over FoW can only be seen by the player when it is in their line of sight and the correct number of regions are visible.

Screenshots

Image Image

MapTool Info

Version 1.18.3

Desktop

Linux Kubuntu 25.04 with Kernel 6.14.0-28-generic #28-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 23 12:05:14 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Additional Context

No response

Note, I just saw this at https://wiki.rptools.info/index.php/Fog_of_War

Image

It describes what I'm seeing, but the Map I am using is set to Vision: Night.

Do you know if this is new in 1.18 or if it's also a problem in earlier versions?

I've played many versions leading up to 1.18.3, and this is the first time I noticed it. I didn't explicitly check to see when it was introduced, but I can try to figure that out tomorrow. I'll update when I check earlier versions.

The issue is present in 1.18.0 and onward. The issue is not present in the 1.17.0 version that I have installed.

Thanks for checking this!

I've been trying to reproduce this, and tried to look around the code for an explanation, but came up dry both ways.

@timgstewart Do you have a campaign file you can share that shows the problem?

test.cmpgn.zip

Here is a campaign I saved.

Here was the process. I made a video of this in 1.18.x and 1.17.0 but it was 90Mb and github only allows 10Mb.

  1. new campaign
  2. drop four d20 dice (20 face up) onto the object layer.
  3. set the 20-facing dice to Visible over FoW
  4. drop a d20 die with 1 face up for control, do not set it to visible over FoW
  5. draw a VBL WALL and MBL around the dice.
  6. On the token layer, drop a token to represent the player
  7. Edit the player token, set it to PC, give it has-sight true, sight set to normal.
  8. Set ownership on the token (or do so after a client connects).
  9. Set the map to Fog of War = true, set the map Vision to "Day"
  10. Click view as player. Observe the 20-facing dice are all visible, the 1-facing die is not.
  11. Start a server, start another maptool and connect to the server. Set the player token ownership.
  12. Walk the player around from his maptool. FoW will clear, but the square VBL area will continue to hide the 1-facing die. The four 20-facing dice will be visible.

If you repeat the steps from scratch with a new campaign on 1.17.0, the 20 faced dice and the 1 faced die are hidden completely by the VBL in both the "view as player" and the player maptool instance.

Now interestingly, if I create the campaign in 1.17.0, save it, load it into 1.18.3 it seems to work. The issue only happens when I create the map from scratch on 1.18.x.

I hope that helps. If you have further trouble reproducing the problem, let's arrange to view or send the video I made.

Thanks @timgstewart! I'm reproducing the issue with your campaign, hopefully can diagnose it soon!

For future reference: the key to reproducing the issue is for the tokens to be on the Object or Background layer. On the Token layer, they are properly obscured by fog of war.