Re: geometry updates ...



On 2 Jul 2002, Michael Meeks wrote:

> Hi Alex,
> 
> On Mon, 2002-07-01 at 15:30, Alexander Larsson wrote:
> > The reason for this was given by David Watson. The real question is why 
> > saving the metadata keeps relayouting the views. That sounds like the 
> > actual bug to me.
> 
> 	If the metadata gets changed, then it emits a 'changed' signal, which
> then causes the view to be re-layed out - clearly, otherwise emblem
> changes etc. wouldn't be reflected in the views.
> 
> 	It seems daft to me to be saving the metadata, and pushing that file to
> disk every idle we get a configure event. Switching desktop thus does a
> load of disk operation we can do without on laptops :-)

Ah, so the metadata changed signal is not very fine-grained.
Not much to do then. We can't keep saving it all the time. 

It worries me a bit though. Does any metadata change, even those that 
don't affect the layout, cause a relayout. This may suck a bit when we get 
metadata in gnome-vfs and other apps start using it.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a suave Amish master criminal fleeing from a secret government programme. 
She's a blind insomniac journalist with the power to bend men's minds. They 
fight crime! 




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