Update gtk3 emoji chooser for Unicode 16

Bug #2096777 reported by Jeremy Bícha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Fix Released
Low
Unassigned
Noble
Fix Released
Low
Unassigned
Oracular
Fix Released
Low
Unassigned

Bug Description

Impact
------
Ubuntu has included Google's color emoji font by default for years. Annually, the Unicode Consortium releases a new Unicode standard with new emoji. Internet communication platforms quickly adopt the new emoji and it's important that those emoji also work on the latest Ubuntu release.

https://blog.emojipedia.org/whats-new-in-unicode-16-0/

This is a follow up to LP: #2083629 which updated the color emoji font to support the new emoji.

This updates the GTK3 emoji chooser that can be used in apps like gedit.

Test Case 1
---------
1. Be sure fonts-noto-color-emoji 2.042-1 is installed. On Ubuntu 24.04 LTS, this is as simple as running
sudo apt install --mark-auto fonts-noto-color-emoji=2.042-1

For Ubuntu 24.10, you can download the .deb from
https://launchpad.net/ubuntu/+source/fonts-noto-color-emoji/2.042-1/+latestbuild/amd64
and then run something like
sudo apt install --mark-auto ./fonts-noto-color-emoji_2.042-1_all.deb

2. After installing the font, restart your computer.

3. Install the updated gtk3 packages.

4. Install gedit with sudo apt install gedit

5. Run gedit. Right click in the text area and choose Insert Emoji.

6. Search for fingerprint. No results should be shown.

Test Case 2
------
1. Be sure fonts-noto-color-emoji 2.047 is installed. On Ubuntu 24.10, this font version should already be installed.

By the time this GTK3 update reaches noble-proposed, fonts-noto-color-emoji 2.047 will likely be in noble-updates. If not, install it from noble-proposed instead.

2. Restart your computer.

3. Install the updated gtk3 packages.

4. Install gedit with sudo apt install gedit

5. Run gedit. Right click in the text area and choose Insert Emoji.

6. Search for fingerprint. Click the blue fingerprint result. It should be inserted into your document.

What Could Go Wrong
-------------------
This is roughly a backport of the emoji chooser update from GTK 3.24.48. This was split from a full update to 3.24.48 to simplify the SRU.

This SRU is limited to updating the data used to generate the GTK3 emoji chooser.

If the emoji chooser is broken, people can:
1. Use the GNOME Characters app (installed by default) to choose emoji instead and copy and paste them where needed.
2. Copy and paste emoji from the web, such as from https://emojipedia.org/

Many of the default apps like gnome-text-editor are GTK4 and are not affected by this SRU.

Other Info
----------
We are also updating the gtk4 emoji chooser in LP: #2096803

This change could be backported to Ubuntu 22.04 LTS but the Ubuntu Desktop team has limited capacity so we are encouraging people who care about improvements like this to upgrade to Ubuntu 24.04 LTS.

Debian customizes the build in debian/rules using a copy of the binary emojibase data in debian/missing-sources/ to build the emoji chooser data from source (gtk upstream ships the output of that command instead). (Yes, that still isn't ideal because the emojibase data is itself binary data that some day should be built from source in Debian too.)

Therefore to update the emoji chooser data, we only need to update the emojibase copy instead of updating to the new gtk3 release or cherry-picking upstream commits as patches.

Jeremy Bícha (jbicha)
Changed in gtk+3.0 (Ubuntu Noble):
status: New → Incomplete
importance: Undecided → Low
Changed in gtk+3.0 (Ubuntu Oracular):
status: New → Incomplete
importance: Undecided → Low
Jeremy Bícha (jbicha)
description: updated
Jeremy Bícha (jbicha)
description: updated
Changed in gtk+3.0 (Ubuntu Noble):
status: Incomplete → Triaged
Changed in gtk+3.0 (Ubuntu Oracular):
status: Incomplete → Triaged
Jeremy Bícha (jbicha)
Changed in gtk+3.0 (Ubuntu Noble):
status: Triaged → In Progress
Changed in gtk+3.0 (Ubuntu Oracular):
status: Triaged → In Progress
Jeremy Bícha (jbicha)
description: updated
Jeremy Bícha (jbicha)
description: updated
Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+3.0 - 3.24.48-3ubuntu1

---------------
gtk+3.0 (3.24.48-3ubuntu1) plucky; urgency=medium

  * Resynchronize with Debian (LP: #2096777), remaining changes:
    + Add Build-Depends: dh-sequence-translations
    + Install a settings.ini file to set our themes
    + Update debian/libgtk-3-0t64.symbols for ubuntu_gtk_custom_menu_items.patch
    + Ubuntu-specific patches:
      - 073_treeview_almost_fixed.patch
      - bzg_gtkcellrenderer_grabbing_modifier.patch
      - ubuntu_gtk_custom_menu_items.patch
      - print-dialog-show-options-of-remote-dnssd-printers.patch
      - uimanager-guard-against-nested-node-updates.patch
      - x-canonical-accel.patch
      - message-dialog-restore-traditional-look-on-unity.patch
      - 0001-gtk-reftest-Force-icon-theme-to-Adwaita.patch
      - restore_filechooser_typeaheadfind.patch
      - 0001-calendar-always-emit-day-selected-once.patch
      - 0001-gtkwindow-set-transparent-background-color.patch
      - unity-border-radius.patch
      - unity-headerbar-maximized-mode.patch
      - gitlab_opengl_fallback.patch
  * debian/salsa-ci.yml: Use ubuntu recipe

gtk+3.0 (3.24.48-3) unstable; urgency=medium

  * Restore gtk-update-icon-cache package as was previously provided.
    Notably this isn't actually built on release architectures because
    of debian/rules handling. See the 3.24.43-4 changelog.
  * Add loong64 to the list of architectures we don't want to build
    gtk-update-icon-cache

gtk+3.0 (3.24.48-2) unstable; urgency=medium

  * Remove obsolete gtk-update-icon-cache package, now built by gtk4

gtk+3.0 (3.24.48-1) unstable; urgency=medium

  [ Jeremy Bícha ]
  * New upstream release
  * Update debian/watch. New releases no longer include + in filenames
  * missing-sources: Update emojibase. The emoji chooser was updated to
    support Unicode 16
  * Remove 5 patches applied in new release

  [ Simon McVittie ]
  * d/salsa-ci.yml: Disable reprotest on Salsa-CI.
    It takes longer than the infrastructure timeout (1 hour).

gtk+3.0 (3.24.43-5) unstable; urgency=medium

  * d/salsa-ci.yml: Add
  * d/rules: Explicitly use build architecture gcc in rebuild-emoji target.
    This makes it more obvious that we're intentionally building a
    build-architecture binary, to be run during the build and then discarded.
  * d/rules: Use CFLAGS_FOR_BUILD, etc. to link convert-emoji
  * d/libgtk-3-0t64.links.in:
    Provide a symlink to the old gtk-query-immodules-3.0 path.
    This provides drop-in compatibility with libgtk-3-0, which some
    packages rely on (gcin, hime, ibus).
  * Add test coverage for the historical path of gtk-query-immodules-3.0
  * Remove obsolete Lintian overrides

 -- Jeremy Bícha <email address hidden> Mon, 27 Jan 2025 10:57:38 -0500

Changed in gtk+3.0 (Ubuntu):
status: Fix Committed → Fix Released
Timo Aaltonen (tjaalton)
Changed in gtk+3.0 (Ubuntu Noble):
status: In Progress → Fix Committed
Changed in gtk+3.0 (Ubuntu Oracular):
status: In Progress → Fix Committed
tags: added: verification-needed-noble verification-needed-oracular
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (gtk+3.0/3.24.41-4ubuntu1.3)

All autopkgtests for the newly accepted gtk+3.0 (3.24.41-4ubuntu1.3) for noble have finished running.
The following regressions have been reported in tests triggered by the package:

firewalld/2.1.1-1 (amd64)
gtk+2.0/2.24.33-4ubuntu1.1 (i386)
gtk4/4.14.2+ds-1ubuntu1 (amd64, arm64, armhf, ppc64el)
gyoto/2.0.2-1.1build3 (ppc64el)
libreoffice/4:24.2.7-0ubuntu0.24.04.2 (armhf, ppc64el, s390x)
mutter/46.2-1ubuntu0.24.04.4 (s390x)
openjdk-21/21.0.5+11-1ubuntu1~24.04 (ppc64el, s390x)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/noble/update_excuses.html#gtk+3.0

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (gtk+3.0/3.24.43-3ubuntu3)

All autopkgtests for the newly accepted gtk+3.0 (3.24.43-3ubuntu3) for oracular have finished running.
The following regressions have been reported in tests triggered by the package:

libreoffice/4:24.8.4-0ubuntu0.24.10.2 (ppc64el)
libreoffice/unknown (arm64)
openjdk-21/21.0.5+11-1ubuntu1~24.10 (amd64)
openjdk-22/22.0.2+9-4 (ppc64el, s390x)
openjdk-24/24~16ea-1 (amd64)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/oracular/update_excuses.html#gtk+3.0

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Alessandro Astone (aleasto) wrote :

On Ubuntu 24.04.2 LTS:
Installed version 3.24.41-4ubuntu1.3 of gir1.2-gtk-3.0 gtk-update-icon-cache libgail-3-0t64 libgtk-3-0t64 libgtk-3-bin libgtk-3-common

Installed fonts-noto-color-emoji=2.042-1 and verified Test Case 1: no fingerprint emoji is listed
Installed fonts-noto-color-emoji=2.047-0ubuntu0.24.04.1 and verified Test Case 2: fingerprint emoji is listed and can be inserted

tags: added: verification-done-noble
removed: verification-needed-noble
Revision history for this message
Alessandro Astone (aleasto) wrote :

On Ubuntu 24.10:
Installed version 3.24.43-3ubuntu3 of gir1.2-gtk-3.0 libgtk-3-0t64 libgtk-3-bin libgtk-3-common

Installed fonts-noto-color-emoji=2.042-1 and verified Test Case 1: no fingerprint emoji is listed
Installed fonts-noto-color-emoji=2.047-1 and verified Test Case 2: fingerprint emoji is listed and can be inserted

tags: added: verification-done-oracular
removed: verification-needed-oracular
Jeremy Bícha (jbicha)
tags: added: verification-done
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+3.0 - 3.24.43-3ubuntu3

---------------
gtk+3.0 (3.24.43-3ubuntu3) oracular; urgency=medium

  * missing-sources: Update emojibase to match what was done in gtk3 3.24.48
    to update the emoji chooser for Unicode 16 (LP: #2096777)

 -- Jeremy Bícha <email address hidden> Mon, 27 Jan 2025 14:34:43 -0500

Changed in gtk+3.0 (Ubuntu Oracular):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for gtk+3.0 has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+3.0 - 3.24.41-4ubuntu1.3

---------------
gtk+3.0 (3.24.41-4ubuntu1.3) noble; urgency=medium

  * missing-sources: Update emojibase to match what was done in gtk 3.24.48
    to update the emoji chooser for Unicode 16 (LP: #2096777)

 -- Jeremy Bícha <email address hidden> Mon, 27 Jan 2025 14:56:56 -0500

Changed in gtk+3.0 (Ubuntu Noble):
status: Fix Committed → Fix Released
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.