Bug 99222 - While typing, some characters appear out of order from how they are typed
Summary: While typing, some characters appear out of order from how they are typed
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 117054 (view as bug list)
Depends on:
Blocks: Performance
  Show dependency treegraph
 
Reported: 2016-04-11 11:56 UTC by Joseph
Modified: 2025-05-15 03:13 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph 2016-04-11 11:56:12 UTC
While typing, some of the characters will appear out of the order I typed them.   For example, when I tried typing the summary above in a Writer document, this is what appeared: Whil teyping, some characesat rppear out of order oh tow the rayet yped.  This does not seem to happen in Calc, only Writer.  However, just to make sure, I tested a different keyboard that was working normally on another machine, and also tried other USB ports to plug the keyboards in to.  In each case I have gotten the same result, only while typing in Writer.
Comment 1 Buovjaga 2016-04-24 17:15:53 UTC
Did the problem appear in version 5.1.2?
What distro and desktop environment do you use?

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 2 Joseph 2016-05-17 04:40:28 UTC
(In reply to Buovjaga from comment #1)
> Did the problem appear in version 5.1.2?
> What distro and desktop environment do you use?
> 
> Set to NEEDINFO.
> Change back to UNCONFIRMED after you have provided the information.

I think it appeared in 5.1.2.  I am running Unity in Ubuntu 15.10.
Comment 3 Buovjaga 2016-05-17 09:32:28 UTC
Maybe you could try this: https://wiki.documentfoundation.org/UserProfile#Resolving_corruption_in_the_user_profile

It certainly seems like a unique problem as there have been no other reports.
Comment 4 QA Administrators 2016-12-07 12:44:04 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2017-01-31 00:24:55 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2018-04-23 11:58:02 UTC
*** Bug 117054 has been marked as a duplicate of this bug. ***
Comment 7 Buovjaga 2018-04-23 11:59:11 UTC
NEW per dupe. This is a pretty funky issue. If you have the chance to log in with a Wayland session, would be nice to hear if it makes the problem go away.
Comment 8 Buovjaga 2018-04-23 12:38:18 UTC
Also, please test with version 6.0.x. A person on IRC was able to reproduce, but not with 6.
Comment 9 Michael Meeks 2019-02-12 11:21:13 UTC
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.
Comment 10 QA Administrators 2022-12-07 03:22:32 UTC Comment hidden (obsolete)
Comment 11 BogdanB 2023-04-14 18:39:29 UTC
Joseph, are you still reproducing this problem with the newest versions?
Comment 12 BogdanB 2023-05-15 18:16:03 UTC
No more reports about this since 2018. Buovjaga, if no info from the reporter and the duplicate reporter, could this bug be closed?
Comment 13 Buovjaga 2023-05-15 18:42:10 UTC
We also have bug 139807 for automated typing causing the same effect
Comment 14 QA Administrators 2025-05-15 03:13:04 UTC
Dear Joseph,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug