Bug 2217637 - Chinese characters are too small in list of characters presented when entering pinyin.
Summary: Chinese characters are too small in list of characters presented when enterin...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2211400 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-26 18:50 UTC by Bill
Modified: 2023-12-02 09:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-02 09:44:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
screen-capture showing tiny Chinese words/characters matching pinyin (36.77 KB, image/png)
2023-06-26 18:57 UTC, Bill
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gnome-shell issues 7230 0 None opened IBus components does not follow the desktop font setting 2023-12-01 00:39:14 UTC

Description Bill 2023-06-26 18:50:59 UTC
1. When using ibus to enter Chinese characters via pinyin, a list of characters matching the pinyin appears.  The characters in the list are too small, making it difficult to choose the desired ones, especially in the case of characters that consist of many strokes.

2. I cannot find a way of making the characters in the list larger.  There used to be a settings or preferences tool, but I have not been able to find one on my work station for over a year.  According to dnf, I have "gnome-shell-extension-ibus-font", but it has no man page, it cannot be launched from the command line, and "Activities" does not find a matching application.

Reproducible: Always

Steps to Reproduce:
(1. size part)
1.Launch LibreOffice Writer.  (Other applications such as vim work just as well.)
2.Choose "Chinese (Intelligent Pinyin)" for input.
3.Enter the pinyin spelling for a Chinese word (example: "pang xie").

(2. settings/preferences part)
I cannot think of a way to test this!
Actual Results:  
(1. size part)
A numbered menu (list) of Chinese words appears.  The words (characters) are very small and hard to read or distinguish.

(2. settings/preferences part)
not applicable.

Expected Results:  
(1. size part)
A numbered menu (list) of Chinese words appears.  The words (characters) should be large enough for almost everyone to read, regardless of which desktop environment is being used.

(2. setting/preferences part)
a. There should be a setting/preferences GUI in which it is easy to set then font (face and size) used to display the words/characters in the list/menu of words matching the pinyin that I enter.
b. This GUI should be easily accessible in all desktop environments.
c. This GUI should be easily installed, maintained, patched, updated, and so on via dnf, regardless of what desktop environment is being used.


I am not a systems administrator.  I have no training or professional experience in systems administration and operating systems.  I am a "home user" using Fedora on a home work station, stuck doing his own systems administration.  I like having dnf handle almost all my installation and maintenance.  One thing I have outside of dnf management is "zoom", and it's a real hassle to maintain.  So please understand that I need customization of ibus, especially font face and size, to be easily do-able via a GUI installed and maintained via dnf, and that the GUI must easily work in all desktop environments.

Comment 1 Bill 2023-06-26 18:57:36 UTC
Created attachment 1972712 [details]
screen-capture showing tiny Chinese words/characters matching pinyin

This shows the smallness of the Chinese words/characters in the menu of words matching the entered pinyin.  For comparison, notice the size 16 characters in the LibreOffice document into which I was trying to enter the Chinese word.

Comment 2 fujiwara 2023-06-27 08:50:52 UTC
gnome-tweaks could change the font size few days ago AFAIR but now it does not effect, curious.
Will investigate it later.

Comment 3 Aoife Moloney 2023-11-23 01:47:23 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 fujiwara 2023-11-30 23:28:03 UTC
*** Bug 2211400 has been marked as a duplicate of this bug. ***

Comment 5 fujiwara 2023-11-30 23:36:38 UTC
(In reply to fujiwara from comment #2)
> gnome-tweaks could change the font size few days ago AFAIR but now it does
> not effect, curious.
> Will investigate it later.

Now I remember this was a known issue.
In non-GNOME desktop session, IBus follow the desktop font setting likes `xfce4-appearance-settings` and also ibus-setup provides a "Use custom font" check button.

But in GNOME desktop session, IBus does not follow the desktop font when the users customize the font with gnome-tweaks.

The workaround is provided in https://extensions.gnome.org/extension/1121/ibus-font-setting/ to follow the font setting of ibus-setup in GNOME desktop session.

But I don't think it's not a good solution that GNOME components refers the IBus settings.

Now I'm working on the GNOME shell.

Comment 6 fujiwara 2023-12-01 00:39:14 UTC
I made the tentative patch in upstream and the maintainer replied Settings → Accessibility → Seeing → Large text (or text-scaling-factor in org.gnome.desktop.interface) is available for the font customization.

It's a good configuration for IBus components to follow the desktop font size however probably I think the Large text would not be enough for the complicated characters.

Bill:

Do you have any comments?

Comment 7 Bill 2023-12-01 01:59:45 UTC
I'm looking for something that works in all desktop environments, not just Gnome.

I'm looking for something that is installed and maintained via "dnf", not "software", not "flatpaks", not via separate manual download and manual install.  "ibus-font-setting" is not available via "dnf".

I have the current ibus, and I have the current ibus-setup.  I am currently at Fedora-38, last patched via "dnf upgrade" today.  I will not be upgrading to Fedora-39 until April or May of 2024.  So I need the fix to be made available to Fedora-38 as well as Fedora-39.

In the Gnome "Tweaks" tool, all four fonts are currently set to "AR PL UKai CN Book 17".
In the "ibus-setup" tool, the font is set to "AR PL UKai CN Book 20", and the "Use custom font:" is checked (on).

I only partially understood comments 5 and 6.

I find that the larger font size (like 16) is good enough for almost all complicated words like "螃蟹" (crab).  It would take a huge font to handle the Chinese for "biangbiang noodles".

Hey, wow, I just now see that "gnome-shell-extension-ibus-font" is available via "dnf".  I will try to install that, and report back the results.

Comment 8 Bill 2023-12-01 02:03:39 UTC
(In reply to Bill from comment #7)

> Hey, wow, I just now see that "gnome-shell-extension-ibus-font" is available
> via "dnf".  I will try to install that, and report back the results.

It is already installed and updated as of October 05.  So I still have the problem.

Comment 9 Peng Wu 2023-12-01 02:35:46 UTC
I think you need to use gnome-extensions-app to enable the gnome-shell extension.

Comment 10 fujiwara 2023-12-01 03:03:50 UTC
(In reply to Bill from comment #7)
> I'm looking for something that works in all desktop environments, not just
> Gnome.

As I noted, non-GNOME desktop already provides the font setting tools.

> In the Gnome "Tweaks" tool, all four fonts are currently set to "AR PL UKai
> CN Book 17".
> In the "ibus-setup" tool, the font is set to "AR PL UKai CN Book 20", and
> the "Use custom font:" is checked (on).

As I noted, you should try Settings → Accessibility → Seeing → Large text.

> Hey, wow, I just now see that "gnome-shell-extension-ibus-font" is available
> via "dnf".  I will try to install that, and report back the results.

You don't have to use that tool.

Comment 11 Bill 2023-12-01 04:27:35 UTC
ok.
I succeeded in finding the gnome-extensions-app with dnf.
dnf successfully installed it.
The app reported that ibus font setting needed updating, and I needed to log off.  I shut down, and booted back up; the needed update was done.

ibus now shows the pop-up menu with the same font size (17) that is set in the tweaks tool.  That is a good improvement.
But the size in the menu is still smaller than what I set in ibus-setup (20).

Settings → Accessibility → Seeing → Large text does make the characters in the ibus pop-up (and everything else!) bigger.
But because Settings → Accessibility → Seeing → Large text makes *everything* bigger, I would prefer that my ibus-setup font size setting (20) be honored, and that I not have to use Settings → Accessibility → Seeing → Large text.

I appreciate the improvements made so far.

Comment 12 fujiwara 2023-12-01 04:44:29 UTC
(In reply to Bill from comment #11)
> But because Settings → Accessibility → Seeing → Large text makes
> *everything* bigger, I would prefer that my ibus-setup font size setting

Changing font in IBus only is a wrong configuration and it won't be implemented and we don't recommend to use the GNOME shell extension.

The "Large text" UI in GNOME Setting is the rate 1.25 and the left issue is if the rate is enough for you.
If you need more larger rate, I can send the feedback to GNOME upstream.

Otherwise, I will close this issue.

Comment 13 Bill 2023-12-01 17:48:30 UTC
I "played" with this more, using both Gnome and KDE.  (By the way, I wrote this as a Fedora bug, not a Gnome bug.)  I also tried to set the font size to a bigger number in ibus-setup so that if the characters in the ibus pop-up are bigger, it would be obvious.  It worked.  The characters in the ibus pop-up were bigger, the desired size, in both Gnome and KDE.  So the font size in ibus-setup is now working in both desktop environments.

*I* am satisfied; I believe you can close this bug.  But you should also check with Ben Engbers, since he submitted the "duplicate" bug.

I thank both of you for your help and patience.

Bill.

Comment 14 fujiwara 2023-12-02 09:44:41 UTC
KDE uses the IBus's candidate popup but GNOME uses the GNOME shell's candidate popup(you could notice the the popup is drawn with the black theme color.) and the GNOME UI should not follow the IBus settings.


Note You need to log in before you can comment on or make changes to this bug.