web-brogue icon indicating copy to clipboard operation
web-brogue copied to clipboard

Moving the mouse very quickly on the sidebar exits to lobby

Open flend opened this issue 8 years ago • 2 comments

This is because each mouse movement on the sidebar causes the entire sidebar to be redrawn and sent to the client. The data fills one of the internal buffering stages (probably the websockets server-side) which causes the game to appear unresponsive and a quit event to be sent.

The correct fix here is to redo the brogue sidebar redraw code refreshSideBar() to use double-buffering and only send the deltas.

Other workarounds could be to limit the speed of sending mouse-entered-cell events, but this would lower the overall responsiveness of the system.

flend avatar Apr 17 '16 16:04 flend

https://github.com/kipraske/web-brogue/pull/50

flend avatar Apr 24 '16 16:04 flend

This is now resolved in a previous merge. Hopefully fixed in brogue itself at some point.

tomford avatar Nov 03 '16 19:11 tomford