vcl/source/window/floatwin.cxx | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit 3a58d8facfee21616a6a5faa5209be7a56770acf Author: Patrick Luby <guibmac...@gmail.com> AuthorDate: Tue May 6 19:59:08 2025 -0400 Commit: Patrick Luby <guibomac...@gmail.com> CommitDate: Wed May 7 13:36:45 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> diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index f1311674f556..17e2acf29902 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -959,6 +959,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) {