881774e9e3
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> |
||
---|---|---|
.. | ||
android | ||
animations | ||
apple_remote | ||
avmedia | ||
basegfx | ||
basic | ||
canvas | ||
codemaker | ||
com/sun/star/uno | ||
comphelper | ||
connectivity | ||
cppcanvas | ||
cppu | ||
cppuhelper | ||
cppunittester | ||
cui | ||
dbaccess | ||
desktop | ||
drawinglayer | ||
editeng | ||
embeddedobj | ||
filter | ||
formula | ||
fpicker | ||
framework | ||
helpcompiler | ||
i18nlangtag | ||
i18npool | ||
i18nutil | ||
jvmaccess | ||
jvmfwk | ||
LibreOfficeKit | ||
linguistic | ||
o3tl | ||
onlineupdate | ||
oox | ||
opencl | ||
osl | ||
package | ||
registry | ||
rtl | ||
sal | ||
salhelper | ||
sax | ||
sfx2 | ||
sot | ||
store | ||
svl | ||
svtools | ||
svx | ||
systools/win32 | ||
test | ||
toolkit | ||
tools | ||
typelib | ||
ucbhelper | ||
uno | ||
unoidl | ||
unotest | ||
unotools | ||
vbahelper | ||
vcl | ||
xmloff | ||
xmlreader | ||
xmlscript | ||
default.rc | ||
IwyuFilter_include.yaml | ||
postmac.h | ||
postwin.h | ||
premac.h | ||
prewin.h | ||
version.hrc |