set gtk = '3.0' to prevent importing '4.0'

Bug #1934606 reported by Gunnar Hjalmarsson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ibus-avro (Ubuntu)
Fix Released
Undecided
Gunnar Hjalmarsson
Hirsute
Fix Released
Undecided
Gunnar Hjalmarsson

Bug Description

[Impact]

If gtk4 is installed, gjs imports gtk4, and since ibus-avro isn't compatible with gtk4, it crashes if you try to open the Preferences window.

The proposed upload fixes the issue by explicitly setting gtk version to 3.

[Test Plan]

 * Install ibus-avro, relogin, and add it to the input sources.

 * Install libgtk-4-1 and gir1.2-gtk-4.0.

 * Try to open Preferences from Settings, and find that it fails.

 * Install ibus-avro from hirsute-proposed.

 * Successfully open Preferences from Settings.

[racb] Please also verify that the fixed package continues to work when gtk4 is not installed.

[Where problems could occur]

This only specifies the required gtk version. Can't think of any problem.

Changed in ibus-avro (Ubuntu Hirsute):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
status: New → In Progress
Changed in ibus-avro (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibus-avro - 1.2-3

---------------
ibus-avro (1.2-3) experimental; urgency=medium

  * debian/patches/set-gtk-3.0-to-prevent-importing-4.0.patch:
    - Upstream commit to prevent crash if gtk4 is installed
      (LP: #1934606).
  * Bump Standards-Version to 4.5.1
  * Change email address and bump copyright years

 -- Gunnar Hjalmarsson <email address hidden> Sun, 04 Jul 2021 22:37:05 +0200

Changed in ibus-avro (Ubuntu):
status: Fix Committed → Fix Released
description: updated
Revision history for this message
Robie Basak (racb) wrote : Please test proposed package

Hello Gunnar, or anyone else affected,

Accepted ibus-avro into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ibus-avro/1.2-2ubuntu21.04.1 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-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. 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.

description: updated
Changed in ibus-avro (Ubuntu Hirsute):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Successfully carried out the steps in the test plan using version 1.2-2ubuntu21.04.1 of ibus-avro from hirsute-proposed.

tags: added: verification-done verification-done-hirsute
removed: verification-needed verification-needed-hirsute
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibus-avro - 1.2-2ubuntu21.04.1

---------------
ibus-avro (1.2-2ubuntu21.04.1) hirsute; urgency=medium

  * debian/patches/set-gtk-3.0-to-prevent-importing-4.0.patch:
    - Upstream commit to prevent crash if gtk4 is installed
      (LP: #1934606).

 -- Gunnar Hjalmarsson <email address hidden> Mon, 05 Jul 2021 09:12:14 +0200

Changed in ibus-avro (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for ibus-avro 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.

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.