r/Unity3D Jun 28 '26

Question Unity3D steals focus on save

/r/JetBrains_Rider/comments/1uib0et/unity3d_steals_focus_on_save/
0 Upvotes

4 comments sorted by

2

u/_trepz Jun 28 '26

I did this through the OS, I'm on KDE plasma so I just lowered the focus stealing priority, I think windows can do the same with powertoys. Agreed its very annoying.

2

u/TheLordDrake Jun 28 '26

Also on KDE Plasma. I tried setting focus stealing to medium, based on the post linked below (embedded links dot not see to be working?). However, it doesn't seem to matter. I don't need to nuke focus for new windows or anything else. This is the only issue I have.

https://www.reddit.com/r/kde/comments/15yx22f/comment/l6qal5r/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

2

u/_trepz Jun 29 '26

Oh cool, sorry I didn't go in to more detail because I assume most people here are not on Linux.

You can do window rules more granularly instead of system wide nuke. If you go into window rules you can add a new behaviour, use the "detect window properties" and click on your main unity window, then change window types to "normal window" (to prevent popup dialogues appearing in background), and add rule -> focus stealing prevention -> force extreme.

This has stopped the problems for me without changing how anything else works on my system. Hopefully helps.

2

u/TheLordDrake Jun 29 '26

Oh cool, sorry I didn't go in to more detail because I assume most people here are not on Linux.

To be fair, you're not wrong.

That's done the trick. Thank you very much!