[Budgie 20.04] Using “ibus-mozc”, two “keyboard” icons may appear in the system tray.

Bug #1854604 reported by ichro furuya
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
budgie-desktop (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Ubuntu Budgie 20.04 Daily (Japanese environment)

## Using “ibus-mozc”, two “keyboard” icons may appear in the system tray.

This is because an afterimage of the “keyboard” icon remains in the system tray.
(It appears that the background of the icon is not cleared with the panel color before the icon is displayed.)

---
#### usage environment:

Ubuntu Budgie 20.04 Daily (Japanese environment)

$ cat /var/log/installer/media-info
Ubuntu-Budgie 20.04 LTS "Focal Fossa" - Alpha amd64 (20191125)

$ uname -r
5.3.0-18-generic

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu Focal Fossa (development branch)"

---
Input method: ibus-mozc
(ibus-mozc/focal,now 2.23.2815.102+dfsg-7 amd64)

ibus
(ibus/focal,now 1.5.21-1~exp2ubuntu3 amd64)

Applet: System tray

---
#### Setting:

$ im-config
-> I selected “ibus”.

$ ibus-setup
-> Check "システムトレイにアイコンを表示する (Display icon in system tray)".

---
#### Specifications of the machine used:

Boot Mode: BIOS

Processor
Architecture in use: 64-bit

Components
Memory(RAM): 8.3 GB(7.7 GiB)
Graphics: Intel Coporetion Haswell-ULT Integrated Graphics Controller(rev 09)

---
### Problem phenomenon:

---
#### 1: Symptoms occur where the "keyboard" icon was originally located.

At login, When the “Network Connection” icon appears in the system tray, the “Keyboard” icon moves to the left. There is an afterimage at the original position, and the “Network Connection” icon and the image overlap, but the “Network Connection” icon is not noticeable. So it looks like there are two “keyboard” icons.

-> Attached image file - "When connected to network"
 Incorrect display: NG-2.jpeg
 Correct display: OK-2.jpeg

---
#### 2: The same phenomenon occurs where the “keyboard” icon has moved.

The “keyboard” icon usually changes depending on the keyboard input status.

- "Keyboard image": (initial display) -> OK-1.jpeg
- Orange "あ": (Mozc starting) -> OK-3.jpeg
- Blue "A": (Japanese off) -> OK-4.jpeg
- Blue "あ": (Japanese on) -> OK-5.jpeg

Since all images corresponding to the transparency of the panel overlap and the image is filled, it is not useful as a Japanese on / off display. By the way, the afterimage of the orange “あ” stands out.

---
By the way, the "keyboard" icon is not displayed by default.
 -> Attached image file: KB-icon-off.jpeg

Japanese is a language that includes both kanji and alphanumeric characters. By default, the input mode changes each time you press the “Hankaku/Zenkaku” key. There are two input modes: “Japanese on” (Kanji / Hiragana / Katakana) and “Japanese off” (alphabet).

It is set to display the “keyboard” icon to check the change of the keyboard status.
 -> Attached image file :
 OK-4.jpeg - Blue "A": (Japanese off)
 OK-5.jpeg - Blue "あ": (Japanese on)

Therefore, it is difficult to input Japanese if the “keyboard” icon is not displayed correctly.
 -> Attached image file: NG-5.jpeg

Perhaps those who use English will not notice this bug. However, it is very important for Japanese people.

---
#### Workaround:

1. Log out -> Log in

It may or may not return to normal.

2. By separating the input mode on and off into separate keys, you can enter without looking at the indicators.

Personally, I assigned the input mode “Japanese on” to the “Hiragana” key and “Japanese off” to the “Muhenkan” key. I edited the “Custom” created in “Key Settings” in “Mozc Settings” (mozc_tool). It's not difficult, but it requires a little skill.

---
#### Attached image file (KB-icon.tar.gz)

KB-icon-off.jpeg - (Display icon in system tray)
KB-icon-on.jpeg - (Display icon in system tray)

NG-1.jpeg - "Keyboard image": (initial display)
NG-2.jpeg - “Network Connection”
NG-3.jpeg - Orange "あ": (Mozc starting)
NG-4.jpeg - Blue "A": (Japanese off)
NG-4-1.jpeg (Changed the background to make it easier to understand.)
NG-4-2.jpeg (Changed the background to make it easier to understand.)
NG-4-3.jpeg (Changed the background to make it easier to understand.)
NG-5.jpeg - Blue "あ": (Japanese on) - The image is mixed

OK-1.jpeg - "Keyboard image": (initial display)
OK-2.jpeg - “Network Connection”
OK-3.jpeg - Orange "あ": (Mozc starting)
OK-4.jpeg - Blue "A": (Japanese off)
OK-5.jpeg - Blue "あ": (Japanese on)

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ibus-mozc 2.23.2815.102+dfsg-7
ProcVersionSignature: Ubuntu 5.3.0-18.19-generic 5.3.1
Uname: Linux 5.3.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu9
Architecture: amd64
CurrentDesktop: Budgie:GNOME
Date: Sun Dec 1 12:09:36 2019
ExecutablePath: /usr/lib/ibus-mozc/ibus-engine-mozc
InstallationDate: Installed on 2019-11-27 (3 days ago)
InstallationMedia: Ubuntu-Budgie 20.04 LTS "Focal Fossa" - Alpha amd64 (20191125)
ProcEnviron:
 LANGUAGE=ja_JP
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ja_JP.UTF-8
 SHELL=/bin/bash
SourcePackage: mozc
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
ichro furuya (furuya) wrote :
Revision history for this message
fossfreedom (fossfreedom) wrote :

Reassigned to budgie desktop

The tray issue and all similar tray issues is a known upstream issue

https://github.com/solus-project/budgie-desktop/issues/1249

So I have reassigned the package from mozc

no longer affects: mozc (Ubuntu)
Changed in budgie-desktop (Ubuntu):
status: New → Triaged
Revision history for this message
ichro furuya (furuya) wrote :

I confirmed “issues/1249”. Other workarounds found. Thank you very much.

---
#### Additional workaround (excerpt from above):

1. Enter the command from the terminal.
$ budgie-panel --replace &

-> The icon is corrected. However, if you close the terminal window, the panel will close, so minimize the terminal window.

2. Open "Budgie Settings" and place the panel at the bottom. When the icon is corrected, return the panel to the top.

3. Personally, I changed the panel layout from "top to right" so that it doesn't stand out even if an icon defect occurs.

Attached image file (workaround-panel.jpeg)
-> When placed vertically, the position of the “keyboard” icon does not change, so even if there is an afterimage, it will not be displayed overlapping the “network connection” icon. However, the “Japanese on / off” icons overlap.

---
#### Version information:

ubuntu-budgie-desktop (/focal,now 0.56 amd64)
budgie-desktop (/focal,focal,now 10.5.1-1 all)
budgie-desktop-environment (/focal,focal,now 0.13.1 all)

Revision history for this message
ichro furuya (furuya) wrote :
Revision history for this message
ichro furuya (furuya) wrote :

I changed the panel layout to "Right" and moved the applet (system tray) under the "Badgie Menu".

This is a way to prevent the “Network Connections” icon and “Keyboard” icon in the system tray from overlapping. Not only that, the “Japanese on / off” icon no longer overlaps. Since then there have been no failures. It is clearly decreasing.

I think it includes tips for improving the bug. I sent the settings for “Budgie Desktop Settings”.
-> (Workaround-panel-setting.jpeg)

Revision history for this message
ichro furuya (furuya) wrote :

Unfortunately, when I logout and login, it recurred. It has only occurred once.

As a result of the workaround, the image of the “Network Connection” icon is not noticeable. If you look closely, both the "Network connection" icon and the "Keyboard" icon are square black backgrounds.
-> (Unfortunately-NG.jpeg)

I logout and login. It has recovered. There is no square black background.
-> (recovery-OK.jpeg)

Revision history for this message
ichro furuya (furuya) wrote :
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.