Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
nekohayo opened this issue Nov 8, 2023 · 1 comment · Fixed by #1315
Labels
bug Something isn't working

Comments

@nekohayo
Copy link
Collaborator

nekohayo commented Nov 8, 2023

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 nekohayo added the bug Something isn't working label Nov 8, 2023
@GeopJr
Copy link
Owner

GeopJr commented Nov 8, 2023

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 GeopJr added this to the 0.8.0 milestone May 29, 2024
@GeopJr GeopJr removed this from the 0.8.0 milestone Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants