Can't increase/decrease skills on linux (wayland)
Hello, thanks for the nostalgic project. I'm testing under wayland with arch linux, and I find I can't decrease/increase skills from the menus. In particular, if I click on the "+" or "-" buttons, which should increase or decrease the skill value, it just opens the info window about the skill. I've tried fiddling around and have not bee able to find any way around this.
Hello, thanks for the nostalgic project.
😄
In particular, if I click on the "+" or "-" buttons, which should increase or decrease the skill value, it just opens the info window about the skill. I've tried fiddling around and have not bee able to find any way around this.
When you hold Alt and click the +/- buttons it's supposed to bring up the help window.
We have an ongoing bug where when keys like Alt get pressed, for some reason the game keeps thinking they are held down forever. This sounds like that bug. Did you press the Alt key at any point before this bug happened?
I think sometimes you can work around the glitch by pressing Alt again. Maybe that will help in the meantime while we try to fix it?
I see. It seems like alt-tabing focus can trigger it easily... You can fix it by pressing alt again as you say. Thanks!
Oh, that's interesting that it's an Alt-Tab causing this! I'm guessing that an Alt-Tab would pass a keydown event to SFML, but by switching to another window, the keyrelease event would not be passed to BoE. We might be able to fix this specific case by making a loss of focus to BoE windows clear the stored modifier keys.
@CelticMinstrel On Linux and Windows can we just query SFML for the modifier keys' state directly, because they don't have the same permissions problems as MacOS?
I'm not sure, sorry…