** Description changed:

+ [Impact]
+ 
+ OSK does not work properly in Wayland sessions. Besides not showing up,
+ as reported in this bug report, certain characters can't be typed (bug
+ #1761554).
+ 
+ The proposed upload unset's the GTK_IM_MODULE variable, which fixes the
+ issues.
+ 
+ [Test Case]
+ 
+ To confirm that the OSK works properly:
+ 
+ 1. Install im-config from bionic-proposed and reboot
+ 
+ 2. Log in to an Ubuntu on Wayland session
+ 
+ 3. Open gedit and enable the screen keyboard
+    (Settings -> Universal Access -> Typing)
+ 
+ 4. When OSK shows up, confirm that you can enter accented characters
+    via long-press.
+    Example: long-press a and select à from the popup
+ 
+    Also, confirm that certain keys for special characters result in
+    correct characters. Examples: ~, √, ÷, ×, <, >, ¢
+ 
+ [Fix]
+ 
+ A proposed fix has been uploaded to the bionic queue.
+ 
+ [Regression Potential]
+ 
+ Well, this very fix did cause a regression a few months ago; LibreOffice
+ and the GNOME search bar crashed when trying to use IBus input methods.
+ Those issues have now been fixed.
+ 
+ The change is only made for Wayland sessions, which is not default in
+ 18.04. Given this limitation, the regression risk is deemed to be low.
+ 
+ [Original description]
+ 
  1. Login in a wayland session
  2. Open an application with a text entry (e.g. gedit)
  3. Focus gedit using the touch screen
  
  Expected result:
  The OSK appears
  
  Actual results:
  The OSK does not appear.
  
  ---
  
  This is caused by the fact that we still set GTK_IM_MODULE in Wayland.
  IIRC during the cosmic cycle we introduced a change to not set
  GTK_IM_MODULE under Wayland but we dropped it because there were users
  experiencing crashes when using libreoffice: upstream should have fixed
  those crashes to my knowledge.
  
  ----
  
  Also why are we setting GTK_IM_MODULE in X11 too? gnome-settings-daemon
  should be smart enough to load/unload that at run-time when required
  /not-required.

** Changed in: im-config (Ubuntu Bionic)
       Status: Triaged => In Progress

** Changed in: im-config (Ubuntu Bionic)
     Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1816808

Title:
  [disco] OSK does not appear under wayland when a text-entry is focused

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/1816808/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to