diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-06-30 12:40:49 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-06-30 11:37:37 +0000 |
commit | 6168f10b6280b2d60de44a333f3f1dc23cbb9bcf (patch) | |
tree | b2bd6ab025fc9fc2a6bbe40634ec836ec63c3789 /fpicker | |
parent | 0ac0061b437310c8bfb9d8b3596dae579a264b46 (diff) |
sw lok: mix missing invalidation due to page calc in visible cursor change
Steps to reproduce in gtktiledviewer:
- two windows, then enable edit in both
- view #0: go inside a word
- view #1: select the same word
- press Del in view #1 -> no invalidation
Fix the problem by changing the LOK-specific GetPageNum() call in
SwVisibleCursor::SetPosAndShow(), so that it doesn't re-calculate the
frame, that way later when SwLayAction::TurboAction_() attempts to
re-calculate the layout, then the frame will be still invalid, and that
re-calculation then triggers the necessary invalidations.
Change-Id: I8c4472b9809537fcbd4a20c73f39be7ebca16b1f
Reviewed-on: https://gerrit.libreoffice.org/26802
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'fpicker')
0 files changed, 0 insertions, 0 deletions