Pop-up window gets behind the opened programs (Wayland) (original) (raw)

Hello!

Describe the bug
Pop-up window gets behind the opened programs

Include the following information:

Steps to reproduce the behavior:

  1. If Opensnitch is no freshly instlled delete any rules about KDE's Discover or Qbittorrent
  2. Open Discover or Qbittorrent, which will atumatically do some connections triggering the Pop-up window of OpenSnitc to appear

Expected behavior (optional)
I expected the Po-up window to create a new rule to appear and it appears correctly, but it appears so fast that Discover or Qbittorrent, which appear later are covering it completely when they appear as the appear more in foreground than it.
Because of this I have to minimize Discover or Qbittorrent, click on the Allow or Deny button and then unminimize them to start doing what I wanted with them.
It's ok that pop-up window appears so fast, I wouldn't want it slower or delayed so I guess it's normal that it's covered by a program that opens up later, but I wish the pop-up windows would have a rule or something to stay above the program that triggered it so I can just click on one of its button and get by to the programs that I opened, without having to do the minimize / unminimize thing.

Additional context
I remember I have seen this problem with other programs too.

And there might be even more problematic to decide on Allow or Deny because, for example Kodi and games open up in fullscreen, so there's no minimize button to quickly get that out of the way to see the pop-up window.
In Kodi you have to either quit it or press the "/" to get into its windowed mode, if you know about this shortcut, then minimize it or move it, press Allow | Deny and come back to Kodi and press the "/" to get back into fullscreen.

With games I assume you have to quit it or alt tab it, I'm not sure now as I don't have any game installed to test.

And there's another case with mixed results, for Stellarium:

  1. After starting Stellarium, it's loading pop-up appears.
  2. Then Open'snitch's pop-up over it, which is great.
  3. Then, whe Steallarium is finishes loading, if you haven't already decided to allow it or not, it it opens as full screen covering OpenSnitch's pop-up window and then you can't decide anymore unless you quit it to see the pop-up window again.

So, if you find a way to make the pop-up window show on top of everything or even better on top of the program that triggered it, it would be great for usability.

Another thing that wold be great for usability is that, when a pop-up window appears in the background behind a full screen movie, game, etc, a short optional sound to be played to hear that a pop-up is waiting for you. Maybe some people would like to enable that.
In some case, like when not playing or watching with somebody else, a game or a movie can be paused and the pop-up window be taken care of.
It happened to me to now know that pop-up appeared to allow something until I have finished and exited a game.
But at the same time I would not want a pop-up in front of a game or movie that I'm playing.

Not sure if this is helpful or not:

https://forum.qt.io/topic/1368/solved-how-to-make-always-top-window
https://amin-ahmadi.com/2016/06/20/how-to-make-your-window-stay-always-on-top/

Thank you!