Sometimes a window unmaximized by double-click in its title bar goes to background
I use Gnome 3.28 on Arch Linux.
Weird behavior reproducible only under Wayland when chromium or a chromium-based browser (Opera or Vivaldi, for example) is opened.
I can reproduce the problem 95% of the time I follow the steps below under Wayland:
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 title bar of the QT5 app to unmaximize the window
Result: QT5 app is unmaximized and goes to background