After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 708890 - Please use the font settings of ibus-setup when show input method candidates
Please use the font settings of ibus-setup when show input method candidates
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-09-27 06:47 UTC by Peng Wu
Modified: 2021-07-05 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ibusCandidatePopup: Use the font settings from ibus-setup (2.13 KB, patch)
2016-09-22 02:34 UTC, Peng Wu
none Details | Review
ibusCandidatePopup: Use the font settings from ibus-setup (1.78 KB, patch)
2016-09-26 06:32 UTC, Peng Wu
none Details | Review

Description Peng Wu 2013-09-27 06:47:13 UTC
There is an option in ibus-setup to specify the font used to show the input method candidates.

But after changed to a larger font, the gnome-shell input method candidates still use the default font size.

Please use the font settings of ibus-setup or make it configurable in dconf, thanks.
Comment 1 Rui Matos 2014-07-07 12:10:22 UTC
Why do you need to change the candidates font size? What's wrong with the current one? Should we try to find a better default?
Comment 2 Peng Wu 2014-07-08 01:23:29 UTC
In the past, ibus supports this feature.

For some users, larger fonts is easier to read.

BTW, the key is in "/desktop/ibus/panel/custom-font".
Comment 3 Florian Müllner 2014-07-08 08:02:10 UTC
(In reply to comment #2)
> For some users, larger fonts is easier to read.

But what is the use case for using a smaller font for everything except for the IM candidates panel? Or in other words: Why wouldn't those users increase the overall font size rather than choosing a different font for one particular element?
Comment 4 Mike FABIAN 2014-07-08 08:28:16 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > For some users, larger fonts is easier to read.
> 
> But what is the use case for using a smaller font for everything except for the
> IM candidates panel? Or in other words: Why wouldn't those users increase the
> overall font size rather than choosing a different font for one particular
> element?

When you read a sentence in context, you can often read a character
even though the resolution is too bad to see every stroke because the
context makes it clear what character it has to be. When selecting
a candidate character while typing, I find it helpful if it is bigger than
usual because it is out of context and one sometimes wants to see it clearly
to make sure to select the right character.
Comment 5 wsxy162 2016-06-25 12:24:32 UTC
Related developers havn't use the input method, so can't they don't consider this is a problem naively.
Comment 6 Bastien Nocera 2016-06-28 13:18:34 UTC
(In reply to wsxy162 from comment #5)
> Related developers havn't use the input method, so can't they don't consider
> this is a problem naively.

You'd better keep those sort of comments to yourself.
Comment 7 wsxy162 2016-06-28 13:59:52 UTC
Sorry for the rudeness, but I still think they don't use input method. Cause ibus has that feature to customize the candidates font size, and fcitx(another IM) also, it's a needful fuction for more comfortably typing Chinese characters.Dynamic characters in candidates is different from static characters for reading. GNOME chose
to intergrate ibus into shell, but let some functions be unavailable, that make me quite upset.
Comment 8 Peng Wu 2016-07-14 06:55:44 UTC
I created a gnome-shell user theme to enlarge ibus candidate font size to work around it.

URL: https://pwu.fedorapeople.org/ibus/gnome-ibus/
Comment 9 wsxy162 2016-07-14 07:17:07 UTC
(In reply to Peng Wu from comment #8)
> I created a gnome-shell user theme to enlarge ibus candidate font size to
> work around it.
That is a workaround, to respect the origin ibus setup tool would be better.
Comment 10 Peng Wu 2016-07-14 07:21:56 UTC
Okay, I agreed.
Comment 11 Takao Fujiwara 2016-07-14 09:05:18 UTC
(In reply to wsxy162 from comment #9)
> (In reply to Peng Wu from comment #8)
> > I created a gnome-shell user theme to enlarge ibus candidate font size to
> > work around it.
> That is a workaround, to respect the origin ibus setup tool would be better.

It would be gnome-control-center but not ibus-setup.
We won't implement any GNOME settings in ibus-setup and the lookup table is owned by gnome-shell.
Comment 12 Peng Wu 2016-07-14 09:23:55 UTC
Maybe gnome-shell could read the font settings of ibus-setup tool from dconf.
Comment 13 Peng Wu 2016-09-22 02:34:29 UTC
Created attachment 336042 [details] [review]
ibusCandidatePopup: Use the font settings from ibus-setup

Some users want to use larger font in input method candidates,
this patch will use the font settings from ibus-setup dialog.
Comment 14 Florian Müllner 2016-09-22 09:16:05 UTC
Review of attachment 336042 [details] [review]:

While we aren't even following the "interface" font setting in the top bar / menus, there needs to be a better reason than "some users want this". But more importantly, following *one* setting from the ibus-setup dialog while ignoring everything else is completely broken - if there is a convincing reason for a separate candidate font, then there should be a new setting (probably in gsettings-desktop-schemas, with UI in gnome-tweak-tool).
Comment 15 Peng Wu 2016-09-26 06:32:34 UTC
Created attachment 336246 [details] [review]
ibusCandidatePopup: Use the font settings from ibus-setup

Some users want to use larger font in input method candidates,
this patch will use the font settings from ibus-setup dialog.
Comment 16 Peng Wu 2016-09-26 06:33:47 UTC
For input method users, the candidate panel provides important information, 
larger font is easier to use.

I updated the patch for gnome-shell, please review it.

If this is okay, I will file other patches 
for gsettings-desktop-schemas and gnome-tweak-tool.
Comment 17 Bastien Nocera 2016-09-26 09:53:53 UTC
I don't think that following ibus-setup's font configuration is a good way forward. The problem with the candidate characters not being readable is really specific to some character sets, such as Kanji or Traditional Chinese characters, or even emojis.

I'd rather the ibus engines exported that fact, so we could make the candidate characters bigger for those engines, and those engines only, out-of-the-box, without further configuration.
Comment 18 Peng Wu 2016-09-27 05:40:49 UTC
I think it is better to add an option in gsettings-desktop-schemas,
and provide a configuration UI in gnome-tweak-tool.

If the ibus engines exported the fact, it will requires much more work,
ibus API and gnome-shell candidate panel needs to changes,
then several input method engines will needs to changes,
and the setup dialog of input method engines will need to
add some UI for the font.

I think each user will just need to change the font for own usage,
only one font configuration UI in gnome-tweak-tool is needed.
Comment 19 Bastien Nocera 2016-09-27 08:25:59 UTC
(In reply to Peng Wu from comment #18)
> I think it is better to add an option in gsettings-desktop-schemas,
> and provide a configuration UI in gnome-tweak-tool.

No, you think it's less work. This is not how we usually work though.
Comment 20 Peng Wu 2016-10-13 03:26:07 UTC
I created a new gnome-shell extension for this issue.
URL: https://extensions.gnome.org/extension/1121/ibus-font-setting/

I think it is okay for me to close this bug.

Thanks for the comments!
Comment 21 Bastien Nocera 2017-05-31 14:31:52 UTC
Filed https://github.com/ibus/ibus/issues/1928 as this is what's required for implementing a fix for this bug. Neither an extension nor a configuration option are viable fixes, there shouldn't need to be any configuration.
Comment 22 Takao Fujiwara 2017-06-07 09:15:23 UTC
I think the real problem is that the size cannot be changed by gnome-tweak-tool.
ibus-setup has a font setting because IBus GTK Panel is not isolated with desktops and some desktops does not provide the font setting.

GNOME provides `gnome-control-center universal-access` but the font size is not enough.

I think the font sizes of lookup window, IME switcher and panel icon menus should be customizable.
Comment 23 Takao Fujiwara 2017-06-07 09:17:33 UTC
> because IBus GTK Panel is not isolated with desktops 

Sorry typo:
because IBus GTK panel is isolated with desktops
Comment 24 Takao Fujiwara 2017-06-07 09:56:02 UTC
I think it's really needed. Eg. If you have a presentation with bluejeans, how do you enlarge the font size.
Comment 25 Peng Wu 2017-06-07 10:08:29 UTC
I think the lookup window of candidates fonts size is important to be customized.

The preedit text use the font size from the current application,
which can be changed by the application setting.

After the user input some text, the preedit text will show
the guessed result of user input;
user will need to use lookup window of candidates to adjust the preedit text.

Normally after user choose some candidates, only the candidate part
of the preedit text will be changed.

The lookup window of candidates contains the changes of preedit,
normally candidates selection will only affect that part of preedit.

It is very important for the user to choose correct candidate,
because mostly just the candidate part of preedit text will be affected.

The preedit text contains the final string,
but the lookup window of candidates contains the changes of preedit.
Comment 26 GNOME Infrastructure Team 2021-07-05 14:03:51 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.