Le 18/09/2017 à 12:48, Stephan Witt a écrit :
Doesn’t help, sorry.
Perhaps the black screen is „painted“ by the null painter?
The NullPainter is really something that cannot paint. It does not rely
on Qt at all.
Can you try the following? I had removed these calls but I am not sure
what they were good for. You could also try to remove the
viewport()->setAttribute(Qt::WA_OpaquePaintEvent);
JMarc
diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp
index 36dd253..c4e71da 100644
--- a/src/frontends/qt4/GuiWorkArea.cpp
+++ b/src/frontends/qt4/GuiWorkArea.cpp
@@ -318,6 +318,8 @@ void GuiWorkArea::init()
d->updateCursorShape();
+ viewport()->setAutoFillBackground(false);
+ viewport()->setAttribute(Qt::WA_NoSystemBackground);
// we paint our own background
viewport()->setAttribute(Qt::WA_OpaquePaintEvent);