Jeffser / Alpaca

An Ollama client made with GTK4 and Adwaita
GNU General Public License v3.0
116 stars 18 forks source link

GTK Warnings about window elements dimensions boundaries #84

Closed tsilvs closed 2 days ago

tsilvs commented 1 month ago

Describe the bug

GTK Warnings in termial:

(alpaca:2): Gtk-WARNING **: 10:16:43.583: GtkGizmo 0x55fbe1d2e210 (progress) reported min width -2, but sizes must be >= 0

(alpaca:2): Gtk-WARNING **: 10:16:47.685: AdwBreakpointBin 0x55fbe0497c50 (widget) reported min height 95 and natural height 93 in measure() with for_size=-1; natural size must be >= min size

Expected behavior

No GTK Warnings in terminal, because the causes were fixed.

Screenshots

image

Additional context

Alpaca 0.9.2 flatpak from flathub

Jeffser commented 3 weeks ago

Hi, do you have maximize / minimize controls on? I think the topbar doesn't have enough space for all of that if the window is small, that might explain the warnings

tsilvs commented 3 weeks ago

do you have maximize / minimize controls on?

Yes, they are enabled via GNOME Tweaks.

Jeffser commented 3 weeks ago

yeah it's probably a warning saying that there's not enough space for everything on the titlebar, I might need to redesign it

Jeffser commented 2 days ago

Hi, I fixed this for the next release!