Application hangs when select "Document Properties" in an empty document

Bug #1973387 reported by fprietog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-text-editor (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Problem summary:
----------------
When you select "Document Properties" in an empty document the application hangs sending dozens of messages like this (can be seen with journalctl):
gtk_widget_measure: assertion 'for_size >= -1' failed

Steps to reproduce:
-------------------
- Open gnome-text-editor (a new document, so empty)
- Select "Document Properties" in menu
- Application hangs with these repeated messages: gtk_widget_measure: assertion 'for_size >= -1' failed

Tested in amd64 and arm64.

Aditional info:
---------------
No apport info because it doesn't crash, just hangs.

# lsb_release -rd
Description: Ubuntu 22.04 LTS
Release: 22.04

# apt-cache policy gnome-text-editor
gnome-text-editor:
  Instalados: 42.1-0ubuntu1
  Candidato: 42.1-0ubuntu1
  Tabla de versión:
 *** 42.1-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     42.0-2 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, I can't confirm here though

Changed in gnome-text-editor (Ubuntu):
importance: Undecided → Low
Revision history for this message
fprietog (fprietog) wrote :

You're true, I just checked and the problem has gone...

I've setup a VM to test what was changed that fixed the problem and found that was this update:

libgtk-4-common (4.6.3+ds1-0ubuntu1) over (4.6.2+ds-1ubuntu3) ...
libgtk-4-1 (4.6.3+ds1-0ubuntu1) over (4.6.2+ds-1ubuntu3) ...
libgtk-4-bin (4.6.3+ds1-0ubuntu1) over (4.6.2+ds-1ubuntu3) ...

Part of that update details are:
gtk4 (4.6.3+ds1-0ubuntu1) jammy; urgency=medium
    - Work around infinite loop in box allocation (Closes: #1010547)

Bug details:
https://groups.google.com/g/linux.debian.bugs.dist/c/cqOEuWTYlAo?pli=1
https://gitlab.gnome.org/GNOME/gtk/-/issues/4517

So this bug can be closed. Thanks!

Revision history for this message
Sebastien Bacher (seb128) wrote :

Ah, great, thanks for figuring out the details!

Changed in gnome-text-editor (Ubuntu):
status: New → 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.