GNOME Bugzilla – Bug 708890
Please use the font settings of ibus-setup when show input method candidates
Last modified: 2021-07-05 14:03:51 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.
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?
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".
(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?
(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.
Related developers havn't use the input method, so can't they don't consider this is a problem naively.
(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.
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.
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/
(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.
Okay, I agreed.
(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.
Maybe gnome-shell could read the font settings of ibus-setup tool from dconf.
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.
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).
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.
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.
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.
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.
(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.
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!
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.
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.
> because IBus GTK Panel is not isolated with desktops Sorry typo: because IBus GTK panel is isolated with desktops
I think it's really needed. Eg. If you have a presentation with bluejeans, how do you enlarge the font size.
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.
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.