Tuba icon indicating copy to clipboard operation
Tuba copied to clipboard

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

Open nekohayo opened this issue 2 years ago • 1 comments

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

nekohayo avatar Nov 08 '23 17:11 nekohayo

It's due to the thread lines' negative margin, I'll leave it as is for now until I move the status widget to GtkGrid

GeopJr avatar Nov 08 '23 19:11 GeopJr