[Libreoffice-bugs] [Bug 130794] New: kf5: Keyboard input ignored

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Feb 20 07:18:57 UTC 2020


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

            Bug ID: 130794
           Summary: kf5: Keyboard input ignored
           Product: LibreOffice
           Version: 7.0.0.0.alpha0+ Master
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: m.weghorn at posteo.de

Description:
When using the kf5 VCL plugin, keyboard input is ignored unless e.g. the Orca
screenreader is enabled.

This is a regression from the following commit:

commit 034f56015c1c7a61faede33fb5306f63b5585632
Author: Michael Weghorn <m.weghorn at posteo.de>
Date:   Mon Feb 17 10:38:15 2020 +0100

    tdf#126785 qt5: Ignore external QEvent::ShortcutOverride

    For some reason, an extra external QEvent::ShortcutOverride
    event is triggered when a key is pressed and e.g. the
    Orca screen reader is enabled, which would result in
    duplicated input when handled as key input event as well.

    Therefore, ignore those ShortcutOverride events that are
    "spontaneous", i.e. "the event originated outside the
    application (a system event)". [1]

    [1] https://doc.qt.io/qt-5/qevent.html#spontaneous

    Change-Id: Ibccacb69c31d4d7ebd512c704f0e4df978c5281f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88852
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>

(I thought I had tested both cases...)

Steps to Reproduce:
1. make sure screenreader is disabled
2. start LO Writer in a KDE Plasma session (i.e. kf5 VCL plugin is used)
3. type some text

Actual Results:
No text appears

Expected Results:
Text should appear


Reproducible: Always


User Profile Reset: Yes



Additional Info:
-

-- 
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/20200220/6b526bde/attachment.htm>


More information about the Libreoffice-bugs mailing list