Am 04.10.2017 um 15:30 schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>: > > Le 03/10/2017 à 21:32, Jean-Marc Lasgouttes a écrit : >> So there are some situations where LyX tries to make a minimal redraw >> because ut thinks that the screen is still correct, although Qt actually >> wiped it out. We have to find a way to detect these cases. > > Could you try the following debug patch? It prints out the code of all events > the GuiWordArea::event() sees. I also removed the cursor blinking to reduce > the number of events. > > Could you send me the events that get printed on console at the moment where > the screen turns black? > > JMarc > <0001-debug.patch>
These are the events printed in terminal window: Start LyX Error: New binding for 'Kontroll-T 1' is overriding old binding... Error: New binding for 'Kontroll-T 2' is overriding old binding... Error: New binding for 'Kontroll-T O' is overriding old binding... Error: New binding for 'Kontroll-T T' is overriding old binding... Error: New binding for 'Kontroll-T X' is overriding old binding... Open splash.lyx - focus out: frontends/qt4/GuiWorkArea.cpp (689): handle event(68) frontends/qt4/GuiWorkArea.cpp (689): handle event(152) frontends/qt4/GuiWorkArea.cpp (689): handle event(109) frontends/qt4/GuiWorkArea.cpp (689): handle event(21) frontends/qt4/GuiWorkArea.cpp (689): handle event(75) frontends/qt4/GuiWorkArea.cpp (689): handle event(69) frontends/qt4/GuiWorkArea.cpp (689): handle event(69) frontends/qt4/GuiWorkArea.cpp (689): handle event(69) frontends/qt4/GuiWorkArea.cpp (689): handle event(13) frontends/qt4/GuiWorkArea.cpp (689): handle event(14) frontends/qt4/GuiWorkArea.cpp (689): handle event(17) frontends/qt4/GuiWorkArea.cpp (689): handle event(26) frontends/qt4/GuiWorkArea.cpp (689): handle event(8) frontends/qt4/GuiWorkArea.cpp (689): handle event(207) frontends/qt4/GuiWorkArea.cpp (689): handle event(74) frontends/qt4/GuiWorkArea.cpp (689): handle event(78) frontends/qt4/GuiWorkArea.cpp (689): handle event(43) frontends/qt4/GuiWorkArea.cpp (689): handle event(43) frontends/qt4/GuiWorkArea.cpp (689): handle event(43) frontends/qt4/GuiWorkArea.cpp (689): handle event(76) frontends/qt4/GuiWorkArea.cpp (689): handle event(43) frontends/qt4/GuiWorkArea.cpp (689): handle event(76) frontends/qt4/GuiWorkArea.cpp (689): handle event(23) frontends/qt4/GuiWorkArea.cpp (689): handle event(23) frontends/qt4/GuiWorkArea.cpp (689): handle event(25) frontends/qt4/GuiWorkArea.cpp (689): handle event(9) Cursor up (51, 207, 6, 7) - focus out: frontends/qt4/GuiWorkArea.cpp (689): handle event(8) frontends/qt4/GuiWorkArea.cpp (689): handle event(207) frontends/qt4/GuiWorkArea.cpp (689): handle event(24) frontends/qt4/GuiWorkArea.cpp (689): handle event(207) frontends/qt4/GuiWorkArea.cpp (689): handle event(51) frontends/qt4/GuiWorkArea.cpp (689): handle event(207) frontends/qt4/GuiWorkArea.cpp (689): handle event(6) frontends/qt4/GuiWorkArea.cpp (689): handle event(7) frontends/qt4/GuiWorkArea.cpp (689): handle event(23) frontends/qt4/GuiWorkArea.cpp (689): handle event(23) frontends/qt4/GuiWorkArea.cpp (689): handle event(25) frontends/qt4/GuiWorkArea.cpp (689): handle event(9) Focus in - focus out: frontends/qt4/GuiWorkArea.cpp (689): handle event(8) frontends/qt4/GuiWorkArea.cpp (689): handle event(207) frontends/qt4/GuiWorkArea.cpp (689): handle event(24) frontends/qt4/GuiWorkArea.cpp (689): handle event(207) frontends/qt4/GuiWorkArea.cpp (689): handle event(23) frontends/qt4/GuiWorkArea.cpp (689): handle event(23) frontends/qt4/GuiWorkArea.cpp (689): handle event(25) frontends/qt4/GuiWorkArea.cpp (689): handle event(9) Focus in - Cursor up - focus out: frontends/qt4/GuiWorkArea.cpp (689): handle event(8) frontends/qt4/GuiWorkArea.cpp (689): handle event(207) frontends/qt4/GuiWorkArea.cpp (689): handle event(24) frontends/qt4/GuiWorkArea.cpp (689): handle event(207) frontends/qt4/GuiWorkArea.cpp (689): handle event(51) frontends/qt4/GuiWorkArea.cpp (689): handle event(207) frontends/qt4/GuiWorkArea.cpp (689): handle event(6) frontends/qt4/GuiWorkArea.cpp (689): handle event(7) frontends/qt4/GuiWorkArea.cpp (689): handle event(23) frontends/qt4/GuiWorkArea.cpp (689): handle event(23) frontends/qt4/GuiWorkArea.cpp (689): handle event(25) frontends/qt4/GuiWorkArea.cpp (689): handle event(9) HTH, Stephan