Krita 5.3 on ubuntu 26.04 wacom not working

found this thanks to a friendly user:

Unfortunately I do not seem able to downgrade to the mentioned version, unless I am simply doing it wrong but I have been trying with:

sudo apt install xwayland=xwayland-24.1.9 and various version of this but I get:

Package xwayland is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source