Debian Bug report logs - #985709
ibus-mozc: mozc-tool ignores KDE Qt theme

version graph

Package: ibus-mozc; Maintainer for ibus-mozc is Nobuhiro Iwamatsu <[email protected]>; Source for ibus-mozc is src:mozc (PTS, buildd, popcon).

Reported by: Daniel Tang <[email protected]>

Date: Mon, 22 Mar 2021 13:51:02 UTC

Severity: normal

Found in version 2.26.4220.100+dfsg-4ubuntu2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Nobuhiro Iwamatsu <[email protected]>:
Bug#985709; Package ibus-mozc. (Mon, 22 Mar 2021 13:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Tang <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Nobuhiro Iwamatsu <[email protected]>. (Mon, 22 Mar 2021 13:51:03 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Daniel Tang <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: ibus-mozc: mozc-tool ignores KDE Qt theme
Date: Mon, 22 Mar 2021 09:47:17 -0400
Package: ibus-mozc
Version: 2.26.4220.100+dfsg-4ubuntu2
Severity: normal
X-Debbugs-Cc: [email protected]

This was orignally reported in Ubuntu downstream at
https://bugs.launchpad.net/ubuntu/+source/mozc/+bug/1920578 . I am
reporting it upstream as per the maintainer's instructions.

Summary:

Mozc ignores my KDE Qt theme, and uses the ugly fallback theme.

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu

Description: Ubuntu Hirsute Hippo (development branch)
Release: 21.04

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center

mozc-utils-gui:
  Installed: 2.26.4220.100+dfsg-4ubuntu2
  Candidate: 2.26.4220.100+dfsg-4ubuntu2
  Version table:
 *** 2.26.4220.100+dfsg-4ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
        100 /var/lib/dpkg/status

3) What you expected to happen

The UI should use the configured Qt theme like all Qt applications. For an example of an application with the correct theme, you can open Dolphin, and click the overflow menu, then "Configure Dolphin".

The "OK", "Apply", and "Cancel" buttons are particularly easy to compare.

4) What happened instead

The UI looks very ugly and out of place compared to the rest of the system. It looks like it's falling back to the default Qt theme. It doesn't look like a piece of software bundled with Ubuntu, but rather like downloaded 3rd-party software that bundles its own Qt like Anki (dark mode), Genymotion, Binary Ninja, and (old versions of) MultiMC.

Another relevant comment:

> Assuming you are using Kubuntu, I don't have access to any Kubuntu install ATM

> Do you know if the issue is present in e.g. 20.04 or 20.10 as well?

I spun up Kubuntu 20.04, 20.10, and 21.04 live CD VMs. I found the theming issue is present neither in 20.04 nor 20.10. On those versions, (aside from the one minor problem of the line underneath the tab) the dialog fits in like a native KDE application. It seems like this is a regression introduced in 21.04.

The about box text is still illegible in all three versions.

Attached is the newly-found expected behaviour, as it was in 20.04 and 20.10.

-- System Information:
Debian Release: bullseye/sid
  APT prefers hirsute
  APT policy: (500, 'hirsute')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.11.7-surface (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ibus-mozc depends on:
ii  ibus                    1.5.24-1
ii  libabsl20200923         0~20200923.3-3
ii  libc6                   2.33-0ubuntu2
ii  libglib2.0-0            2.67.5-2
ii  libibus-1.0-5           1.5.24-1
ii  libprotobuf23           3.12.4-1ubuntu1
ii  libstdc++6              11-20210310-1ubuntu1
ii  libxcb-xfixes0          1.14-3ubuntu1
ii  libxcb1                 1.14-3ubuntu1
ii  mozc-data               2.26.4220.100+dfsg-4ubuntu2
ii  mozc-server             2.26.4220.100+dfsg-4ubuntu2
ii  tegaki-zinnia-japanese  0.3-1.1

ibus-mozc recommends no packages.

Versions of packages ibus-mozc suggests:
ii  mozc-utils-gui  2.26.4220.100+dfsg-4ubuntu2

-- no debconf information



Information forwarded to [email protected], Nobuhiro Iwamatsu <[email protected]>:
Bug#985709; Package ibus-mozc. (Wed, 24 Mar 2021 10:57:02 GMT) (full text, mbox, link).


Acknowledgement sent to Gunnar Hjalmarsson <[email protected]>:
Extra info received and forwarded to list. Copy sent to Nobuhiro Iwamatsu <[email protected]>. (Wed, 24 Mar 2021 10:57:02 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Gunnar Hjalmarsson <[email protected]>
To: [email protected], Daniel Tang <[email protected]>
Subject: Re: ibus-mozc: mozc-tool ignores KDE Qt theme
Date: Wed, 24 Mar 2021 11:49:26 +0100
[Message part 1 (text/plain, inline)]
One idea, Daniel:

In your 21.04 installation, can you please manually install version 
2.23.2815.102+dfsg-10build1 of the mozc packages from 20.10. You may 
need to download:

- ibus-mozc
- mozc-data
- mozc-server
- mozc-utils-gui

If that makes the theme issue go away, we have isolated the cause of the 
issue to mozc. Otherwise the cause reasonably lies somewhere else.

-- 
Cheers,

Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj

[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to [email protected], Nobuhiro Iwamatsu <[email protected]>:
Bug#985709; Package ibus-mozc. (Wed, 24 Mar 2021 13:39:02 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel T <[email protected]>:
Extra info received and forwarded to list. Copy sent to Nobuhiro Iwamatsu <[email protected]>. (Wed, 24 Mar 2021 13:39:02 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Daniel T <[email protected]>
To: Gunnar Hjalmarsson <[email protected]>
Cc: [email protected]
Subject: Re: ibus-mozc: mozc-tool ignores KDE Qt theme
Date: Wed, 24 Mar 2021 09:37:04 -0400
[Message part 1 (text/plain, inline)]
Dear Mr. Hjalmarsson,

Doing just `dpkg -i mozc-utils-gui_2.23.2815.102+dfsg-10build1_amd64.deb`
does indeed solve the problem.

Sincerely,
Daniel Tang

On Wed., Mar. 24, 2021, 07:19 Gunnar Hjalmarsson, <[email protected]>
wrote:

> One idea, Daniel:
>
> In your 21.04 installation, can you please manually install version
> 2.23.2815.102+dfsg-10build1 of the mozc packages from 20.10. You may
> need to download:
>
> - ibus-mozc
> - mozc-data
> - mozc-server
> - mozc-utils-gui
>
> If that makes the theme issue go away, we have isolated the cause of the
> issue to mozc. Otherwise the cause reasonably lies somewhere else.
>
> --
> Cheers,
>
> Gunnar Hjalmarsson
> https://launchpad.net/~gunnarhj
>
>
[Message part 2 (text/html, inline)]

Information forwarded to [email protected], Nobuhiro Iwamatsu <[email protected]>:
Bug#985709; Package ibus-mozc. (Wed, 24 Mar 2021 17:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Gunnar Hjalmarsson <[email protected]>:
Extra info received and forwarded to list. Copy sent to Nobuhiro Iwamatsu <[email protected]>. (Wed, 24 Mar 2021 17:27:04 GMT) (full text, mbox, link).


Message #20 received at [email protected] (full text, mbox, reply):

From: Gunnar Hjalmarsson <[email protected]>
To: Daniel T <[email protected]>, [email protected]
Subject: Re: Bug#985709: ibus-mozc: mozc-tool ignores KDE Qt theme
Date: Wed, 24 Mar 2021 18:25:39 +0100
[Message part 1 (text/plain, inline)]
On 2021-03-24 14:37, Daniel T wrote:
> Doing just `dpkg -i 
> mozc-utils-gui_2.23.2815.102+dfsg-10build1_amd64.deb` does indeed solve 
> the problem.

Thanks!

@Nobuhiro: Should this be reported upstream? I don't see anything about 
it in the upstream issue tracker.

-- 
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj

[OpenPGP_signature (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 19:21:58 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.