I use Arch Linux running KDE Plasma 5.15.2 and Qt 5.12.1 on Wayland.
"Minimize to tray" feature of apps running natively on Wayland does not work when I try to minimize such apps to systray by clicking on the minimize button in the title bar
or by clicking their entry in the task bar of KDE Plasma.
Such apps only are minimized to systray as expected when I click their icon in the systray.
"Minimize to tray" also works as expected when I force the same apps to run on Xwayland runing "QT_QPA_PLATFORM=xcb app".
Some affected apps:
qoob dev wrote:
"It is either a Qt or a Wayland limitation. The windowStateChange event is not trigerred as the window is minimized, and the windowState() return an incorrect value. Oddly, the reported window states seems to be limited to "activated" and "maximize" in Wayland."