Skip to content

[Bug]: When opening a post's thread, GtkImage reported min height -17 (or -16), but sizes must be >= 0 #633

@nekohayo

Description

@nekohayo

Describe the bug

In some unclear situations (particularly when clicking a toot to view its replies, I think), Tuba is encountering some warnings related to images (as seen below), which can be observed by running journalctl -f while you're using Tuba.

Steps To Reproduce

  1. Find this cute toot and click to view its thread in Tuba

Logs and/or Screenshots

Nov 08 12:13:48 Tuba[3073683]: GtkImage 0x55e5b23ddef0 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:48 Tuba[3073683]: GtkImage 0x55e5a4746600 (image) reported min height -16, but sizes must be >= 0
Nov 08 12:13:48 Tuba[3073683]: GtkImage 0x55e5a6319be0 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:48 Tuba[3073683]: GtkImage 0x55e5b1d68610 (image) reported min height -16, but sizes must be >= 0
Nov 08 12:13:48 Tuba[3073683]: GtkImage 0x55e5ac82ba40 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:48 Tuba[3073683]: GtkImage 0x55e5a35c97a0 (image) reported min height -16, but sizes must be >= 0
Nov 08 12:13:48 Tuba[3073683]: GtkImage 0x55e5b20636e0 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:48 Tuba[3073683]: GtkImage 0x55e5a46c3680 (image) reported min height -16, but sizes must be >= 0
Nov 08 12:13:48 Tuba[3073683]: GtkImage 0x55e5b2406ba0 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b29778e0 (image) reported min height -16, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5af428bc0 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b1bb07b0 (image) reported min height -16, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b43e66f0 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b5702300 (image) reported min height -16, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b574c0e0 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b5752890 (image) reported min height -16, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b579c710 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b57a2eb0 (image) reported min height -16, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b57ebe90 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b57f26b0 (image) reported min height -16, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b5843fb0 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b593a3f0 (image) reported min height -16, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b5984330 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b5b01560 (image) reported min height -16, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b5b4b400 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b5b51b30 (image) reported min height -16, but sizes must be >= 0
Nov 08 12:13:49 Tuba[3073683]: GtkImage 0x55e5b5b9f860 (image) reported min height -17, but sizes must be >= 0
Nov 08 12:13:50 Tuba[3073683]: ImageCache.vala:38: Failed to download image at "https://files.mastodon.social/cache/custom_emojis/images/000/682/281/original/c5a69920ca2dd1f3.png". Unrecognized image file format.

Instance Backend

Mastodon

Operating System

Fedora 39

Package

Flatpak

Troubleshooting information

os: GNOME 45 (Flatpak runtime)
prefix: /app
flatpak: true
version: 0.5.0 (production)
gtk: 4.12.3 (4.12.1)
libadwaita: 1.4.0 (1.4.0)
libsoup: 3.4.3 (3.4.3)
libgtksourceview: 5.10.0 (5.10.0)

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions