lucaschessR2 icon indicating copy to clipboard operation
lucaschessR2 copied to clipboard

Linux wayland native vs xwayland

Open TurtleOrangina opened this issue 1 year ago • 1 comments

When I start Lucas Chess after installing on Linux, it starts in xwayland "compatiblity" mode, as can be checked e.g. by starting "xeyes": The eyes only follow the mouse as long as it is over a xwayland application, for native wayland applications the eyes are frozen.

In this compatiblity mode, I get flickering issues, e.g. when going forward/backwards in moves in a game, the move is not always executed cleanly, but flickers forwards and backwards a few times first.

If I force LucasChessR into starting in native wayland mode, by editing ~/.local/share/applications/LucasChessR.desktop and changing the Exec line into Exec=env QT_QPA_PLATFORM=wayland /home/myuser/LucasChessR/bin/LucasR, then the flickering disappears, but I have a new issue: I cannot paste (Ctrl+v) copied PNGs or FENs into the board to quickly load games or positions anymore - nothing happens when I press Ctrl+V.

TurtleOrangina avatar Aug 18 '24 08:08 TurtleOrangina

I have not been able to replicate it in a virtual machine with Ubuntu.

lukasmonk avatar Sep 12 '24 17:09 lukasmonk

The issue no longer occurs to me either, I freshly installed Ubuntu 24.04 and LucasChess. LucasChess now starts as native wayland application without any invocation tricks, and pasting works.

TurtleOrangina avatar Nov 09 '24 11:11 TurtleOrangina