Re: A bug or a screw up?
- From: LRN <lrn1986 gmail com>
- To: gtk-list gnome org
- Subject: Re: A bug or a screw up?
- Date: Wed, 07 May 2014 18:55:19 +0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07.05.2014 17:46, Chris Moller wrote:
On 05/07/14 09:30, LRN wrote:
On 07.05.2014 17:22, Chris Moller wrote:
I just did a good-size upgrade I'd been putting off for too long that
took me from GTK 3.2 to GTK 3.10.8, and some stuff that used to work
doesn't any more:
Basically, I have a window that contains
a vbox that contans
a label another label a drawing area a third label
The problem is that the top of drawing area is lined up with the top
of the enclosing vbox, or maybe at the top of the window, rather than
at the bottom of the second label.
Is there something new I'm missing? It didn't used to work that way.
Do you, by chance, reset cairo clipping when drawing over the drawing
area?
Hadn't been, but I just tried it. The result was that the entire da is
drawn, but still in the wrong place. It's still aligned with the top of
the vbox, overlays label 1 and label 2, and there's still a big gap
between the bottom of the da and the top of label 3.
What i meant is that the cr that you get in draw is already clipped by GTK+.
AFAIU, there's a single cr for the whole GdkWindow. If you reset its
clipping, you'll essentially draw over the whole window instead of the
drawing area. So no, resetting the clipping is exactly the wrong thing to do.
But you didn't do that, luckily. Well, this is the only explanation that i
know of, you'll have to wait for a reply from GTK+ devs for more.
- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
iQEcBAEBAgAGBQJTaklTAAoJEOs4Jb6SI2CwSc0H+gPnt2f1oytxvskW/RTYQUHK
RZNKocVqbSg5AlCWR4wugiQABCaE+JQ0HeP3djpQ7DfLmkfx2CreR35/19MCGf7m
e0vWhQnc+BQDGRWynZKysHiptLGrtk1vsT5DMwNXuNacX31My+xHHu94XklUVpsT
+xE2wm9nF/cbq4wY0aYr/u3ugi15uSvOFVEsBv2seipMQp5imrL430dVZHlwkLdg
ucfrnUCJbTzmb1/nB3kea6KMe0gynOG669cWW7yDRUSql9GZN3WYpKkb3i3P3W/0
dLFpKiCT4YIHfWyQSlsSLWblq98uNMmPdLeen3JGGkMHGhn22IC2L66HxiiZ0ho=
=6tws
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]