This is an automated email from the ASF dual-hosted git repository. jimjag pushed a commit to branch AOO50X in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 20e7d3abda13ad46a72da13d762a6966679b5a2b Author: Jim Jagielski <[email protected]> AuthorDate: Mon Nov 16 12:52:52 2026 -0500 vcl: refresh the macOS backing scale when a window is shown A window made for one screen and first shown on another may not get windowDidChangeBackingProperties:, and would keep the old scale. Belts and Braces here, since this _should be_ unneeded. --- main/vcl/aqua/source/window/salframe.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/vcl/aqua/source/window/salframe.cxx b/main/vcl/aqua/source/window/salframe.cxx index d7c4578372..794524a8cd 100644 --- a/main/vcl/aqua/source/window/salframe.cxx +++ b/main/vcl/aqua/source/window/salframe.cxx @@ -479,6 +479,10 @@ void AquaSalFrame::Show(sal_Bool bVisible, sal_Bool bNoActivate) else [mpNSWindow makeKeyAndOrderFront: NSApp]; + // a window first shown on another screen need not report a backing change + if( UpdateBackingScale() ) + SendPaintEvent(); + if( mpParent ) { /* #i92674# #i96433# we do not want an invisible parent to show up (which adding a visible
