You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
For some reason, when I try to host the game packaged with love.js, after loading is complete, the page title changes to "Untitled", and the browser tab name changes with it. This is just annoying, as I set the title statically in HTML and don't want my game to change it. For some reason, the issue doesn't present itself when testing locally. If it makes a difference, I tested with Firefox.
It is clear, that love.js is capable of changing the page title, as it displays this behaviour in: https://davidobot.net/lovejs/lovejs_spec_c/. Note that changing the game tabs changes the page title. Similarly, a bug I observed is visible in the https://davidobot.net/lovejs/features_c/ example - title "Graphics Features Test (Compat)" is lost when the loading is complete. As I wasn't able to find the source code of these examples, I couldn't investigate the differences myself.
I'd very much appreciate help with this issue, or a pointer towards a solution, perhaps it is a feature, not a bug after all. I'm not a JS programmer, so maybe I'm missing something obvious.
The text was updated successfully, but these errors were encountered:
I was curious about this as well, and the spec_c (which I didn't know about before) seems to be from this spec/main.lua file, or at least, something close enough that has the following call to love.window.setTitle call, which appears to set the window title as expected!
Hi!
For some reason, when I try to host the game packaged with love.js, after loading is complete, the page title changes to "Untitled", and the browser tab name changes with it. This is just annoying, as I set the title statically in HTML and don't want my game to change it. For some reason, the issue doesn't present itself when testing locally. If it makes a difference, I tested with Firefox.
It is clear, that love.js is capable of changing the page title, as it displays this behaviour in: https://davidobot.net/lovejs/lovejs_spec_c/. Note that changing the game tabs changes the page title. Similarly, a bug I observed is visible in the https://davidobot.net/lovejs/features_c/ example - title "Graphics Features Test (Compat)" is lost when the loading is complete. As I wasn't able to find the source code of these examples, I couldn't investigate the differences myself.
I'd very much appreciate help with this issue, or a pointer towards a solution, perhaps it is a feature, not a bug after all. I'm not a JS programmer, so maybe I'm missing something obvious.
The text was updated successfully, but these errors were encountered: