]> git.lyx.org Git - features.git/commit
Fixup b7f6b979: make caret geometry update lazy
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 7 Sep 2020 13:45:30 +0000 (15:45 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 18 Sep 2020 07:27:55 +0000 (09:27 +0200)
commit0e4d7db2be29462fa201c178e6824a95974b04db
tree6831f6240788af4bdfc7b6706ecc4a9ee7602c8c
parent64e5a8c01660051a8c5831f6b0f8ef4c66866034
Fixup b7f6b979: make caret geometry update lazy

Instead of working around crashes in update of caret geometry, only
request it as needed. The actual computation will take place just
before painting the caret.

It might be that this is overkill and that caret geometry should be
updated unconditionally. One would have to to some timing while idle to
ascertain that.

Fixes bug #11912.

(cherry picked from commit c1f8c6c26d5480556db1500160d1df6ce79a724f)
src/frontends/qt4/GuiWorkArea.cpp
src/frontends/qt4/GuiWorkArea_Private.h
status.23x