I've looked back and my understanding is that you are running Kubuntu 24. Which window manager are you using under Kubuntu? Is it Wayland and X11? If you are running with Wayland, for diagnostic purposes, could you please try the X11 window manager to see if it corrects the problem?