Window running on Xwayland goes to background when restored by double-clicking on its title bar
I use Gnome 3.28 on Arch Linux.
Weird behavior reproducible only on Wayland session when chromium or a chromium-based browser (Opera or Vivaldi, for example) is open.
I can reproduce the problem 95% of the time I follow the steps below:
open chromium or a chromium-based browser and maximize its window
open a Qt5 app (k3b, notepadqq, VLC player, for example) and maximize its window
double click on the title bar of the Qt5 app to restore its window
Result: the window of the Qt5 app is restored and goes to background