Re: window dragging problem after call to gdk_window_reparent() in 2.0.9



Ken Rastatter writes:
> In GTK 2.0.9, try calling gdk_window_reparent().  Then, [...]  the
> child window is not being repainted in the correct place [...]
> Finally, release the mouse button and notice how the child window is
> finally repainted in the correct place.

When you say "not being repainted in the correct place", do you mean
that it's repainted, but *incorrectly*, correctly repainted but in an
incorrect *place*, or that it's not repainted at all?

Is the reparent really relevant here? If not, the same happens
whenever you move one top-level window of the same application over
its other top-level window(s). (Bug #99540) This will be fixed
eventually, I hope.

 > Additionally, gdk_window_reparent() seems to ignore the (x,y)
 > location to place the child window inside its new parent.  This
 > problem exists in both 2.0.6 and 2.0.9.

That souds like something new, please file a bug report on
bugzilla.gnome.org so it won't be forgotten.

--tml





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]