andlabs / andlabs/libui

Bug - can not create window with zero width or height

Open
#342 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
10.9k
Forks
612
PR merge metrics
No merged PRs in 30d

Description

Creating new window with zero width or height causes this error on Linux
```
Gtk-CRITICAL **: gtk_window_resize: assertion 'width > 0' failed
```

Distro is Budgie Ubuntu - kernel `4.13.0-38-generic x86_64 GNU/Linux`
`libgtk-3-dev` installed, version `3.22.25-0ubuntu0.1`

(Taken from https://github.com/andlabs/ui/issues/287)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.