Public bug reported:

It worked on the first installation, where I tried to reproduce the same
issue that a community member reported(Telegram thread message:
<https://t.me/ubuntuzh/816370>), but it no longer worked for some reason
on the second day.

## Environment

* OS: Ubuntu 24.04
* Ubuntu Kernel: 6.11.0.21-generic
* DE: KDE Plasma 5.27.12-0ubuntu0.1
* Snap: 135.0.7049.52 (build 3093)
* Fcitx: 5.1.7-1build3
* snapd: 2.67.1+24.04
* core22: 20250210 (build 1802)
* locale: zh_TW.UTF-8

## Requested information

> uname -a; type -a chromium

```text
Linux brlin-fw13 6.11.0-21-generic #21~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon 
Feb 24 16:52:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
chromium is /snap/bin/chromium
chromium is /snap/bin/chromium
```

> /snap/bin/chromium --enable-logging=stderr

```text
Gtk-Message: 23:41:48.003: Not loading module "atk-bridge": The functionality 
is provided by GTK natively. Please try to not load it.

(chrome:60968): Gtk-WARNING **: 23:41:48.069: Theme parsing error: 
gtk.css:1:21: Failed to import: Error opening file 
/home/brlin/snap/chromium/3093/.config/gtk-3.0/colors.css: No such file or 
directory
Gtk-Message: 23:41:48.114: Failed to load module "colorreload-gtk-module"
[60968:60968:0404/234148.176181:WARNING:account_consistency_mode_manager.cc(72)]
 Desktop Identity Consistency cannot be enabled as no OAuth client ID and 
client secret have been configured.
[61077:61077:0404/234148.307150:WARNING:sandbox_linux.cc(415)] 
InitializeSandbox() called with multiple threads in process gpu-process.

(chrome:60968): IBUS-WARNING **: 23:41:48.438: Create input context
failed: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor
policy prevents this sender from sending this message to this recipient;
type="method_call", sender=":1.378" (uid=1000 pid=60968
comm="/snap/chromium/3093/usr/lib/chromium-browser/chrom"
label="snap.chromium.chromium (enforce)")
interface="org.freedesktop.IBus" member="CreateInputContext" error
name="(unset)" requested_reply="0" destination="org.freedesktop.IBus"
(uid=1000 pid=4943 comm="/usr/bin/fcitx5" label="unconfined").

(chrome:60968): IBUS-CRITICAL **: 23:42:09.499: 
ibus_im_context_filter_keypress: assertion 'ibusimcontext->cancellable != NULL 
|| ibus_bus_is_connected (_bus) == FALSE' failed
```

> snap changes; grep ' install ' /var/log/dpkg.log

```text
ID   Status  Spawn               Ready               Summary
66   Done    today at 16:48 CST  today at 16:48 CST  Auto-refresh snap 
"snap-store"
67   Done    today at 20:41 CST  today at 20:42 CST  Install "insomnia" snap
68   Done    today at 23:25 CST  today at 23:27 CST  Refresh "chromium" snap 
from "latest/edge" channel
69   Done    today at 23:26 CST  today at 23:26 CST  Running service command 
for snap "mesa-2404"
70   Done    today at 23:36 CST  today at 23:37 CST  Refresh "chromium" snap 
from "latest/candidate" channel

2025-04-01 00:20:49 install libactivation-java:all <none> 1.2.0-2
2025-04-01 00:20:49 install libatinject-jsr330-api-java:all <none> 1.0+ds1-5
2025-04-01 00:20:49 install libbcprov-java:all <none> 1.77-1
2025-04-01 00:20:49 install libbcutil-java:all <none> 1.77-1
2025-04-01 00:20:50 install libbcpkix-java:all <none> 1.77-1
2025-04-01 00:20:50 install libmail-java:all <none> 1.6.5-2
2025-04-01 00:20:50 install libbcmail-java:all <none> 1.77-1
2025-04-01 00:20:50 install libcommons-io-java:all <none> 2.11.0-2
2025-04-01 00:20:50 install libcommons-lang3-java:all <none> 3.14.0-1
2025-04-01 00:20:50 install libfontawesomefx-java:all <none> 9.1.2-3
2025-04-01 00:20:50 install libfontbox2-java:all <none> 2.0.29-1
2025-04-01 00:20:50 install libgeronimo-validation-1.0-spec-java:all <none> 
1.1-3
2025-04-01 00:20:50 install libgeronimo-validation-1.1-spec-java:all <none> 
1.0-2
2025-04-01 00:20:51 install libgettext-commons-java:all <none> 0.9.6-6
2025-04-01 00:20:51 install libjaxb-api-java:all <none> 2.3.1-1
2025-04-01 00:20:51 install libjboss-logging-java:all <none> 3.5.3-1
2025-04-01 00:20:51 install libjboss-jdeparser2-java:all <none> 2.0.3-2
2025-04-01 00:20:51 install libjboss-logging-tools-java:all <none> 
2.2.1-3ubuntu1
2025-04-01 00:20:51 install libhibernate-validator4-java:all <none> 4.3.4-7
2025-04-01 00:20:51 install libjackson2-core-java:all <none> 2.14.1-1
2025-04-01 00:20:51 install libjackson2-jr-java:all <none> 2.14.0-1
2025-04-01 00:20:52 install libslf4j-java:all <none> 1.7.32-1
2025-04-01 00:20:52 install liblogback-java:all <none> 1:1.2.11-5
2025-04-01 00:20:52 install libxmpcore-java:all <none> 5.1.3-1
2025-04-01 00:20:52 install libmetadata-extractor-java:all <none> 2.11.0-1
2025-04-01 00:20:52 install libopenjfx-jni:amd64 <none> 11.0.11+1-3.1ubuntu5
2025-04-01 00:20:52 install libopenjfx-java:all <none> 11.0.11+1-3.1ubuntu5
2025-04-01 00:20:53 install libsejda-commons-java:all <none> 1.1.7-1
2025-04-01 00:20:53 install libsejda-io-java:all <none> 2.1.4-1
2025-04-01 00:20:53 install libsambox-java:all <none> 2.4.24-1
2025-04-01 00:20:53 install libsejda-eventstudio-java:all <none> 3.0.4-1
2025-04-01 00:20:53 install libsejda-injector-java:all <none> 2.0.0-1
2025-04-01 00:20:53 install libthumbnailator-java:all <none> 0.4.20-1
2025-04-01 00:20:53 install libtwelvemonkeys-java:all <none> 3.9.4-1
2025-04-01 00:20:53 install libsejda-java:all <none> 4.3.14-1
2025-04-01 00:20:54 install openjfx:amd64 <none> 11.0.11+1-3.1ubuntu5
2025-04-01 00:20:54 install openjfx-source:all <none> 11.0.11+1-3.1ubuntu5
2025-04-01 00:20:54 install pdfsam:all <none> 4.3.4-1
2025-04-01 00:48:44 install ltrace:amd64 <none> 0.7.3-6.4ubuntu3
2025-04-01 01:00:14 install pngquant:amd64 <none> 2.18.0-1build2
2025-04-01 01:00:28 install link-grammar-dictionaries-en:all <none> 
5.12.3~dfsg-1build3
2025-04-01 01:00:29 install minisat:amd64 <none> 1:2.2.1-8build1
2025-04-01 01:00:29 install libjbig2enc0t64:amd64 <none> 0.29-2.1build1
2025-04-01 01:00:29 install jbig2:amd64 <none> 0.29-2.1build1
2025-04-03 19:17:32 install python3-libevdev:all <none> 0.5-3
2025-04-03 19:17:32 install python3-pyudev:all <none> 0.24.0-1
2025-04-03 19:17:32 install libinput-tools:amd64 <none> 1.25.0-1ubuntu3
2025-04-04 10:35:41 install d-feet:all <none> 0.3.16-3
2025-04-04 23:21:01 install chromium-browser:amd64 <none> 2:1snap1-0ubuntu2
```

> echo "$XDG_SESSION_TYPE"; lspci -v

wayland
...stripped, but the system is a Framework Laptop 13 (AMD 7040 series), so it 
should be easy to find a copy if it's required.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: chromium-browser 2:1snap1-0ubuntu2
ProcVersionSignature: Ubuntu 6.11.0-21.21~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-21-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Fri Apr  4 23:21:21 2025
DiskUsage:
 Filesystem     Type   Size  Used Avail Use% Mounted on
 /dev/nvme0n1p3 btrfs  1.9T  434G  1.5T  23% /
 tmpfs          tmpfs   31G   31M   31G   1% /dev/shm
 /dev/nvme0n1p3 btrfs  1.9T  434G  1.5T  23% /
InstallationDate: Installed on 2025-02-04 (59 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
Snap.Changes: no changes found
Snap.ChromeDriverVersion: ChromeDriver 134.0.6998.165 
(fd886e2cb29dd984c13deec032832dee68d8abe3-refs/branch-heads/6998@{#2122})
Snap.ChromiumVersion: Chromium 134.0.6998.165 snap
SourcePackage: chromium-browser
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: chromium-browser (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/2106250

Title:
  Fcitx input method framework no longer work in the Chromium snap

Status in chromium-browser package in Ubuntu:
  New

Bug description:
  It worked on the first installation, where I tried to reproduce the
  same issue that a community member reported(Telegram thread message:
  <https://t.me/ubuntuzh/816370>), but it no longer worked for some
  reason on the second day.

  ## Environment

  * OS: Ubuntu 24.04
  * Ubuntu Kernel: 6.11.0.21-generic
  * DE: KDE Plasma 5.27.12-0ubuntu0.1
  * Snap: 135.0.7049.52 (build 3093)
  * Fcitx: 5.1.7-1build3
  * snapd: 2.67.1+24.04
  * core22: 20250210 (build 1802)
  * locale: zh_TW.UTF-8

  ## Requested information

  > uname -a; type -a chromium

  ```text
  Linux brlin-fw13 6.11.0-21-generic #21~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon 
Feb 24 16:52:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
  chromium is /snap/bin/chromium
  chromium is /snap/bin/chromium
  ```

  > /snap/bin/chromium --enable-logging=stderr

  ```text
  Gtk-Message: 23:41:48.003: Not loading module "atk-bridge": The functionality 
is provided by GTK natively. Please try to not load it.

  (chrome:60968): Gtk-WARNING **: 23:41:48.069: Theme parsing error: 
gtk.css:1:21: Failed to import: Error opening file 
/home/brlin/snap/chromium/3093/.config/gtk-3.0/colors.css: No such file or 
directory
  Gtk-Message: 23:41:48.114: Failed to load module "colorreload-gtk-module"
  
[60968:60968:0404/234148.176181:WARNING:account_consistency_mode_manager.cc(72)]
 Desktop Identity Consistency cannot be enabled as no OAuth client ID and 
client secret have been configured.
  [61077:61077:0404/234148.307150:WARNING:sandbox_linux.cc(415)] 
InitializeSandbox() called with multiple threads in process gpu-process.

  (chrome:60968): IBUS-WARNING **: 23:41:48.438: Create input context
  failed: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An
  AppArmor policy prevents this sender from sending this message to this
  recipient; type="method_call", sender=":1.378" (uid=1000 pid=60968
  comm="/snap/chromium/3093/usr/lib/chromium-browser/chrom"
  label="snap.chromium.chromium (enforce)")
  interface="org.freedesktop.IBus" member="CreateInputContext" error
  name="(unset)" requested_reply="0" destination="org.freedesktop.IBus"
  (uid=1000 pid=4943 comm="/usr/bin/fcitx5" label="unconfined").

  (chrome:60968): IBUS-CRITICAL **: 23:42:09.499: 
ibus_im_context_filter_keypress: assertion 'ibusimcontext->cancellable != NULL 
|| ibus_bus_is_connected (_bus) == FALSE' failed
  ```

  > snap changes; grep ' install ' /var/log/dpkg.log

  ```text
  ID   Status  Spawn               Ready               Summary
  66   Done    today at 16:48 CST  today at 16:48 CST  Auto-refresh snap 
"snap-store"
  67   Done    today at 20:41 CST  today at 20:42 CST  Install "insomnia" snap
  68   Done    today at 23:25 CST  today at 23:27 CST  Refresh "chromium" snap 
from "latest/edge" channel
  69   Done    today at 23:26 CST  today at 23:26 CST  Running service command 
for snap "mesa-2404"
  70   Done    today at 23:36 CST  today at 23:37 CST  Refresh "chromium" snap 
from "latest/candidate" channel

  2025-04-01 00:20:49 install libactivation-java:all <none> 1.2.0-2
  2025-04-01 00:20:49 install libatinject-jsr330-api-java:all <none> 1.0+ds1-5
  2025-04-01 00:20:49 install libbcprov-java:all <none> 1.77-1
  2025-04-01 00:20:49 install libbcutil-java:all <none> 1.77-1
  2025-04-01 00:20:50 install libbcpkix-java:all <none> 1.77-1
  2025-04-01 00:20:50 install libmail-java:all <none> 1.6.5-2
  2025-04-01 00:20:50 install libbcmail-java:all <none> 1.77-1
  2025-04-01 00:20:50 install libcommons-io-java:all <none> 2.11.0-2
  2025-04-01 00:20:50 install libcommons-lang3-java:all <none> 3.14.0-1
  2025-04-01 00:20:50 install libfontawesomefx-java:all <none> 9.1.2-3
  2025-04-01 00:20:50 install libfontbox2-java:all <none> 2.0.29-1
  2025-04-01 00:20:50 install libgeronimo-validation-1.0-spec-java:all <none> 
1.1-3
  2025-04-01 00:20:50 install libgeronimo-validation-1.1-spec-java:all <none> 
1.0-2
  2025-04-01 00:20:51 install libgettext-commons-java:all <none> 0.9.6-6
  2025-04-01 00:20:51 install libjaxb-api-java:all <none> 2.3.1-1
  2025-04-01 00:20:51 install libjboss-logging-java:all <none> 3.5.3-1
  2025-04-01 00:20:51 install libjboss-jdeparser2-java:all <none> 2.0.3-2
  2025-04-01 00:20:51 install libjboss-logging-tools-java:all <none> 
2.2.1-3ubuntu1
  2025-04-01 00:20:51 install libhibernate-validator4-java:all <none> 4.3.4-7
  2025-04-01 00:20:51 install libjackson2-core-java:all <none> 2.14.1-1
  2025-04-01 00:20:51 install libjackson2-jr-java:all <none> 2.14.0-1
  2025-04-01 00:20:52 install libslf4j-java:all <none> 1.7.32-1
  2025-04-01 00:20:52 install liblogback-java:all <none> 1:1.2.11-5
  2025-04-01 00:20:52 install libxmpcore-java:all <none> 5.1.3-1
  2025-04-01 00:20:52 install libmetadata-extractor-java:all <none> 2.11.0-1
  2025-04-01 00:20:52 install libopenjfx-jni:amd64 <none> 11.0.11+1-3.1ubuntu5
  2025-04-01 00:20:52 install libopenjfx-java:all <none> 11.0.11+1-3.1ubuntu5
  2025-04-01 00:20:53 install libsejda-commons-java:all <none> 1.1.7-1
  2025-04-01 00:20:53 install libsejda-io-java:all <none> 2.1.4-1
  2025-04-01 00:20:53 install libsambox-java:all <none> 2.4.24-1
  2025-04-01 00:20:53 install libsejda-eventstudio-java:all <none> 3.0.4-1
  2025-04-01 00:20:53 install libsejda-injector-java:all <none> 2.0.0-1
  2025-04-01 00:20:53 install libthumbnailator-java:all <none> 0.4.20-1
  2025-04-01 00:20:53 install libtwelvemonkeys-java:all <none> 3.9.4-1
  2025-04-01 00:20:53 install libsejda-java:all <none> 4.3.14-1
  2025-04-01 00:20:54 install openjfx:amd64 <none> 11.0.11+1-3.1ubuntu5
  2025-04-01 00:20:54 install openjfx-source:all <none> 11.0.11+1-3.1ubuntu5
  2025-04-01 00:20:54 install pdfsam:all <none> 4.3.4-1
  2025-04-01 00:48:44 install ltrace:amd64 <none> 0.7.3-6.4ubuntu3
  2025-04-01 01:00:14 install pngquant:amd64 <none> 2.18.0-1build2
  2025-04-01 01:00:28 install link-grammar-dictionaries-en:all <none> 
5.12.3~dfsg-1build3
  2025-04-01 01:00:29 install minisat:amd64 <none> 1:2.2.1-8build1
  2025-04-01 01:00:29 install libjbig2enc0t64:amd64 <none> 0.29-2.1build1
  2025-04-01 01:00:29 install jbig2:amd64 <none> 0.29-2.1build1
  2025-04-03 19:17:32 install python3-libevdev:all <none> 0.5-3
  2025-04-03 19:17:32 install python3-pyudev:all <none> 0.24.0-1
  2025-04-03 19:17:32 install libinput-tools:amd64 <none> 1.25.0-1ubuntu3
  2025-04-04 10:35:41 install d-feet:all <none> 0.3.16-3
  2025-04-04 23:21:01 install chromium-browser:amd64 <none> 2:1snap1-0ubuntu2
  ```

  > echo "$XDG_SESSION_TYPE"; lspci -v

  wayland
  ...stripped, but the system is a Framework Laptop 13 (AMD 7040 series), so it 
should be easy to find a copy if it's required.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: chromium-browser 2:1snap1-0ubuntu2
  ProcVersionSignature: Ubuntu 6.11.0-21.21~24.04.1-generic 6.11.11
  Uname: Linux 6.11.0-21-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.5
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: KDE
  Date: Fri Apr  4 23:21:21 2025
  DiskUsage:
   Filesystem     Type   Size  Used Avail Use% Mounted on
   /dev/nvme0n1p3 btrfs  1.9T  434G  1.5T  23% /
   tmpfs          tmpfs   31G   31M   31G   1% /dev/shm
   /dev/nvme0n1p3 btrfs  1.9T  434G  1.5T  23% /
  InstallationDate: Installed on 2025-02-04 (59 days ago)
  InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
  Snap.Changes: no changes found
  Snap.ChromeDriverVersion: ChromeDriver 134.0.6998.165 
(fd886e2cb29dd984c13deec032832dee68d8abe3-refs/branch-heads/6998@{#2122})
  Snap.ChromiumVersion: Chromium 134.0.6998.165 snap
  SourcePackage: chromium-browser
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2106250/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to