https://bugs.documentfoundation.org/show_bug.cgi?id=163764

Patrick (volunteer) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |
             Status|NEW                         |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #10 from Patrick (volunteer) <[email protected]> ---
(In reply to Michael Weghorn from comment #9)
> Thanks for looking into it! I'm not familiar with that code, but your
> corresponding https://gerrit.libreoffice.org/c/core/+/176100 seems
> reasonable to me if it doesn't cause any unexpected delays when using some
> kind of input method (due to processing potentially "unrelated" events.)

Thanks for reminding about the "unrelated" events. I had already forgotten
about it but I have added that to the "TODO" section in the patch.

What is interesting about dictation is that it is just another input method.
But what is unique is that dictation runs a loop in a native timer. Native
timers run while -[NSEvent nextEventMatchingMask:..] is blocked waiting for a
regular event. So the dictation timer runs and its loop invokes the active
NSView's input method selectors.

Given the above, I should be able to limit the fix for the display lag bug to
only when -[NSEvent nextEventMatchingMask:..] is blocked waiting for a regular
event.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to