https://bugs.documentfoundation.org/show_bug.cgi?id=167059
--- Comment #27 from Patrick (volunteer) <[email protected]> --- (In reply to Patrick (volunteer) from comment #26) > 2. Dig through my commits for tdf#163734 and figure out how I ultimately > fixed the docking border drawing. Update: on macOS, I fixed tdf#163734 in a native "window moved" event handler. So, I think Windows needs its own copy of the the macOS code in the Windows "window moved" event handler. The #if HAVE_FEATURE_SKIA block in the following diff is what I think you might be able to copy. The key to the macOS code is that if we are a "window moved" event and both Skia is enabled *and* the moved window has a visible parent window, we flush the parent window's graphics: diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm index e4f474b8f050..0b168256e644 100644 --- a/vcl/osx/salframeview.mm +++ b/vcl/osx/salframeview.mm @@ -596,6 +596,7 @@ -(void)windowDidMove: (NSNotification*)pNotification mpFrame->UpdateFrameGeometry(); mpFrame->CallCallback( SalEvent::Move, nullptr ); +// Copy the following #if HAVE_FEATURE_SKIA block to Windows #if HAVE_FEATURE_SKIA // tdf#163734 Flush parent frame when Skia is enabled // When a dockable window is dragged by its titlebar, a rectangle @@ -614,6 +615,7 @@ -(void)windowDidMove: (NSNotification*)pNotification pGraphics->Flush(); } #endif +// End of block to copy } } -- You are receiving this mail because: You are the assignee for the bug.
