https://bugs.documentfoundation.org/show_bug.cgi?id=166994
Patrick (volunteer) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #2 from Patrick (volunteer) <[email protected]> --- I can reproduce this bug in my local master build: Version: 26.2.0.0.alpha0+ (AARCH64) / LibreOffice Community Build ID: 8e6c53f057e48c0f5bf9c2ea14dd24e6cbd80209 CPU threads: 8; OS: macOS 15.5; UI render: Skia/Raster; VCL: osx Locale: en-CA (en_CA.UTF-8); UI: en-US Calc: threaded I got the same output as your Instruments output and it looks like the image is getting drawn but the drawn canvas is not getting flushed to the screen. So I added a flush after each "key up" event in the following debug patch and now I see the animated image move as I repeatedly press and release an arrow key. The debug patch isn't a fix since I see drawing artifacts that only get cleared when I pause briefly after entering an arrow key so I assume that some painting timer is being prevented from running when arrow key presses flood the event queue: diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm index e4f474b8f050..99247dd2a4b3 100644 --- a/vcl/osx/salframeview.mm +++ b/vcl/osx/salframeview.mm @@ -1738,6 +1738,14 @@ -(void)keyDown: (NSEvent*)pEvent } } +-(void)keyUp: (NSEvent*)pEvent +{ + SolarMutexGuard aGuard; + + if( AquaSalFrame::isAlive( mpFrame ) ) + mpFrame->Flush(); +} + -(BOOL)handleKeyDownException:(NSEvent*)pEvent { // check for a very special set of modified characters -- You are receiving this mail because: You are the assignee for the bug.
