Update gtk4 to 4.6.3

Bug #1973219 reported by Jeremy Bícha
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk4 (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
High
Jeremy Bícha

Bug Description

Impact
------
There is a new point release in the stable GTK 4.6 series.

https://gitlab.gnome.org/GNOME/gtk/-/blob/4.6.3/NEWS

Also, we are cherry-picking a few patches
- Work around infinite loop in box allocation (Closes: #1010547)
- Make it easier to select the current folder with a file chooser
- Fix saving into a subdirectory with a file chooser
- Fix text view scrolling with mutter 42.1 (LP: #1972722)
- Fix an invalid format string with EGL support (fixes an issue for a Canonical customer)

Test Case 1
-----------
Make sure that opening and saving files from the Firefox and Chromium snaps still work

Test Case 2
-----------
snap install portal-test
snap run portal-test
Verify that the app seems to still work ok

What Could Go Wrong
-------------------
Ubuntu includes xdg-desktop-portal-gnome by default which is used for many snap actions like providing a file chooser. This is critical functionality for our snaps.

The Ubuntu flavors use a different portal backend, most commonly xdg-desktop-portal-gtk which uses GTK3 so it's not affected by this SRU.

The other gtk4 apps installed by default in Ubuntu are gnome-chess and gnome-shell-extension-prefs.

gtk is not listed in the proposed set of packages at
https://wiki.ubuntu.com/StableReleaseUpdates/GNOME
but I believe it should be.

gtk4 has extensive build tests and autopkgtests.

Other Info
----------
This upload also includes some build test workarounds applied in Debian for https://gitlab.gnome.org/GNOME/gtk/-/issues/4889
Some tests provided by GTK (and pango and librsvg) are not flexible enough to be used when dependency versions are not exactly the same as in the upstream developer's system

Jeremy Bícha (jbicha)
Changed in gtk4 (Ubuntu Jammy):
importance: Undecided → High
status: New → In Progress
assignee: nobody → Jeremy Bicha (jbicha)
Jeremy Bícha (jbicha)
description: updated
Changed in gtk4 (Ubuntu Jammy):
status: In Progress → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Jeremy, or anyone else affected,

Accepted gtk4 into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gtk4/4.6.3+ds1-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gtk4 (Ubuntu Jammy):
status: Fix Released → Fix Committed
tags: added: verification-needed verification-needed-jammy
Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I verified that the open and save file choosers still work well with the Firefox & Chromium snaps with gtk4 4.6.3+ds1-0ubuntu1. I didn't see any regressions in the portal test or in gnome-text-editor, a GTK4 app.

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for gtk4 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 gtk4 - 4.6.3+ds1-0ubuntu1

---------------
gtk4 (4.6.3+ds1-0ubuntu1) jammy; urgency=medium

  [ Jeremy Bicha ]
  * New upstream bugfix release (LP: #1973219)
  * Cherry-pick additional bug fixes:
    - Fix text view scrolling with mutter 42.1 (LP: #1972722)
    - Work around infinite loop in box allocation (Closes: #1010547)
    - Make it easier to select the current folder with a file chooser
    - Fix saving into a subdirectory with a file chooser
    - Fix an invalid format string with EGL support

  [ Simon McVittie ]
  * d/log-reftests.py: Update names of GSK renderers
  * d/rules, d/run-tests.sh: Add infrastructure to ignore failing GSK tests
  * Ignore unaligned-offscreen GSK comparison test

 -- Jeremy Bicha <email address hidden> Thu, 12 May 2022 11:41:48 -0400

Changed in gtk4 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Pirouette Cacahuète (lissyx) wrote :

We still have reports of users hitting that with Firefox:
 - https://bugzilla.mozilla.org/show_bug.cgi?id=1768492#c13
 - https://bugzilla.mozilla.org/show_bug.cgi?id=1768492#c16

Myself included, running with the default firefox stable (XWayland and not pure Wayland) I can still repro the issue.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

I reached out to the person who left comment 5 on IRC and pointed them to LP: #1971112 where that issue is being fixed.

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.