sfx2/source/doc/sfxbasemodel.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit e005690e9c648ce516c1ed60da6341c7215bf2c9 Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Tue Apr 16 18:11:36 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Apr 16 20:49:26 2024 +0200 lok: avoid sending jsdialog messages during background save. This creates lots of enable/disable traffic that is no longer needed, and may trigger a fallback to non-background-save. Change-Id: I3dd789d13b6c28540422d99128014c9c17e00d70 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166157 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 062c594f2c4f..a42f9e6703b8 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -394,6 +394,9 @@ SfxOwnFramesLocker::SfxOwnFramesLocker( SfxObjectShell const * pObjectShell ) if ( !pObjectShell ) return; + if ( comphelper::LibreOfficeKit::isForkedChild() ) + return; // no need to tweak UI when in the background + for ( SfxViewFrame *pFrame = SfxViewFrame::GetFirst( pObjectShell ); pFrame; pFrame = SfxViewFrame::GetNext( *pFrame, pObjectShell )