Gentoo Archives: gentoo-amd64

From: Frank Peters <frank.peters@×××××××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] GTK Negative Widget Height
Date: Wed, 19 Aug 2015 03:40:40
Message-Id: 20150818234032.9a2a6ed1b05f3beef8b00517@comcast.net
1 Hello,
2
3 I've been experiencing a problem with various programs for some time.
4 These programs use the GTK+ toolkit and when a particular menu is selected
5 from the main menu bar at the top a sub-menu of either very small height or
6 of no height (i.e. a thin line) will appear. Needless to say, the program
7 cannot be operated with such menus.
8
9 Usually, a program restart will fix the issue and restore normal menus
10 but sometimes several restarts are necessary. The error message that
11 is associated with these botched sub-menus is the following:
12
13 Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with
14 width 226 and height -118.
15
16 Somehow, the menu is being invoked with a _negative_ value for height, which
17 of course makes no sense. The resulting menu widget appears as a thin (one pixel)
18 horizontal line.
19
20 Through searches I've found nothing similar reported
21
22 Because this can happen with more than one program, I doubt if it is
23 the fault with any single package. GTK+ must be causing this.
24
25 Has anyone experienced similar behavior?
26
27 As I mentioned, a program restart usually fixes the problem. However, when
28 and if this problem will occur is not predictable. It happens only occasionally
29 and never consistently.
30
31 Frank Peters

Replies

Subject Author
[gentoo-amd64] Re: GTK Negative Widget Height Frank Peters <frank.peters@×××××××.net>