Gentoo Archives: gentoo-amd64

From: Frank Peters <frank.peters@×××××××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: GTK Negative Widget Height
Date: Wed, 19 Aug 2015 04:17:25
Message-Id: 20150819001718.5df9b1370e41e76532056853@comcast.net
In Reply to: [gentoo-amd64] GTK Negative Widget Height by Frank Peters
1 On Tue, 18 Aug 2015 23:40:32 -0400
2 Frank Peters <frank.peters@×××××××.net> wrote:
3
4 >
5 > As I mentioned, a program restart usually fixes the problem. However, when
6 > and if this problem will occur is not predictable. It happens only occasionally
7 > and never consistently.
8 >
9
10 I've discovered something else that seems very significant.
11
12 The behavior depends on the relation of the position of the
13 window in which the problem occurs in relation to other windows.
14 If I shift the widow around I can get different appearances
15 of the sub-menus from complete to very thin to a one pixel
16 line. Thus, the fault would seem to be with how GTK+ calculates
17 the window dimensions in relation to other windows. In some
18 cases a miscalculation will result in a negative height.
19
20 The fault could also be with the window manager which, AFAIK,
21 reports window positions. But then I only understand little
22 about the mechanisms of the X Window GUI and how window managers
23 and took kits interact with it.
24
25 Anyway, if the problem occurs, I just need to shift the window
26 to another position and that should take care of the sub-menus.
27
28 Frank Peters