Alt tabbing back into the editor with Microsoft IME (Japanese) input enabled locks up blueprint editors for 8-10 seconds

I’ve got several languages enabled and switch between them using Alt+Shift. Sometimes I mistakenly Alt+tab back into the editor (blueprint editor) with Japanese input still enabled and it locks up the editor for 8-10 seconds which is pretty annoying. Even compiling blueprints when the IME is enabled seems to be slower.

This happens with the Korean IME too although it only locks up for about three seconds.

Hello cyaoeu,

As Microsoft IME changes quite a bit with every version of Windows, what version are you on? Also, how many languages do you have enabled? Can you try disabling the others to see if it still occurs with only 1 extra language enabled? Usually when you switch to another program with an IME active, it’ll swap back to the language that was being used for that program, so it’s possible that it’s having to search through too many and is having some issues.

It would also be helpful if you could provide the log file from a session where this freeze occurred. You can find your logs in the project’s directory under Saved/Logs. It may have some messages about what is going on. It could be an Ensure being triggered, which can cause freezes such as this.

I’m using Win 8.1. I noticed that the more blueprints you have open the slower it gets. I had three languages enabled, but even after removing the other language so I had two there was no real difference in the hitches.

The logs don’t say anything special, basically just:
[2017.05.09-21.57.37:560][254]LogWindowsTextInputMethodSystem:Display: IME system now activated using TSF (Microsoft IME).
[2017.05.09-21.57.40:839][384]LogWindowsTextInputMethodSystem:Display: IME system now deactivated.
[2017.05.09-21.57.40:839][384]LogWindowsTextInputMethodSystem:Display: IME system now deactivated.

for enabling and disabling the Japanese input in the blueprint editor window. It happens when alt tabbing with Japanese IME enabled or when toggling from another language to Japanese in the editor. I don’t really use Japanese in UE4 so that doesn’t happen to me but I can imagine it happening for other people.

If I switch to Japanese in the editor so it’s set to Japanese, alt tab still with Japanese and alt tab back again there are no hitches, it just happens when switching to Japanese from some other language.

Thank you for the information. I’m currently attempting to reproduce and getting a Windows 8.1 machine setup just in case it is specific to that. In the meantime, is this something that happened in previous versions of the editor as well or only in the 4.16 Preview?

As for the logs, even if you aren’t able to see anything useful, please upload the log file.

I think this has been an issue for a long time, I just didn’t think about it or that it was connected to the IME somehow. At least it’s not new to 4.16. I don’t know if it’s specific to 8.1 but it may be specific to the Japanese Windows IME, I didn’t test any other Japanese IMEs.

I’m attaching a log from Content Examples, it’s called 415 but it’s a copy of a 4.15 version opened in 4.16. I opened a few blueprints but they were pretty light so there was only a 2sec or so hitch. It seems like the more nodes you have the larger the hitch. If you’re testing it you can try it out on some enormous BP and see if anything happens.
link text

I have the same problem. In my case, Unreal editor couldn’t open blueprints at all. I’m using Win10 & Korean IME & UE 4.15.2.
It seems to be related to FWindowsTextInputMethodSystem::RegisterContext().

Thank you for all of the information. I’ve reproduced this on Windows 8 and will be entering a bug report. I need to test this on a few other versions as well so I will post here when the bug has been entered.

Great news. I look forward to it.

I’ve entered a bug report for this issue which can be found here: UE-45014. As expected, it ended up being specific to Windows 8, 8.1, and 10, due to the changes made to the Microsoft IME in 8. You can use the bug report I linked to to track this issue’s status.

Have a nice day!

Thanks!
In my case, this problem is really serious. Regardless of the Alt-tab, I cannot open “any” blueprints if the IME is set to Korean before opening the editor or while it is open. And once this happens, I have to kill the process unconditionally and restart the editor. Sadly I mostly need Korean IME.
Is there any workaround for this problem?

Unfortunately I can’t think of any kind of workaround, you’ll likely need to wait for a fix to the issue. If you do see this issue get fixed according to the bug, it will also be accompanied by a Github commit at some point, you can integrate that commit into a source build of an engine and it will most likely resolve the issue for you.

It seems like this issue got worse in 4.17, I guess because of the blueprint compilation manager. If it happens it’s basically like an editor crash because the editor stops responding for minutes at least.

I tested this in UMG, typing Japanese into a text variable for a custom text widget. The editor stopped responding for 90 seconds.
Edit: The closing other open blueprints method still works. Doing that I reduced this time to a measly (?) 16 seconds.

Status: Fixed according to issue tracker
Target Fix 4.18
Fix Commit 3600812