How did you configure Krita? I see almost nothing in the "tablet settings" section besides pressure. When Krita has focus and I draw on the tablet, it does nothing. Every other app treats the tablet like a mouse.
I would add that I did have some issues with the Flatpak version of Krita where the tablet didn't draw as expected. Replacing it with the standard deb from apt repositories fixed that though.
This page of the Krita manual has some troubleshooting suggestions specifically for Windows: https://docs.krita.org/fr/user_manual/drawing_tablets.html