patch SdrPageWindow in SdXImpressDocument::paintTile()
commit0f699173519176b9bd21761d553c34156c1ebd7d
authorLuboš Luňák <l.lunak@collabora.com>
Tue, 7 Sep 2021 11:02:14 +0000 (7 13:02 +0200)
committerLuboš Luňák <l.lunak@collabora.com>
Wed, 8 Sep 2021 08:31:17 +0000 (8 10:31 +0200)
tree31192f552a99668e1bc15d464ccfe65becb62bc6
parentb9c2207e1b5247b4d3184b137be9a75a4b8c6c37
patch SdrPageWindow in SdXImpressDocument::paintTile()

This is based on commit 424312aa99307da9f0ee60ea6e3213b2b3dc26b4
amd I don't quite understand everything that happens, because
the drawing layer classes have all kinds of comments except those
that would explain the purpose or usage of the classes. My
understanding is that drawing layer keeps all kinds of state
in Sdr* classes and when drawing it tries to find those based
on the OutputDevice. But since tiled drawing uses its own
VirtualDevice for the drawing, the search fails and a temporary state
is used that's always setup up and cleared again. Which is wasteful,
and not having the state around also means that e.g. when clicking
a checkbox for impress master background, with idle painting
disabled there's nothing to react to the event and cause a tile
repaint.

Change-Id: Ic9036680c628d67615a82dcc4f585ab827b91525
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121780
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
sd/source/ui/unoidl/unomodel.cxx