Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application freezes when changing windows keyboard input language

Tags:

c#

When I run my application, do some work on it and click the language button on the Windows taskbar and change the input language, my C# application freezes displaying an hourglass cursor. Does anyone have any idea on what may be going wrong? I have absolutely no clue where to start...

like image 897
user324233 Avatar asked Nov 15 '22 11:11

user324233


1 Answers

First of all, your problem is hard to follow, since we don't know what is going on in your application. Neither we know which exactly code in your application freezes.

For others, the problem in your application is not clear. So having this quite weakly defined problem, it's hardly possible that someone can help.

You can do the following in order to resolve the issue:

  1. Try to build a minimal test case, which reproduces the problem. Usually you'll need to start with a copy of your source code, and remove features until the bug is not reproducible any more.
  2. After this, you will most likely see yourself, where the problem is.
  3. If not, you can post the example and the changes which make the bug happen. Please kindly try to remove as much as possible from the example, leaving only essential part.

This way you will most likely have your problem solved.

like image 173
Vlad Avatar answered Apr 23 '23 11:04

Vlad