This will be a problem with your GPU drivers. Try updating them, if that doesnt fix it, turn of hardawre acceleration for Qt WebEngine (which isthe component the viewer and edito use) as described here:
https://doc.qt.io/qt-5/qtwebengine-debugging.html