Hi Oscar,

Dne středa 18 březen 2009 Oscar Miras napsal(a):
>
> Well, i've been talking with my tutor. We have decided 3 main topics to
> work on. I want to discuss them with you ( and all other developers) , in
> order to coordinate future work. This work is schulded that way: Pan
> improvements->Database Caching->Pan view Integration.
>
>
>    -  Pan improvements: there are some features about Pan view that we
> don't like very much; or maybe we didn't see how to do it using interface
> or keyboard.

I think that we should first define an usecase for pan view. I can see these 
possibilities:

1. Overview of complete photo collection
   - up to ~100000 files
   - start zoomed out, otherwise there is no chance to find out how are the 
     photos distributed around the view
   - start with cached small thumbnails, automatically replace them with 
     larger versions when zoomed in
   - needs significant code improvements, current performance is not 
     sufficient for this

2. Overview of photos from one directory/session/day
   - ~20 to ~500 files
   - current pan view code is mostly sufficient
   - most of the calendar (or timeline, ...) functionality must be implemented
     in the "normal mode" outside pan view

3. Overview of selected files
   - up to ~20 files
   - functionality to freely move the photos around the view with 
     drag and drop, zoom whole view or individual photos, etc.
   - needs significant code improvements

Feel free to add more ideas.

In any case it needs a better method of navigation (scrolling and zoom), 
neither dragging nor the scroller (CTRL + click) are not sufficient.

I would vote for 2. because it is probably the easiest to implement. But of 
course we can go for another option or combination of options.


>    - In Pan View, is there any way to select a pic and view it in full
>       screen mode? when I click on it, I only get metadata information and
> a larger preview of the pic.
>       - In Pan View Time line mode, why all pics for the same day are shown
>       horizontally? Wouldn't it better to take advantage of the whole
> available window?
>       - In Pan View Calendar mode,wouldn't it better to show one pic
>       according to the day it was taken, instead of showing only the number
> of pics taken that day?
>       - Zoom on timeline/calendar mode doesn't fit when I want to preview a
>       pic. I mean, if you click on a pic located in a zoomed timeline, it's
>       probable that the pic will get cut or completely hidden at the bottom
> of user visible screen; so you have to scroll down in order to watch it. 

OK, there is a lot of things that can be improved but first we need the 
usecase.

> - 
> Database caching: well, we haven't talked much about this. But first I
> would have to see how Sqlite works; on how it is integrated with Geeqie.

My plan is to have:

Directory table with directory_id, directory_path, timestamp
File table with file_id, directory_id, file_name, timestamp
Metadata table with file_id, metadata_key, metadata_value

An algorithm for searching would be:

1. get a list of subdirectories of given directory, stat() them
   and check for changed timestamps

2. do the same for files in the directories with changed timestamp,
   also check for new files and directories

3. re-import metadata from files with changed timestamp

4. now we are sure that the database is up-to-date and it is possible
   query the database for anything we need

>    - Integration: Finally, we'll have to talk about how to integrate it in
>    'Navigation mode' of Geeqie. As far as I remember, it was also one of
> the main features you wanted to add ;) .

We should have at least some plan from the beginning.

>
> Finally, please, be patient with me. It's the first time I work on a
> opensource project ;).
> I have quite good C++ knowledgments, and I have worked with OpenGl and Qt;
> but never with GTK :P.
No problem ;)

Vladimir

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to