[19.10][snap][beta] Switching an input method via ibus does not affect input in chromium

Bug #1853420 reported by Dmitrii Shcherbakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Unable to switch an input method from English in chromium by changing it via ibus.

➜ ~ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.10
Release: 19.10
Codename: eoan

➜ ~ snap list chromium
Name Version Rev Tracking Publisher Notes
chromium 79.0.3945.29 939 beta canonical✓ -

# when switching the input method switching languages
journalctl -f

ноя 21 10:37:15 blade gnome-shell[7048]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
ноя 21 10:37:15 blade gnome-shell[7048]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
ноя 21 10:37:15 blade gnome-shell[7048]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
ноя 21 10:37:15 blade gnome-shell[7048]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
ноя 21 10:37:15 blade gnome-shell[7048]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
ноя 21 10:37:15 blade gnome-shell[7048]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
ноя 21 10:37:15 blade gnome-shell[7048]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
ноя 21 10:37:15 blade gnome-shell[7048]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
ноя 21 10:37:15 blade gnome-shell[7048]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
ноя 21 10:37:15 blade gnome-shell[7048]: _clutter_stage_queue_event: assertion 'CLUTTER_IS_STAGE (stage)' failed

# when chromium is launched:

journalctl -f
ноя 21 10:37:41 blade chrome[13667]: Failed to load module "canberra-gtk-module"
ноя 21 10:37:41 blade chrome[13667]: Failed to load module "canberra-gtk-module"
ноя 21 10:37:41 blade audit[2323]: USER_AVC pid=2323 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=13667 label="snap.chromium.chromium" peer_pid=2354 peer_label="unconfined"
                                       exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
ноя 21 10:37:41 blade kernel: audit: type=1107 audit(1574321861.798:169): pid=2323 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=13667 label="snap.chromium.chromium" peer_pid=2354 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
ноя 21 10:37:41 blade chromium_chromium.desktop[7048]: [13821:13821:1121/103741.914544:ERROR:sandbox_linux.cc(372)] InitializeSandbox() called with multiple threads in process gpu-process.
ноя 21 10:37:41 blade gnome-keyring-daemon[6123]: asked to register item /org/freedesktop/secrets/collection/login/1, but it's already registered
ноя 21 10:37:42 blade audit[13667]: AVC apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/sys/devices/virtual/dmi/id/sys_vendor" pid=13667 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
ноя 21 10:37:42 blade audit[13667]: AVC apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/sys/devices/virtual/dmi/id/product_name" pid=13667 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
ноя 21 10:37:42 blade kernel: audit: type=1400 audit(1574321862.026:170): apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/sys/devices/virtual/dmi/id/sys_vendor" pid=13667 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
ноя 21 10:37:42 blade kernel: audit: type=1400 audit(1574321862.026:171): apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/sys/devices/virtual/dmi/id/product_name" pid=13667 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
ноя 21 10:37:42 blade gnome-keyring-daemon[6123]: asked to register item /org/freedesktop/secrets/collection/login/1, but it's already registered
ноя 21 10:37:42 blade audit[13667]: AVC apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/var/lib/snapd/desktop/icons/" pid=13667 comm="chrome" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
ноя 21 10:37:42 blade kernel: audit: type=1400 audit(1574321862.206:172): apparmor="DENIED" operation="open" profile="snap.chromium.chromium" name="/var/lib/snapd/desktop/icons/" pid=13667 comm="chrome" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
ноя 21 10:37:42 blade chromium_chromium.desktop[7048]: [13821:13821:1121/103742.412231:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command

======

Update:

Looks like this only affects the beta version as it works correctly on stable:

➜ ~ snap refresh chromium --stable
chromium 78.0.3904.97 from Canonical✓ refreshed

description: updated
summary: - [19.10][snap] Switching an input method via ibus does not affect input
- in chromium
+ [19.10][snap][beta] Switching an input method via ibus does not affect
+ input in chromium
Revision history for this message
Olivier Tilloy (osomon) wrote :

Can you elaborate on which input method you're switching to? I've tested with the chromium snap in a clean 19.10 VM, and switching back and forth between French and Traditional Chinese (pinyin) works fine, for all channels of the snap.

Changed in chromium-browser (Ubuntu):
status: New → Incomplete
Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote :

English (US) to Russian: en -> ru.

Changed in chromium-browser (Ubuntu):
status: Incomplete → New
Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote :

Tried rev 951 now and I cannot reproduce the same behavior anymore.

➜ ~ snap refresh chromium --beta
Download snap "chromium" (951) from channel "beta" 77% 251kBDownloadchromium (beta) 79.0.3945.45 from Canonical✓ refreshed

I'll set it to incomplete for now and see if I encounter it again (if not, I'll just let it expire).

Changed in chromium-browser (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for chromium-browser (Ubuntu) because there has been no activity for 60 days.]

Changed in chromium-browser (Ubuntu):
status: Incomplete → Expired
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.