Abnormal canvas rotation and shortcut keys failure

On windows, some people and I often meet:

  1. Every time I click on the canvas, it will rotate
  2. The keyboard shortcuts do not work. Someone has feedback before, but it has not been resolved. Some people say that “double-click the Tab” can solve this. But this is temporary. As long as you click on something other than krita, it will appear immediately

I discovered today that the screenshot software “snipaste” can trigger these bugs 100%. At first I used the old version of 1.16, which triggered bug 1. Then I updated to the latest version, which stably triggered bug 2.
Other people may not use this software, but I think we can start based on this. These are bugs that affect the experience

2 Likes

I restarted my computer many times today to do experiments. I found that “snipaste” software is not the reason, it may call some functions of windows.

In some cases, windows will enter a special “state”, this “state” needs to restart the computer to refresh. Clicking “Start”, “Search”, “Volume”, and “Time” in this “status” or opening taskmgr will cause the krita canvas shortcut to become invalid.
image
image

As for how to enter this state, I only found it appeared when I used Tencent QQ, the chat software in our area. When I manually enter the password, it will be abnormal, but remember the password will not.

I don’t know what QQ did. People in other countries will also have this problem without QQ, there must be something in common

The same problem, only restarting krita can solve this problem temporarily, very annoying.

1 Like

Maybe it will help you

I found that everything was fine with krita before opening WeChat, and using the screenshot function after opening WeChat would enter the bug of shortcut key conflict, so I was sure that it was because of a program in WeChat that caused krita’s bug, Same as Tencent QQ.

1 Like

Abnormal canvas rotation and shortcut keys failure继续讨论:

I solve this problem.
If you find Ctrl and SPACE do not work because of Wechat,
just press “Win-Key and L” to lockdown your Windows account, then log in to Windows again.
I just find this method today, need more test.

2 Likes

A little new news, someone reported some information to me:

I tested the issue of Krita shortcut keys not working, and it has little to do with software such as WeChat.
The main issue is that other software running as administrator has priority over Krita, causing shortcut keys to fail.
I tested the old version of krita one by one and found it.
Krita 4.2.9 is the last version that is not affected by the third-party administrator identity to run the software.
Krita 4.3.0-beta1 is the first version affected by the third-party administrator identity run software, and there will be problems from Krita 4.3.0-beta1 to the latest Krita 5.2.1.
Does anyone know what’s wrong with the code between krita 4.2.9 and krita 4.3.0-beta1? I have also seen someone report it on the Tieba, but no one has reproduced it. It has been asked since August 2020, which is exactly the problem that occurred in krita 4.30.

2 Likes

Facing the same problem here, each time i used snipaste will break the krita’s panning function, which is quite frustrating!

I have received feedback from another person, and their conclusion is the same as before. Can anyone test this?

This malignant bug is really killing me. It’s just that when I use it, some shortcut keys suddenly become ineffective, especially when I switch to another window, which is most likely to trigger it. I searched the entire network and found all the reports, but none of the proposed solutions were effective. Actually, this bug has been mentioned for a long time, but Krita’s developers have no interest in solving it. In fact, this is a very serious bug because once triggered, the software can hardly function properly. Also, due to this bug, I cannot use Krita as the main drawing software. I can only occasionally open it when I have to use it, and then return to other software to work.
Although many people have speculated, only one post can be considered as discovering the cause of the problem, but the solution is wrong. He said it was because the desktop version of WeChat pressed the F22 button. Other drawing software is not affected because other software specifically deals with virtual button conflicts, but Krita doesn’t care about this set at all, and encountering it is considered unlucky for you.
The F22 button on WeChat does indeed cause the Krita shortcut to malfunction, but this is not the only situation. Therefore, even if you do not open WeChat, other programs may still secretly press a virtual button. Therefore, he discovered the problem, but only solved an isolated case and did not solve it fundamentally.
The fundamental solution, of course, can be directly solved by Krita’s developers, but it seems to be out of reach. The key to solving it on your own is to find out if any virtual buttons have been pressed. This cannot be detected with regular keyboard testing tools because these virtual key values do not have physical keys on the keyboard, so most programs cannot detect them at all.
Using PowerToys KeyboardManager allows for blocking specific key values, but there are actually a lot of virtual keys. I blocked all F keys above F12 until F24, but Krita still malfunctioned.
Finally, one day, I accidentally discovered the truth! Once, I suspected it might be related to the tracker, and then I carefully looked at anything suspicious in the tracker. The result was that there was no problem with the tracker, but there is a very hidden function in the tracker, which is to display the currently pressed button!
In this place, I suddenly noticed that two HanjaMode key values were constantly being pressed! Regardless of what this key is, there is a “reset keyboard state” below that will release all key values with just one click.
Krita immediately became normal.
While I was pondering who pressed this HanjaMode, Krita hung up again. Hurry up and check it out. Sure enough, I don’t know which process pressed another key called D2! Hurry up and release it!
Krita is back to normal.
That’s it, there are always some programs in the background that inexplicably press virtual key values for you, which is the culprit that causes Krita shortcut key anomalies. WeChat’s F22 is just one of them.
It’s a bit difficult to identify the behind the scenes process behind pressing these keys, but at least with channels for detection and release, Krita can finally be used normally (although it still needs to release the keys frequently).
Some people say they are WeChat hooligans, but logically speaking, there is obviously more than just WeChat as a rogue software. But why is Krita not as unaffected as other software?

1 Like

same bug i met, it should be trigged by tencet program.

Well, something wrong does happen when I use Krita yesterday. I remembered a crash happened but after I restart Krita everything goes well again. I need more time trying to link this to Tencent’s product.

But these bug report inspired me to notice the fact that I use blender today with QQ and WeChat on and blender doesn’t get all English Character as input, so doesn’t recognizing any shortcuts.


嗯,我昨天用Krita的时候确实出现了一些问题。我记得昨天Krita崩溃过一次,不过我重启了Krita之后一切都正常了。我需要更多时间来验证这是腾讯产品的问题。

不过这些问题报告启发了我,今天下午开着QQ和微信用Blender的时候,Blender没有收到任何英文字符,所以快捷键失效了。

@ryohai I’ve moved your reply into a more suitable and relevant topic.

2 Likes

I think I met the same bug, after opening Tencent Wechat or QQ, I can’t use space to move canvas, or CTRL to pick color anymore. The affected keys are CTRL, Space, Shift and Alt. Just like @organ said, lock Windows do solve this problem.

Wow, that’s an annoying bug… I suddenly met this for many many times now… Always locking my windows is not an effective way to solve this problem…

I wrote a more specific and detailed post on this topic: How does Krita Detect Shortcut Key?

1 Like