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

When closing an interface window within the game whilst typing in Japanese with IME keyboard, the game crashes #7952

Closed
vineet131 opened this issue Jan 21, 2020 · 1 comment
Labels
bug
Milestone

Comments

@vineet131
Copy link

@vineet131 vineet131 commented Jan 21, 2020

Version of OpenTTD

1.9.3

Expected result

The program shouldn't crash

Actual result

The program crashes

Steps to reproduce

Not sure if something can be done about this but here goes:
I use the standard English keyboard, but since I need to use Japanese often, I have the Microsoft IME for Japanese downloaded. Two things to know: I have enabled the setting where right clicking on a box closes it, and I use the fonts small_font = MS Gothic & medium_font = MS Gothic in the openttd.cfg file so that Japanese shows up properly. So I'm playing normally, and I create one city. I start creating the next city, so I type the "Town name" in the "Town generation" box and I enter 2 characters in Japanese, but then I think Nah that city's not needed. Now if you have used the Microsoft Japanese IME keyboard, you would know it shows suggestions of different kanjis as a dropdown. While that dropdown box with kanji suggestions was active, I right clicked on the "Town generation" box (since I had decided that town was not needed). And right there, my game crashes. I hope this information is sufficient, attached are the dumps from the crash, thank you!
crash.log

@glx22 glx22 added the bug label Jan 21, 2020
@glx22 glx22 added this to the 1.10.0 milestone Jan 21, 2020
@glx22
Copy link
Contributor

@glx22 glx22 commented Jan 21, 2020

Confirmed.

glx22 added a commit to glx22/OpenTTD that referenced this issue Jan 21, 2020
@LordAro LordAro closed this in 341941a Jan 22, 2020
douiwby added a commit to douiwby/OpenTTD that referenced this issue Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.