vcl/source/window/floatwin.cxx | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit 00c35b823a3dc35b398813b02fe870016a1f203d Author: Patrick Luby <guibmac...@gmail.com> AuthorDate: Tue May 6 19:59:08 2025 -0400 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Mon May 19 15:22:18 2025 +0200 tdf#164337 don't update position data when waiting for a system resize When entering and exiting LibreOffice's internal full screen mode, updating position data causes the "exit full screen" floating toolbar to migrate after cycle. Change-Id: I7b283a4af5460deaa258b9df16bb5577b685a756 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185004 Tested-by: Jenkins Reviewed-by: Patrick Luby <guibomac...@gmail.com> (cherry picked from commit 3a58d8facfee21616a6a5faa5209be7a56770acf) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185312 Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index 196f2126cf5b..c779d821e494 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -956,6 +956,13 @@ void FloatingWindow::AddPopupModeWindow(vcl::Window* pWindow) bool SystemWindow::UpdatePositionData() { + // tdf#164337 don't update position data when waiting for a system resize + // When entering and exiting LibreOffice's internal full screen mode, + // updating position data causes the "exit full screen" floating + // toolbar to migrate after cycle. + if (mpWindowImpl->mbWaitSystemResize) + return false; + auto pWin = ImplGetParent(); if (pWin) {