]> git.lyx.org Git - features.git/commit
Try to fix bug #10989.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Thu, 26 Apr 2018 03:46:13 +0000 (23:46 -0400)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 15 Jun 2018 11:45:28 +0000 (13:45 +0200)
commit8abea3b7e94414ce15211590daf193c20d1d7350
tree61a05f127df892d8897e3a3b03546dacf706a3a9
parent00ec2dd10648ba3220ce97c7502897520bb85ac6
Try to fix bug #10989.

The problem is that popping dialogs during reload can cause paint
events for which we are not ready. If this does not work, then we
can introduce a new flag, besides 'busy', for that case. But busy
does not seem to be used very widely, so hopefully this works.

Note that when paintEvent is triggered on macOS, the least we can do
is to copy our backing store to the screen.

(cherry picked from commit 19e6977b5b527ec8311da35d8f0a40d6fd509080)
(cherry picked from commit d03deeca0c666256ea68087c5c70b8de73b66edc)
src/frontends/qt4/GuiWorkArea.cpp