Regression: Onscreen Keyboard Backspace, Enter and Capitalize do not work

Bug #1918738 reported by Esokrates
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNOME Shell
Fix Released
Unknown
gjs (Ubuntu)
Fix Released
High
Sebastien Bacher
gnome-shell (Ubuntu)
Fix Released
High
Daniel van Vugt

Bug Description

Title pretty much says it all: I'm testing Ubuntu Hirsute (21.04), fully upgraded as of today (Gnome-shell 3.38.3) and the osk keys for Backspace, Enter and Capitalize as well as for collapsing the keyboard do not work. Pressing them just does nothing.
Related logs in jouralctl output:

                                        _press@resource:///org/gnome/shell/ui/keyboard.js:337:39
                                        _makeKey/<@resource:///org/gnome/shell/ui/keyboard.js:464:22
Mär 11 23:06:02 pc gnome-shell[15039]: JS ERROR: Error: Argument wc: value is out of range for uint32
                                        _getKeyval@resource:///org/gnome/shell/ui/keyboard.js:330:24
                                        _release@resource:///org/gnome/shell/ui/keyboard.js:370:36
                                        _makeKey/<@resource:///org/gnome/shell/ui/keyboard.js:468:22
Mär 11 23:06:03 pc gnome-shell[15039]: JS ERROR: Error: Argument wc: value is out of range for uint32
                                        _getKeyval@resource:///org/gnome/shell/ui/keyboard.js:330:24
                                        _press@resource:///org/gnome/shell/ui/keyboard.js:337:39
                                        _makeKey/<@resource:///org/gnome/shell/ui/keyboard.js:464:22
Mär 11 23:06:03 pc gnome-shell[15039]: JS ERROR: Error: Argument wc: value is out of range for uint32
                                        _getKeyval@resource:///org/gnome/shell/ui/keyboard.js:330:24
                                        _release@resource:///org/gnome/shell/ui/keyboard.js:370:36
                                        _makeKey/<@resource:///org/gnome/shell/ui/keyboard.js:468:22
Mär 11 23:06:04 pc gnome-shell[15039]: JS ERROR: Error: Argument wc: value is out of range for uint32
                                        _getKeyval@resource:///org/gnome/shell/ui/keyboard.js:330:24
                                        _press@resource:///org/gnome/shell/ui/keyboard.js:337:39
                                        _makeKey/<@resource:///org/gnome/shell/ui/keyboard.js:464:22
Mär 11 23:06:04 pc gnome-shell[15039]: JS ERROR: Error: Argument wc: value is out of range for uint32
                                        _getKeyval@resource:///org/gnome/shell/ui/keyboard.js:330:24
                                        _release@resource:///org/gnome/shell/ui/keyboard.js:370:36
                                        _makeKey/<@resource:///org/gnome/shell/ui/keyboard.js:468:22
Mär 11 23:06:04 pc gnome-shell[15039]: JS ERROR: Error: Argument wc: value is out of range for uint32
                                        _getKeyval@resource:///org/gnome/shell/ui/keyboard.js:330:24
                                        _press@resource:///org/gnome/shell/ui/keyboard.js:337:39
                                        _makeKey/<@resource:///org/gnome/shell/ui/keyboard.js:464:22
Mär 11 23:06:04 pc gnome-shell[15039]: JS ERROR: Error: Argument wc: value is out of range for uint32
                                        _getKeyval@resource:///org/gnome/shell/ui/keyboard.js:330:24
                                        _release@resource:///org/gnome/shell/ui/keyboard.js:370:36
                                        _makeKey/<@resource:///org/gnome/shell/ui/keyboard.js:468:22

Esokrates (esokrarkose)
tags: added: hirsute
description: updated
Changed in gnome-shell (Ubuntu):
importance: Undecided → High
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in gjs (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
importance: Undecided → High
status: New → In Progress
Changed in gnome-shell (Ubuntu):
status: New → Triaged
tags: added: regression-release
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The workaround is to reinstall the older version of gjs:

https://launchpad.net/ubuntu/+source/gjs/1.67.2-1/+build/21079029

tags: added: osk
Changed in gnome-shell (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
status: Triaged → In Progress
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Esokrates (esokrarkose) wrote :

Thanks Daniel, great work as always! Confirmed that downgrading to gjs 1.67.2-1 and libgjs0g 1.67.2-1 solves the problem.

Changed in gjs (Ubuntu):
status: In Progress → Fix Committed
assignee: Daniel van Vugt (vanvugt) → Sebastien Bacher (seb128)
Revision history for this message
Sebastien Bacher (seb128) wrote :

I've uploaded a revert of the gjs changes

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gjs - 1.67.2-2ubuntu1

---------------
gjs (1.67.2-2ubuntu1) hirsute; urgency=medium

  * Revert NaN handling changes which were included in the previous
    revision but not mentioned in the changelog, that's creating issues
    for the shell (lp: #1918738)

 -- Sebastien Bacher <email address hidden> Fri, 12 Mar 2021 09:25:26 +0100

Changed in gjs (Ubuntu):
status: Fix Committed → Fix Released
Changed in gnome-shell (Ubuntu):
status: In Progress → Fix Committed
tags: added: fixed-in-40 fixed-upstream
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.9 KiB)

This bug was fixed in the package gnome-shell - 3.38.4-1ubuntu1

---------------
gnome-shell (3.38.4-1ubuntu1) hirsute; urgency=medium

  * Merge with debian, containing a new upstream release
  * debian/control: (Build-)Depends on mutter 3.38.4
  * debian/patches:
    - Refresh
    - Remove input-thread related patches
    - Fix handling of OSK codes in keyboard (LP: #1918738)
    - Ensure Cancel button uses proper arguments (LP: #1918666)
    - Allow updating struts in Overview (LP: #1917939)
    - Configure Login Scree: cleanup code to match shell's JS
  * Remaining changes with debian:
    - Replace gnome-backgrounds dep with ubuntu-wallpapers and Suggests
      gnome-themes-standard-data, gnome-backgrounds
    - Add some Recommends:
      + ubuntu-session (| gnome-session) to have the ubuntu session available
      + xserver-xorg-legacy
      + yaru-theme-gnome-shell for the default ubuntu theming
    - Update debian/gbp.conf with Ubuntu settings
    - gnome-shell-common.prerm: Remove deprecated ubuntu theme alternative
    - ubuntu/desktop_detect.patch:
      + add caching for desktop detection to avoid querying the current
        desktop env variable as iterate through the list each time. For the
        time of the Shell process, we can expect this env variable to stay
        stable.
    - ubuntu/smarter_alt_tab.patch:
      + quick alt-tab (without showing up the switcher) switch only between
        the last window of the last 2 applications to be focused instead of
        raising all windows of those apps.
    - ubuntu/lightdm-user-switching.patch:
      + Allow user switching when using LightDM.
    - ubuntu/lock_on_suspend.patch
      + Respect Ubuntu's lock-on-suspend setting.
    - ubuntu/background_login.patch
      + Change default background color as we modified the default GDM color
        for our ubuntu session.
    - ubuntu/gdm_alternatives.patch
      + Add support for GDM3 theme alternatives
    - optional-hot-corner.patch
      + enable patch proposed by upstream developer already in package (but
        not in series) to add a settings for optional hot corner activation.
    - main-show-an-error-message-on-gnome-shell-crash.patch,
      global-make-possible-to-set-debug-flags-dynamically.patch,
      main-increase-the-granularity-of-backtraces-in-SHELL_DEBU.patch,
      main-add-backtrace-crashes-all-and-backtrace-all.patch,
      sessionMode-add-support-for-debugFlags-parameter.patch:
      + Improve debug JS tracing for crash reports
    - st-scroll-view-Handle-the-case-where-scrollbars-are-NULL.patch:
      + Fix crash on theme changes
    - ubuntu/search-call-XUbuntuCancel-method-on-providers-when-no-dat.patch:
      + stop searches when requested from UI
    - magnifier-Show-cursor-when-magnifier-is-enabled-and-scale.patch:
      + Show monitor scaled cursor when magnifier is enabled
    - Break gnome-shell-extension-desktop-icons (<< 19.01.3+git20190814)

gnome-shell (3.38.4-1) unstable; urgency=medium

  * Team upload
  * New upstream release
    - Fix missing X11 fallback icons (particularly for games and other
      programs not installed system-wide), a regression in 3.37.3
    - Fix a Shell crash when a...

Read more...

Changed in gnome-shell (Ubuntu):
status: Fix Committed → Fix Released
tags: added: fixed-in-3.38.5
Changed in gnome-shell:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.