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

Autotile unexpectedly turns on and off when testing and saving level #1923

Closed
Narre opened this issue Dec 9, 2021 · 5 comments · Fixed by #1941
Closed

Autotile unexpectedly turns on and off when testing and saving level #1923

Narre opened this issue Dec 9, 2021 · 5 comments · Fixed by #1941

Comments

@Narre
Copy link
Contributor

Narre commented Dec 9, 2021

SuperTux version: current git version (as of commit cf60131)
System information: LMDE4 64bit, kernel 4.19.0-18-amd64

Note: I have noticed this a while ago (it gets really frustrating when creating levels) but then I forgot to create an issue for it because I was using a tileset with no autotiles.

It seems that Autotile mode in the editor turns on/off unexpectedly when pressing Ctrl+S and Ctrl+T (aka save and test level).
As far as I can tell, saving and then testing will turn it on while testing and then saving will turn it off (but it could be more random than that).

Autotile should never turn on or off on its own.

editor_autotile.mp4
@Semphriss
Copy link
Member

Please enable autotile help to see the real-time changes to the autotile mode.

@Narre
Copy link
Contributor Author

Narre commented Dec 10, 2021

autotile_help.mp4

@Semphriss
Copy link
Member

Autotile should never turn on or off on its own.

Ctrl is the hotkey to toggle autotile mode. This might be playing.

As far as I can tell, saving and then testing will turn it on while testing and then saving will turn it off (but it could be more random than that).

Can't fully reproduce; the only issue I observed is that the autotile mode will be erroneous upon returning from testing a level. Hitting Ctrl once will revert to what its status was before testing the level.

Apart from that, the autotile mode will indeed toggle twice while performing any keyboard input involving Ctrl, but it should cancel out as pressing Ctrl and releasing Ctrl both perform a toggle. Unless you are placing tiles at the same moment you are invoking a save/test with the keyboard, it shouldn't have any significant impact.

@Alasdairbugs
Copy link
Contributor

i havent come across this issue personally, its just a matter of holding ctrl

@Narre
Copy link
Contributor Author

Narre commented Dec 12, 2021

Just pressing Ctrl after a level test seems to be all that's really needed as a workaround. It's still a bit annoying though.

Semphriss pushed a commit to Semphriss/supertux that referenced this issue Dec 14, 2021
tobbi pushed a commit that referenced this issue Dec 14, 2021
…onfig. See #1923 on GitHub. (#1941)

Co-authored-by: Semphris <semphris@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants