maptool icon indicating copy to clipboard operation
maptool copied to clipboard

[Bug]: HTML5 frames/dialogs arbitrarily stop working for a client

Open Pmofmalasia opened this issue 8 months ago • 3 comments

Describe the Bug

Under circumstances unbeknownst to myself, HTML5 frames and dialogs (I don't use overlays, so possibly those as well but cannot verify) will stop functioning. Instead of opening the usual content of the frame, it will load a completely blank frame. This is not isolated to a specific frame/dialog, but for every single frame/dialog I attempt to open. The only thing that I have found to fix it is closing and reopening MapTool, which is a bummer when it happens mid-session.

Also this has been going on for the past few versions, I've just been a terrible user and not reported it. I was waiting to see if I could find anything that causes it, but I got nothing.

To Reproduce

  1. Use HTML5 frames
  2. ???
  3. Frames don't work anymore
  4. Open new client

Expected Behaviour

HTML5 continues to work

Screenshots

No response

MapTool Info

No response

Desktop

Windows 10

Additional Context

No response

Pmofmalasia avatar May 05 '25 04:05 Pmofmalasia

I bet you're going to need to provide a sample campaign where this reliably happens.

It's probably a threading issues and will require you to change how you call those frames safely.

FullBleed avatar May 05 '25 07:05 FullBleed

Happens often in my framework: https://github.com/Pmofmalasia/Automated-5e/releases/tag/v0.8.0-alpha

I'd pare it down but no clue where to start with that

Pmofmalasia avatar May 07 '25 23:05 Pmofmalasia

Came across something odd during play yesterday that may help - this bug occurred while I had the server running, but I didn't want to close and have everyone reconnect so I just joined as a second GM on a new client (which was already open at the time). After a while the bug happened on the second client as well - but at the same time the first client started functioning correctly again.

I'm not sure it completely has to do with multiple clients, as my players were also reporting the issue and don't open multiple instances, but this seems like a clue.

Pmofmalasia avatar May 08 '25 13:05 Pmofmalasia