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 779990 - Input layout switcher should support IBus <icon>
Input layout switcher should support IBus <icon>
Status: RESOLVED FIXED
Product: gnome-flashback
Classification: Other
Component: input-sources
unspecified
Other Linux
: Normal minor
: ---
Assigned To: GNOME Flashback Maintainers
GNOME Flashback Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-13 17:31 UTC by Ori Avtalion
Modified: 2019-12-23 01:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ori Avtalion 2017-03-13 17:31:31 UTC
IBus input methods include a possible icon image.

The layout switcher should use it as an icon before trying to show "symbol" or "language".
Comment 1 Alberts Muktupāvels 2019-12-16 22:54:36 UTC
Do you have example for that? I need something for testing...
Comment 2 Ori Avtalion 2019-12-16 23:09:53 UTC
The project I maintain, UniEmoji, can be used:
  https://github.com/salty-horse/ibus-uniemoji/

Run "make install" to install, then restart ibus and add the new input method in the ibus settings. You can "make uninstall" when you're done.

In uniemoji.xml.in you will find both <icon> and a <symbol> definitions. The icon is an svg file, but can be changed to anything else for testing.

If you don't change the image, I suggest at least changing the symbol to a different character, such as "X", since the image is just a picture of the symbol, and they may both render the same on your system.
Comment 3 Alberts Muktupāvels 2019-12-23 01:07:18 UTC
Input source status icon has been replaced by system-indicators applet!

New applet by default will use symbolic icons. I have added new setting use-ibus-icon-if-available to new applet that is disabled by default. New applet currently has no preference dialog so you will have to use gsettings to enable IBus icon.

gsettings set org.gnome.gnome-flashback.system-indicators.input-source:/org/gnome/gnome-panel/layout/objects/system-indicators/instance-config/ use-ibus-icon-if-available false

This requires gnome-panel and gnome-flashback from master if you want test new functionality. You will also need to add new applet to panel.