Bug 114255 - Keystrokes sent in wrong order under high cpu load
Summary: Keystrokes sent in wrong order under high cpu load
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.1.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Performance
  Show dependency treegraph
 
Reported: 2017-12-05 09:07 UTC by julo42
Modified: 2023-04-04 03:22 UTC (History)
3 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 julo42 2017-12-05 09:07:30 UTC
Description:
When my computer is under high cpu load, if I type a sentence, I don't see it appear immediately (the display isn't refreshed as I type). Then, when it finally appears, the letters are in the wrong order. For example, if I try to type "Libreoffice rocks", when the text appears it shows "Lbrioeiff ecosrkc".

This bug is 100% reproducible under heavy cpu load, but never happens under normal cpu load.

Steps to Reproduce:
1.Launch a task that causes high cpu load (for example 'rsync' on my laptop)
2.Switch to LibreOffice Writer and start typing a sentence.
3.The sentence doesn't appear immediately.


Actual Results:  
When the sentence finally appears, its letters are scrambled.

Expected Results:
The sentence whould have its letters in the right order.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1 (KHTML, like Gecko) Version/11.0 Safari/605.1 Ubuntu/17.10 (3.26.1-1ubuntu1) Epiphany/3.26.1
Comment 1 Kevin Suo 2017-12-05 09:39:51 UTC
I reproduce this on most recent master.

I have reported this issue to ibus-libpinyin, but was directed to file bugs to LibreOffice and Firefox (this issue is also reproducible in Firefox):
https://github.com/libpinyin/ibus-libpinyin/issues/99

One simple method to make your CPU full-load is to build libreoffice from source -:)
Comment 2 Kevin Suo 2017-12-05 09:40:28 UTC
(In reply to Kevin Suo from comment #1)
I am in Fedora 26 x64.
Comment 3 julo42 2017-12-05 09:45:30 UTC
(In reply to Kevin Suo from comment #2)
> (In reply to Kevin Suo from comment #1)
> I am in Fedora 26 x64.

And I am in Ubuntu 17.10 x64.
Comment 4 Kevin Suo 2018-02-10 13:56:28 UTC
In Fedora 27, this bug happens quite often when I am in the default Gnome Shell mode, making my work not possible at all. 

When I stitch to Gnome Classic mode, the issue is gone.

So I guess it is related to Gnome Shell.
Comment 5 QA Administrators 2019-02-11 03:39:48 UTC Comment hidden (obsolete)
Comment 6 Kevin Suo 2019-11-15 15:39:38 UTC
(In reply to QA Administrators from comment #5)
Bug still exists in Fedora 30, libreoffice 6.2.8 release.
Comment 7 QA Administrators 2021-11-15 04:01:26 UTC
Dear julo42,

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