pyqt5 - Qt5 widgets seem slow to respond (redraw) after a click or a hover in i3 window manager -
while using favorite window manager i3 on fedora core 24, have upgraded pyqt5 pyqt4 working perfectly. started minimal example: import sys pyqt5.qtwidgets import ( qapplication, qpushbutton, qvboxlayout, qwidget, ) def test(): app = qapplication(sys.argv) window = qwidget() lo = qvboxlayout() window.setlayout(lo) in range(10): btn = qpushbutton(str(i)) lo.addwidget(btn) window.show() sys.exit(app.exec_()) if __name__ == '__main__': test() what saw: the widget's buttons not responsive. i.e. appearance slow update , feels laggy after click. if window loses focus (by moving mouse out example) buttons update immediately. happens when using i3, other wms don't seem have problem (tested on gnome). a yet stranger behavior observed sometimes: after clicking button looks clicked 5 seconds, appears in normal state next 5 seconds, clicked state! what expected instead: a smooth gui behavior similar py...