OwenGHB / angband-webclient

Browser client and webserver for playing Angband and variants
http://angband.live
GNU General Public License v2.0
18 stars 7 forks source link

PLAY button blinks screen but doesn't start game w/ certain font and subwindow settings #55

Open smbhax opened 2 years ago

smbhax commented 2 years ago

1) Go to angband.live with an active login and click "Go play games." On the game list, the default game set is Angband, version 4.2.3; and it has saved my previously used font and subwindow settings: Droid Sans Mono, size 20, subwindows 40/30/[blank]/8 2) With those settings having come up automatically from my previous session, I click "PLAY" ==> The browser window blinks as if doing a rapid refresh, but remains on the game list screen

Pressing PLAY a second time will start the game. I've reproduced the issue in Firefox and Chrome, both recent versions, on Windows 10, running the browsers full-screen at 1080p. With angband.live's default font and subwindow settings--the default font and size (10 or 12, I can't remember which), and no subwindow numbers--the first click on PLAY starts the game, instead of just blinking the display. angl_settings

This seems to be an edge case; for instance, if I leave the subwindow settings as specified (40/30/[blank]/8) and change the font size to 18, the "blink" does not occur, and the game runs the first time; same if leave the font size but reduce some of the subwindow sizes. So an obvious solution is simply reducing the numbers slightly to avoid the problem--but they seem to fit, and it's puzzling why it works after PLAY is clicked the second time, but not the first time.