Mouse focus (and now mouse behavior) issue

Ever since around November, plasma will ignore any attempt to focus on a window and if i scroll it will simply scroll through all apps ignoring all input like closing windows, on other occasions it will lock on a window and have weird behavior (for example in blender rotation mode is forced?), the solution for me until now was to change environments (F3 → F2, F4 → F2, yk the deal) and do that again every time it happened, this also happens on x11, it will happen even if there is no xwayland apps running (as in a clean boot, in fact i always have to switch envs after each boot).
More recently it seems any text im writing will be copy and pasted repeatedly at random, which gets temporarily solved by the same method, and the past issues seem more frequent.
I’m running tumbleweed, plasma wayland.
I plan on trying a live usb with tumbleweed just to check if it persists (in the past it did persist in fedora’s, so I don´t think its anything wonky in tumbleweed). Hey who knows, maybe I’m the first desktop linux user to get a virus /j
Jokes aside, is this (or are these) a known bug? I did see something from years back for ubuntu (how i found out i could mitigate it with switching environments).

Also: Sometimes it will start any app I’m focusing on, i almost crashed my PC with like 7 blender instances, those poor 8 GB of RAM…

Hi! What you’re describing sounds like an input device issue, where perhaps modifier key presses (like Ctrl?) are getting stuck, or mouse clicks are getting sent incorrectly. Do you have an alternate keyboard and mouse that you could try out? Fresh batteries in anything wireless? :slight_smile:

Sorry for the late reply!
I have seen stuff like that while trying to figure out this, but it really just doesn´t make sense, why would this be a hardware issue if it happens in such a consistent (in my non de-dev opinion) non hardware issue like behavior? All my devices are wired.
I’ll go grab another keyboard and mouse and boot into live tumbleweed again, thank you for trying to help me out. I was going to make a bug report in the bug tracker but I can try this first.

Ok so you seem to be correct? Man I don´t know if that makes me happy or even more annoyed. It happens with my mouse! I do wanna see what exactly it is doing and why switching envs fix it, if i figure it out ill come back here again

Using xinput for testing, it seems that whenever i unplug and replug my mouse it will not send out any event BUT it will begin ignoring the focus of this specific mouse (the correct behavior can be seen with another mouse), that does NOT sound hardware related because I’d see some event for it (all I see is the same motion events except it won´t trigger the leave event), no? (and this causes the behavior i described, i could screen record but to reiterate it basically ignore any attempt to focus on another app for example so if i hover to my panel it won’t react at all)

Anything else I should test? @johnandmegh

So this happens only with this specific mouse? And only after unlpug and replugging it?

Also happens if I just keep using that mouse, I can´t recognize a pattern I think, and it fixes it self if i switch environments or use another mouse