Re: Gnome-core



On Wed, Oct 13, 1999 at 09:27:09PM +0100, Damon Chaplin wrote:
> > > I can assure you that the bug does exist. I can reproduce it with 1.0.53.
> > > Juste move your mice rapidly over the panel while reducing. Move it again
> > > and again to try to catch the panel before it's hidden. :-)
> > 
> > I tried and tried, I can't reproduce it. Jacob can but he has not figured out
> > what is happening either.
> 
> I think I've found the problem: basep->shown_alloc isn't always correct.
> It is normally set in snapped_widget_size_allocate().
> 
> However basep_widget_do_hiding() calls gtk_widget_queue_resize(), but if you
> move the mouse quick enough snapped_enter_notify() will be called first which
> will call snapped_widget_pop_up() and basep->shown_alloc will be incorrect.
> 
> A quick fix is to set basep->shown_alloc as the window is moved/resized in
> basep_widget_do_hiding():

That's in fact wrong, but you may be onto something ... maybe shown_alloc is
wrong even when we aren't moving (right before or after).

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



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