[Libreoffice-bugs] [Bug 99222] While typing, some characters appear out of order from how they are typed.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Feb 12 11:21:13 UTC 2019


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

--- Comment #9 from Michael Meeks <michael.meeks at collabora.com> ---
In writer it could easily be management of the m_aInBuffer in edtwin.cxx - but
on the surface it looks ok I guess.

Joseph - how fast are you typing ? if you type slowly - do you get a better
behavior ? (and/or is your machine slow/loaded) ? Chris suggest it is indeed
performance related.

If anyone can reproduce this that can build something; if they could apply this
patch and test again:

--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -2420,7 +2420,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
                     comphelper::string::padToLength(aBuf,
                         m_aInBuffer.getLength() + aKeyEvent.GetRepeat() + 1,
aCh);
                     m_aInBuffer = aBuf.makeStringAndClear();
-                    g_bFlushCharBuffer = Application::AnyInput(
VclInputFlags::KEYBOARD );
+                    g_bFlushCharBuffer = false; // Application::AnyInput(
VclInputFlags::KEYBOARD );
                     bFlushBuffer = !g_bFlushCharBuffer;
                     if( g_bFlushCharBuffer )
                         m_aKeyInputFlushTimer.Start();

It would be rather interesting to know if that stops the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190212/d27ca3fd/attachment-0001.html>


More information about the Libreoffice-bugs mailing list