If I'm now in Google, and then go into Discord or Spotify in my taskbar, then my laptop opens the window for the application BEHIND the Google window. Sometimes he switches between the windows normally, but more and more often behind the window that is currently open.
Why is this happening and how can I prevent it?
I hope you understand my problem and can help me with it.
It depends on the program, not every program is so nerdy and puts itself in the foreground, it has been found that this can be quite annoying, e.g. At discord I immediately come up with a reason, I often want to start it on the side and only use it when I need it, but I like popup push messages, they are welcome to be in the foreground, otherwise I would not notice them.
But if you want to force it
https://win10-tipps.de/windows-10-fenster-und-programme-immer-im-vordergrund-oeffnen/
at least says my search engine to your question