I'm not sure what the proper fix would be, but I can see the problem is in onVisibilityChanged in main.qml
When you go into full screen it strips the Qt.WindowStaysOnTopHint flag, and presumably doesn't restore it.
onVisibilityChanged: {
var enabledAlwaysOnTop = root.visible && root.visibility != Window.FullScreen;
systemTray.alwaysOnTopEnabled(enabledAlwaysOnTop);
if (!enabledAlwaysOnTop) {
root.flags &= ~Qt.WindowStaysOnTopHint;
}
.....
I'm not sure what the proper fix would be, but I can see the problem is in onVisibilityChanged in main.qml
When you go into full screen it strips the Qt.WindowStaysOnTopHint flag, and presumably doesn't restore it.