office-gobmx/include
Maxim Monastirsky 881774e9e3 Related: tdf#125040 NB: rework print preview context
Current implementation broadcasts the context change before the
new controller was set on the frame (via XFrame::setComponent).
This isn't going to work for anything LayoutManager based, as
it responds to frame events by recreating all toolbars, so the
newly created toolbar won't see the context sent for the old
controller.

Solve that by delaying the context change to SfxShell::Activate,
like anywhere else in the codebase. And make NB listen to frame
events, so it could also switch listening to the new controller.

Also fixed a crash when switching to print preview in Writer with
the navigator in the sidebar being active. Ideally we shouldn't
even try to create sidebar panels in print preview, as the sidebar
as a whole is disabled. But left that for a future investigation.

Change-Id: I07759c676d2a2eb6f752fe778b559b15d2d759ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135492
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2022-06-12 10:38:27 +02:00
..
android
animations
apple_remote
avmedia clang-tidy modernize-pass-by-value in avmedia 2022-06-02 17:43:58 +02:00
basegfx Ignore warning C4723 for windows arm64 build 2022-06-09 11:04:12 +02:00
basic clang-tidy modernize-pass-by-value in basic 2022-05-31 15:11:27 +02:00
canvas
codemaker
com/sun/star/uno
comphelper Use more appropriate type for LocationAccess::nOwnClassVectorIndex 2022-06-02 21:33:17 +02:00
connectivity
cppcanvas
cppu
cppuhelper
cppunittester
cui clang-tidy modernize-pass-by-value in cui 2022-06-03 15:04:41 +02:00
dbaccess
desktop
drawinglayer elide temporary vector in TextDecoratedPortionPrimitive2D 2022-05-31 21:18:18 +02:00
editeng loplugin:unusedvarsglobal 2022-06-10 21:13:43 +02:00
embeddedobj
filter clang-tidy modernize-pass-by-value in filter 2022-06-01 18:52:21 +02:00
formula Resolves: tdf#149378 Force array input if outer function returns array/matrix 2022-06-02 00:33:15 +02:00
fpicker
framework clang-tidy modernize-pass-by-value in framework 2022-06-02 12:12:15 +02:00
helpcompiler
i18nlangtag
i18npool
i18nutil
jvmaccess
jvmfwk
LibreOfficeKit sw content controls, date: add LOK API 2022-06-01 09:09:40 +02:00
linguistic
o3tl cid#1504664 silence Operands don't affect result 2022-06-05 18:32:39 +02:00
onlineupdate
oox tdf#147991 PPTX export: fix bullet indent regression 2022-05-31 13:00:38 +02:00
opencl
osl
package
registry [API CHANGE] Deprecate css.registry.XSimpleRegistry::mergeKey 2022-06-11 09:58:49 +02:00
rtl Improve some operator== involving OString, 2022-05-29 18:38:44 +02:00
sal
salhelper
sax loplugin:unusedmethods 2022-06-09 12:08:15 +02:00
sfx2 loplugin:constantparam 2022-06-10 21:14:20 +02:00
sot clang-tidy modernize-pass-by-value in sot 2022-05-30 16:12:34 +02:00
store
svl loplugin:unusedvarsglobal 2022-06-10 21:13:43 +02:00
svtools loplugin:constantparam 2022-06-10 21:14:20 +02:00
svx loplugin:constantparam 2022-06-10 21:14:20 +02:00
systools/win32
test
toolkit
tools Add compression support for GZ through ZCodec 2022-06-12 09:29:53 +02:00
typelib [API CHANGE] Deprecate unused typelib_setCacheSize and make it a no-op 2022-05-29 16:42:33 +02:00
ucbhelper
uno
unoidl
unotest
unotools tdf#149420 sw offapi xmloff: add hyphenation zone 2022-06-02 09:57:39 +02:00
vbahelper
vcl Related: tdf#125040 NB: rework print preview context 2022-06-12 10:38:27 +02:00
xmloff loplugin:unusedmethods 2022-06-09 12:08:15 +02:00
xmlreader
xmlscript
default.rc
IwyuFilter_include.yaml
postmac.h
postwin.h
premac.h
prewin.h
version.hrc