Re: Spatial/navigational



On Mon, 2005-10-17 at 21:32 +0200, Christian Neumair wrote:
> Do you think it is a good idea to remember view state, selection state
> and folder expansion state in spatial and/or navigational Nautilus?

Why do you ask me this in a private mail? This discussion should be on
the list. (CCed)

> We really need a policy for all these states. My personal opinion is
> that spatial should save to disk basically everything [1], while the
> browser should remember almost nothing at all and share zoom level,
> view, etc. among all folders in the history of one window [2]. The
> current concept is still a mixture of spatial and navigational aspects.
> 
> [1] spatial
> folder:window - 1:1
> folder:folder-state - 1:1
> 
> [2] navigational
> folder:window m:n
> window:view-state (zoom level, view) 1:1
> 
> exception: folder-specific states
> folder:folder-selection-state 1:1
> folder:folder-expansion-state 1:1
> folder:folder-scroll-position 1:1
> 
> (remembered in history only, not written back to file, except maybe for
> the expansion state)

I mostly agree, except I don't think saving expansion state to disk is
right. Its a large piece of data which easily gets outdated with file
changes, and I don't think its likely that you are interested in the
same things the next time you use nautilus. Reading expanded folders
that you're not interested in makes folder load much slower than
necessary.

There is the per-folder background too. And for some locations you might
want to limit the views availible, so you'd have to change view in
navigational (e.g. search view only in search folder).

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an oversexed chivalrous barbarian plagued by the memory of his family's 
brutal murder. She's a green-fingered renegade schoolgirl from Mars. They 
fight crime! 




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