Bug 133312 - Extremely Sluggish Keyboard Text Entry with GTK+3 VCL. Possibly Related to Font Rendering.
Summary: Extremely Sluggish Keyboard Text Entry with GTK+3 VCL. Possibly Related to F...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.3.4.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 133313 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-05-23 15:40 UTC by FR
Modified: 2020-06-12 14:27 UTC (History)
1 user (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 FR 2020-05-23 15:40:52 UTC
Description:
With the GTK+3 VCL, keyboard text entry in Word and Calc (other modules untried) is extremely sluggish.

OpenGL is not enabled.

Same problems occurs with new user profile.

The extremely sluggish text entry behavior does not occur in dialogs such as "File Open" or "Save As" etc.  It only occurs with text entry in a Word document or Calc cell.  Also, cell movement using the arrow keys is uneffected.

This would indicate that the sluggish text entry is possibly related to font rendering.

I am using libreoffice-6.3.4.2 with GTK+2 as this is the last version that uses GTK+2.  All higher versions use GTK+3 and exhibit the extremely sluggish keyboard text entry.

Steps to Reproduce:
1. start LO with SAL_USE_VCLPLUGIN=gtk3 (or allow auto-determination at at startup)
2. invoke Word or Calc
3. enter text with keyboard

Actual Results:
Allow LO to determine at start up the VCL plugin to use, or set SAL_USE_VCLPLUGIN=gtk3 in programs.soffice.


Expected Results:
Text entry with keyboard should be the same speed as all other applications and as is set with X Window configuration.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.3.4.2.0+
Build ID: Gentoo official package
CPU threads: 8; OS: Linux 5.6; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Although this is the Gentoo version, the same problem occurs with LO binary distribtion from libreoffice.org.
Comment 1 Buovjaga 2020-05-23 15:48:14 UTC
*** Bug 133313 has been marked as a duplicate of this bug. ***
Comment 2 Buovjaga 2020-05-23 15:52:18 UTC
If you try with an appimage of 7.0, how does it behave: https://libreoffice.soluzioniopen.com/
Comment 3 FR 2020-05-23 17:35:08 UTC
(In reply to Buovjaga from comment #2)
> If you try with an appimage of 7.0, how does it behave:
> 

The exact same behavior is seen with 7.0.0-alpha1 binary downloaed from libreoffice.org.
Comment 4 Buovjaga 2020-05-23 18:00:15 UTC
All right. It seems it could be related to some dependency. Certainly this is not the normal and expected behaviour. You are in some super small minority.

Perhaps you could consult with other Gentoo users - does everyone experience the same?
Comment 5 FR 2020-06-12 14:19:24 UTC
This problem is now resolved.

The source of the sluggish keyboard behavior was a manual setting of the MTRR registers before starting X on my Linux system.  By eliminting this MTRR setting the LibreOffice keyboard entry is now normal.

I had not suspected the MTRR registers because they had no other effect on my system except with the LibreOffice GTK+3 VCL plugin.