tdf#147708 create floating menubutton on demand
commit44bbe7dd3ca3dc924395eb9aa5ef7aa9ccac25bc
authorCaolán McNamara <caolanm@redhat.com>
Thu, 26 May 2022 14:52:38 +0000 (26 15:52 +0100)
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>
Mon, 6 Jun 2022 11:35:38 +0000 (6 13:35 +0200)
tree9fb8b17e3ee041f2347d2b6cfedfcf2ebae4f602
parentf1c695f214620aa11c54dc2e9ee33118c83f0e3f
tdf#147708 create floating menubutton on demand

and destroy when it is fully faded out. Otherwise windows runs out of
gdi handles with document with large number of page breaks

todo: rename some things in a follow up commit after this more easily
backportable commit is merged

Change-Id: Ibbe3cd00d1027ac34915c4bff73e3a330e300f38
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135138
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
sw/source/uibase/docvw/FrameControlsManager.cxx
sw/source/uibase/docvw/PageBreakWin.cxx
sw/source/uibase/inc/FrameControl.hxx
sw/source/uibase/inc/PageBreakWin.hxx
sw/source/uibase/inc/uiobject.hxx
sw/source/uibase/uitest/uiobject.cxx