Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't increase/decrease skills on linux (wayland) #573

Open
bobbens opened this issue Feb 6, 2025 · 3 comments
Open

Can't increase/decrease skills on linux (wayland) #573

bobbens opened this issue Feb 6, 2025 · 3 comments
Labels
bug game Affects the game, as opposed to the editors

Comments

@bobbens
Copy link

bobbens commented Feb 6, 2025

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.

@NQNStudios
Copy link
Collaborator

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?

@bobbens
Copy link
Author

bobbens commented Feb 6, 2025

I see. It seems like alt-tabing focus can trigger it easily... You can fix it by pressing alt again as you say. Thanks!

@NQNStudios NQNStudios added bug game Affects the game, as opposed to the editors labels Feb 6, 2025
@NQNStudios
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug game Affects the game, as opposed to the editors
Projects
None yet
Development

No branches or pull requests

2 participants