Le 26/04/2019 à 12:04, Helge Hafting a écrit :
LyX 2.3.2 in arch linux supports wayland rendering (not using X11) by
setting QT_QPA_PLATFORM=wayland-egl
This mostly works fine, with one exception: Now and then, large parts of
the main window shows my background image instead of lines from the
document.
Hi Helge,
Can you try to recompile with the attached patch applied?
JMarc
diff --git a/src/frontends/qt4/GuiWorkArea_Private.h b/src/frontends/qt4/GuiWorkArea_Private.h
index 83012fa..88c04f0 100644
--- a/src/frontends/qt4/GuiWorkArea_Private.h
+++ b/src/frontends/qt4/GuiWorkArea_Private.h
@@ -20,13 +20,13 @@
#include <QMouseEvent>
#include <QTimer>
-#ifdef Q_OS_MAC
+//#ifdef Q_OS_MAC
/* Qt on macOS does not respect the Qt::WA_OpaquePaintEvent attribute
* and resets the widget backing store at each update. Therefore, we
* use our own backing store in this case */
#define LYX_BACKINGSTORE 1
#include <QPainter>
-#endif
+//#endif
namespace lyx {