Mouse gestures not working on some apps

They work in firefox but not on the library window. It works on chrome, but for not brave. It also doesnt work on kate for example

Is there a whitelist or otherwise enable the functionality?

system is ubuntu 23 plasma 5.27.7 kernel 6.2