Ah - that’s all I had to do to solve it on Ubuntu server 22.04. Maybe desktop is different, maybe 24.04 is different. You can try removing additional packages or following other instructions. I won’t post any links here, as I see different possible solutions and haven’t tried any other than the one above. Let us know what works.
I think it’s hit or miss. I’ve been having this annoying bug since I switched to Plasma 6 + Wayland and I have no idea whether it’ll be solved any time soon.