• Miklos Vajna's avatar
    svx lok: fix handling of text edit drawing when view/page changes · 5f65ca15
    Miklos Vajna yazdı
    This is a follow-up to commit 9d91d371
    (svx lok: draw text edits in all views, 2016-07-26). Two corner-cases
    are now handled:
    
    1) When the SfxViewShell is created after begin text edit and
    2) When the other draw view is already created, but at the time begin
    text edit happens, the other draw view shows a different page.
    
    And the opposite of these: switching away from a page were we observe a
    text edit done in an other view or destroying a view that observes a
    text edit.
    
    When the complete view goes away, then SdrObjEditView::HideSdrPage() is
    not called, so also try to destroy the outliner view of the text edit
    from SdrObjEditView::DeleteWindowFromPaintView(). The GetSfxViewShell()
    call in SdrObjEditView::ShowSdrPage() is important, because we let the
    other draw view create the outliner view, but the outliner view should
    invoke our view shell, not the view shell of the other draw view.
    
    Also improve the SdTiledRenderingTest::testCursorViews() testcase, so
    that it asserts it managed to begin text edit and use a test document
    that still has a single slide and shape, but the shape is not
    auto-sized; otherwise invalidations happen even if outliner views are
    not created in all draw views, so the test would pass even without the
    fixes.
    
    Change-Id: I2c3bb27826c6887115366db818599fc8adabc5a5
    Reviewed-on: https://gerrit.libreoffice.org/27583Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
    Tested-by: 's avatarJenkins <ci@libreoffice.org>
    5f65ca15
Adı
Son kayıt (commit)
Son güncelleme
..
LibreOfficeKit Loading commit data...
animations Loading commit data...
apple_remote Loading commit data...
avmedia Loading commit data...
basegfx Loading commit data...
basic Loading commit data...
canvas Loading commit data...
codemaker Loading commit data...
com/sun/star/uno Loading commit data...
comphelper Loading commit data...
connectivity Loading commit data...
cppcanvas Loading commit data...
cppu Loading commit data...
cppuhelper Loading commit data...
cppunittester Loading commit data...
dbaccess Loading commit data...
desktop Loading commit data...
drawinglayer Loading commit data...
editeng Loading commit data...
filter Loading commit data...
formula Loading commit data...
framework Loading commit data...
helpcompiler Loading commit data...
i18nlangtag Loading commit data...
i18nutil Loading commit data...
jvmaccess Loading commit data...
jvmfwk Loading commit data...
linguistic Loading commit data...
o3tl Loading commit data...
onlineupdate Loading commit data...
oox Loading commit data...
opencl Loading commit data...
osl Loading commit data...
package Loading commit data...
registry Loading commit data...
rsc Loading commit data...
rtl Loading commit data...
sal Loading commit data...
salhelper Loading commit data...
sax Loading commit data...
sfx2 Loading commit data...
shell Loading commit data...
sot Loading commit data...
store Loading commit data...
svl Loading commit data...
svtools Loading commit data...
svx Loading commit data...
systools/win32 Loading commit data...
test Loading commit data...
toolkit Loading commit data...
tools Loading commit data...
touch Loading commit data...
tubes Loading commit data...
typelib Loading commit data...
ucbhelper Loading commit data...
uno Loading commit data...
unoidl Loading commit data...
unotest Loading commit data...
unotools Loading commit data...
vbahelper Loading commit data...
vcl Loading commit data...
wntgcci Loading commit data...
wntgccx Loading commit data...
xmloff Loading commit data...
xmlreader Loading commit data...
xmlscript Loading commit data...
default.rc Loading commit data...
postmac.h Loading commit data...
postwin.h Loading commit data...
premac.h Loading commit data...
prewin.h Loading commit data...
version.hrc Loading commit data...