Please Help! - Krita Working Inconsistently

Krita Version: 5.2.2

Operating System: Windows 11

Graphics Card: AMD Ryzen 5 4500U with Radeon Graphics

Graphics Tablet: Huion Kamvas 22 (Driver_15.7.6.756)

Hello! So I have been using Krita for 2-3 years and everything was smooth sailing until last Friday when it started to work inconsistently than normal. I have never in my time using Krita had this issue/bug up until now and it has been bothering me for the past few days.

Here is a list of issues that I have encountered using Krita:

  • Keyboard inputs not responding at times (strangely, only ctrl+z was affected by this issue)
  • Mouse cursor not appearing when approaching the workspace
  • Pop-up Palette won’t open consistently (even though Krita detects the input)
  • Mouse right button and scroll wheel not working in Krita (it works fine outside of Krita)
  • At some point, the buttons in the workspace won’t respond
  • no response from the inputs of my pen (even though it works outside of Krita)

Here are the solutions I tried to fix or avoid the issue but to no avail:

  • I uninstalled and reinstalled Krita several times

  • I downgraded my Krita version from 5.2.2 to 5.2.0

  • I reset my Krita version to default settings

  • I went to the “Configure Krita” settings and changed the Tablet Input API to Windows 8+ Pointer Input & turned on “Use mouse events for right- and middle-clicks”

  • I removed all of my brush bundles

  • I added another input for opening the Pop-up Palette

  • I reset my laptop to its default settings

  • I have updated, installed, downgraded my tablet driver multiple times

I’m running out of options at this point and I cannot exactly pinpoint where the source of the problem is. I don’t know if Krita or my Tablet Driver are the issue because both work fine separately. If anyone can provide me with solutions, tips, or advice, It’ll be greatly appreciated!

:slight_smile: Hello @GrizzlyGabriel and welcome to the forum!

Usually this happens after Windows updates, whether it is an update for which you have to restart the PC or one of the updates that are installed without restarting and unnoticed, “behind your back”, is irrelevant here.

Uninstalling and reinstalling Krita is the biggest waste of time in the world, Krita’s settings files and resources are separate from the installation, and that is for a very good reason.
Krita’s program files can only really be damaged by malware infections or a very extreme system crash, so in the years I’ve been supporting users with Krita, reinstalling Krita has only been helpful 4 times (and users’ PCs had other, bigger problems), that’s round about 0.0001% of all cases where it helped.

Regarding reinstalling graphics tablet drivers. Experience has shown us that after uninstalling, according to the manufacturer’s instructions, a PC must be completely shut down, i.e. the power must first be switched on again to restart! Hibernation should be bypassed if possible or switched off so that the PC does not restart with the same memory state that it had when it was shut down (this is where the “blessings” of modernity bite each other in the backside (Hibernation should also be switched off anyway if you use SSDs (and love your SSDs) in order to significantly extend the service life of the SSDs!))
The same applies after reinstalling the driver, the PC must also be restarted using the power switch after it has been shut down to switch it off.
Please be sure to observe the manufacturer’s instructions in the manual whether the graphics tablet may be connected to the PC during installation, must be connected, or should never be connected!
This may sound like computer voodoo, but strangely enough it has often helped to reinstall the drivers that have just been installed without this power-off restart procedure in this way, but probably only Microsoft knows why this is so, but they probably don’t know either.

If you want to reset Kritas settings, you will find the file kritarc in the folder %LOCALAPPDATA% on your PC. To do this, close Krita, then enter %LOCALAPPDATA% in the address bar of your Explorer and confirm your entry by pressing the Enter-Key.
You will then find the file kritarc, with a few other files that have krita in their name, at the end of this folder, but not in one of its subfolders! It is best to move all files with krita in their name to another directory, then Krita will recreate all files the next time it is started, but at least the file kritarc must either be renamed or moved from there, that is the file where Krita’s settings are stored in, and it is good to have a backup of that kritarc in case it gets corrupted and needs to be renewed, this spares you the time to recreate Krita’s UI to your liking.
If you have not yet activated the display of file name extensions in your Explorer, you MUST do so under Windows 11, as Microsoft has cut further capabilities from its crippled OS. You can activate the view of the extensions in the “View” menu of the Explorer, there is a checkbox on the far right of the menu bar, you may also want to activate (at least temporarily) the display of hidden files and directories.

Uninstalling resources should not be needed usually (it is nearly as seldom as the need to re-install Krita, maybe you need to add an extra zero :thinking: ). But rebuilding Krita’s resource cache is a thing that could be of help more often (and it is not so tedious).
You can find Krita’s resource folder by entering %APPDATA%\krita\ in the address bar of the Explorer and confirming this entry with the Enter key, this command will take you directly to Krita’s resource folder. The ‘‘resourcecache.sqlite’’ can be found at the very end of that folder, there you can rename the file ‘‘resourcecache.sqlite’’ to ‘‘resourcecache.sqlite.old’’ to let Krita rebuild its resourcecache (this only works if Krita is not active).

So, and now I have to retire for a while.

Michelist

3 Likes

hi! thanks for responding, I’m thankful you came to aid me with my predicament. Unfortunately, the methods that you provided me in trying to fix the issue didn’t work and it persists even when using a different laptop (while still using the same graphics tablet), if you have any alternative solutions, please let me know!

thank you again for at least trying!

P.S. Sorry if I responded late, I was busy irl

Do you have any Windows updates that happened around before the date/time the problem started and that you can uninstall?
If so, try uninstalling that/those updates.

Do you have any other applications running at the same time as krita? If so, stop them.

Do you have any utilities running that you installed before the problem started?
Examples are file synchronisation clients, keyboard/game mappers, whatever.
If so, try stopping them then set them to not autostart, then restart your computer.

As far as I know, there weren’t any significant updates that happened when the issue appeared.

I don’t have any applications turned on while using Krita because I usually turn them off when I start using Krita.

As for any utilities, I don’t use any file synchronization clients or keyboard/game mappers (the only thing I can remotely think of regarding utilities is FDM but it didn’t affect Krita before and after I installed it).

Control Centre → All Settings → Windows Update → Update History will confirm that and then Uninstall Updates would tell you which, if any, can be uninstalled.

FDM (Free Download Manager?) might have had a recent update that does have an effect.

This is a straw clutching exercise but if you don’t chase them then you won’t catch them.

I have uninstalled FDM and any Windows updates I can uninstall (even though all of the Windows updates happened before the issue appeared). Unfortunately, none yielded any results :frowning:

Here’s a list of the Windows updates I uninstalled:

Update for Microsoft Windows (KB5034467)
Microsoft Windows | Microsoft Corporation | Installed on 02/03/2024

Security Update for Microsoft Windows (KB5012170)
Microsoft Windows | Microsoft Corporation | Installed on 02/03/2024

Feature Update for Windows 11 23H2 via Enablement Package (KB5027397) Microsoft Windows | Microsoft Corporation | Installed on 02/03/2024

Security Update for Microsoft Windows (KB5035853)
Microsoft Windows | Microsoft Corporation | Installed on 23/03/2024

I have no idea what could be going wrong for you.

Something has happened that has affected krita. We can’t figure out what it is that’s happened.

As for the significance, the “size” of an update is absolutely irrelevant, what is important is a change to the operating system.

Only updates that occurred before the error can be considered as source of the issue, updates do not damage anything retroactively (although the new updates could theoretically also have errors after the error occurred), but that is another story.

Michelist

ok, so I have concluded that it has to be a Windows update that affected Krita (it’s my best guess right now).

Here are some more pieces of information I’ve gathered for the past few weeks:

  • It was still prevalent even when the drawing tablet wasn’t connected.
  • It was also still present when using a new laptop.
  • Even when opening old and/or new Krita files, the issue was still there.
  • The issue wasn’t common among other art software (e.g. Firealpaca, Medibang Paint Pro, etc).

Just like Michelist said: “only updates that occurred before the error can be considered as the source of the issue,” so my best guess right now is there was a new Windows update that happened somewhere between the end of February or at the start of March that was mandatory for most users which affected Krita in some capacity (those are my assumptions for now).

I think I already missed my opportunity to uninstall some of the Windows updates before February because it’s in the Update History.

In the meantime, I’ll try to submit the issue as a bug report or wait for another Windows update that might fix Krita on its own.

I use Windows 11 Pro which is up to date and I don’t have the problems you’ve mentioned.
It really is a puzzle.

Achhhh - as soon as I saw Huion I groaned lol I was battling odd behavior for a long time. What worked fine in Photoshop, Gimp, Clip Studio, etc didn’t seem to be working well in Krita. I was convinced Krita was at fault (maybe still is). But after digging through some bug records I saw mention of the Huion driver as a source of the problem. Sure enough - disabling the rocker switch function on the pen seemed to solve all the problems. Make sure you have the latest Huion driver and then try running things with the rocker switched disabled and see if that helps.

I haven’t had any real (bad) problems since I disabled the rocker switch function. You would think disabling a feature like that would be a deal breaker but for me, it wasn’t that bad. I am also using Huion’s keydial product and I can program those features into the keydial pad so my left hand is usually very busy lol. But everything works fine in Krita. Oh… there are some odd things that pop up from time to time but they aren’t “deal breakers”.

PS: I’m using a Kamvas 22 Pro pen display. My display is almost 3 years old.

1 Like

I don’t know how, and I don’t know why, but somehow disabling the press keys in my pen managed to fix the problem!

The only downside though is that I won’t be able to open the Pop-up Palette or switch to eraser mode using my pen but I can get over it pretty easily.

Thank you so much! Now I can continue using Krita peacefully again! :blush: :blush:

1 Like

It makes no sense to me either. I understand what the loss of features mean. The options here are limited and/or expensive. This problem has already been reported as a bug. Doesn’t seem to have caught anyone’s attention. I guess this is one of the quirks of free software. You get what you pay for.

You could try contacting Huion and see what happens there. It doesn’t make sense though that Krita is the only app that exhibits the problem. You could switch apps. I considered that when I installed Photoshop. I had every intention of making that my primary drawing/painting app… but that user interface… yeessh lol Actually all the other app options seemed funky to me. That’s what kept me here. There’s a lot to like about Krita. You could switch to Wacom. I don’t know how much that would cost. For me it was like double or triple what I paid for my Kamvas Pro. Consider the Keydial unit. They’re less than a hundred bucks and you get the added advantage of push button hot key/combo commands.

I don’t personally use the popup palette so that wasn’t a big deal for me. The erase button was nice but that’s now a permanent keydial button. Anyway, you might find your own workarounds. Best of luck!

2 Likes

I am considering buying CPS (Clip Studio Paint) as my primary drawing software but Krita and Medibang Paint Pro will still do just fine, it’s just best to wait for when CPS goes on sale. As for purchasing a new tablet, I am in no financial way of buying another display tablet once I get a job (although I would consider getting a pen tablet instead). I do want to buy a keydial because I don’t want to worn out my keyboard too much.

fyi - there are two different keydial versions: there’s the original KD100 and a newer model KD20. The KD100 uses a USB dongle (small plug that provides remote - untethered - operation). The KD20 uses Bluetooth - if your PC has Bluetooth capability then get the KD20. Both models have a built-in (apparently non-replaceable) battery, but they have to be recharged via a USB cable. I originally bought the KD100. I found myself having to recharge almost daily depending on my work schedule. Because my setup doesn’t move, I eventually chose to just use the cable always plugged in. I don’t know why but eventually one of the keys stopped working so I switched over to the KD20 model. I’m still running it via cable to the side of my pen display. The two models are virtually identical in size and programming capability. The KD20 has a black case and the KD100 has a grey color case. To be honest I preferred the lighter grey color because the black case makes it harder to see the switches which are also black. Huion provides some small colored labels you can attach to the top of the keys to make them more visible.

2 Likes

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.