(This is not about web browsing), this is about:
- system popups (I know only the one about: application not responding).
- Windows focus and input grabbing behavior.
what is the worst thing we all (???) ever faced about popups?
We click on their button by mistake, the window vanishes and we dont know what it was about, there is no log, there is no recording to review, my visual memory (on my brain) wont give enough hints about the mess I did, we end up with nothing!!
And it is rare to happen to me, but frequently relatives, not used to technology, have problems with it, they just impatiently keep clicking and the sudden popup/window makes them create unnecessary problems.
not only on ubuntu, anywhere: windows, android (mac too? never saw one, neither iphone).
so, i wonder if there is some config on gnome (that I use) or any other WM on linux, that we could force the new window, or popup (*1) to be blocked from all input for a few seconds, so we have a time to see and understand what it is about.
(*1) like the system popup saying the application is not responding and if we want to missRageClick on force close or missHappyClick on wait, as I also dont really need it because I could just run xkill thru xbindkeys, but another popup could still come above and make me xkill it!!!! not if we could block all input for a few seconds...
So, my concern is about any new windows too, of other applications, that open above other ones we are reading or interacting with. And then that new window grabs the keyboard input, or receives mouse clicks and makes things complicated.
Changing the focus behavior, if the WM allows it, is not a good option (like make windows open below others), as it makes it much more difficult the use it.
What I want is any new window or popup to continue behaving that way, opening above other windows, but do not promptly receive any input! For ex. they could be opened with SIGSTOP for 2s, I think it could work.
ubuntu 20.04 here
PS.: I use machines of about 10+ years old, so applications dont open instantly, or I may have started a heavy application like 10 minutes ago (like UE4Editor) and that app suddenly opens receiving mouse clicks, and the application may receive keyboard input too.