Thanks for the detailed report. Now I can see the problem. view_dir_list.c probably needs a better way of refreshing directory. Now it destroys whole list and fills it again. It should keep the original entries for unchanged directories. Similar code already is in view_file_list.
Vladimir Dne neděle 17 srpen 2008 Carles Pina i Estany napsal(a): > Hi, > > On Aug/17/2008, Vladimir Nadvornik wrote: > > Any other ideas? > > I sent a mail about it some weeks ago, but I think that my description > was very confusing :-( > > One of the things that I do quite often is: > I have some photos in a directory and I move, using the mouse, > to some other directories (subdirectories of the current directory). > > So, I scroll the directory-view-list bar, I see the destination > directory, I move some file... and after moving the file the > directory-view-list bar goes to the top (so I need to move the bar again to > move more files) > > I've looked in the code but I don't program using Gtk so for me it's quite > slow to fix it. But I have something: it seems that the problem is > that after moving the files view_dir_list.c:vdlist_refresh is called. > Here is the calling stack: > > Breakpoint 1, vdlist_refresh (vd=0x830eb48) at view_dir_list.c:279 > 279 { > (gdb) bt > #0 vdlist_refresh (vd=0x830eb48) at view_dir_list.c:279 > #1 0x080e7002 in vd_notify_cb (fd=0x83e7bf0, type=NOTIFY_TYPE_REREAD, > data=0x830eb48) at view_dir.c:1074 > #2 0x0808bc1c in file_data_send_notification (fd=0x83e7bf0, > type=NOTIFY_TYPE_REREAD) at filedata.c:2077 > #3 0x0808eb89 in file_data_check_changed_files_recursive (fd=0x83e7bf0, > st=0xbfa53494) at filedata.c:242 > #4 0x0808ecad in file_data_check_changed_files (fd=0x83e7bf0) > at filedata.c:298 > #5 0x0808ecd2 in realtime_monitor_check_cb (key=0x83e7bf0, value=0x1, > data=0x0) at filedata.c:2089 > #6 0xb79d0463 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0 > #7 0x0808bf1f in realtime_monitor_cb (data=0x0) at filedata.c:2097 > #8 0xb79de0b6 in ?? () from /usr/lib/libglib-2.0.so.0 > #9 0x00000000 in ?? () > > vdlist_refresh calls to: > vdlist_set_fd(vd, dir_fd); > > that it's not saving the position. > > Maybe we could save, update the list and if it doesn't contain new folders > restore the position. Or something similar to it. > > This is something that really bothers me :-) > > Thank you, ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel