office-gobmx/desktop/source
Szymon Kłos 81df11b1e5 lok: don't render active textbox on all slides
when we render tiles for slide previews we use
viewid = 0 (first session)

so when first session edits any textbox and in other
session we request slide previews (eg. after new slide was added)
then we received tile with additional text from the first session

this is caused by:
    commit bee4ff508a
    desktop lok: avoid unnecessary setPart() in paintPartTile()

    If possible, switch views, not parts, that way started Impress text
    edits don't end as a side-effect.

but later there was a fix which doesn't trigger closing of texbox
editing when switching parts:

    commit ce7bf35197
    impress: don't exit textbox editing when new slide was added

so we don't need that in all cases...
to fix issue described above: still switch views instead of parts
when possible - but avoid views where editing is active

Change-Id: Ib6e66a85b9ca68d6e67e3d9cb17060aa42b85220
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133202
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133650
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135196
Tested-by: Jenkins
2022-05-31 19:18:04 +02:00
..
app
deployment tdf#149280 modified called after dialog was destroyed 2022-05-25 16:34:27 +02:00
inc
lib lok: don't render active textbox on all slides 2022-05-31 19:18:04 +02:00
migration
minidump
offacc osl::Mutex->std::mutex in desktop::Acceptor 2022-05-09 10:17:38 +02:00
pkgchk/unopkg
splash use more o3tl::getToken 2022-05-05 12:57:00 +02:00