Hi,
    I've currently started a project called "gFiles", which is a GTK-based file manager
with the look similar to that of another operating system's file manager window.
Currently I have a working main window, with working left and right panes.  No
file management functionality exists in the program yet, but I'm still hammering out
the current GUI issues.

I'm currently having a problem with the left pane.  When I rapidly click between
directory items in the tree, it segfaults.  GDB reports the segfault happening
within the gtk_tree_item_deselect() function:
#0  0x4010b98d in gtk_tree_item_deselect () from /usr/lib/libgtk-1.2.so.0
#1  0x4010aa34 in gtk_real_tree_select_child () from /usr/lib/libgtk-1.2.so.0
#2  0x400b5ad5 in gtk_marshal_NONE__POINTER () from /usr/lib/libgtk-1.2.so.0
#3  0x400e58a3 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#4  0x400e3951 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0

What happens inside the program is clicking on a directory causes the right pane
to update with the contents of the (left-pane-tree)-selected directory.  Clicking
on directory items one at a time, giving the right pane enough time to complete its
listing, seems stable, but the overlapping tends to crash the program.

Sometimes when rapidly clicking in the left pane, the right pane is cleared but
doesn't display the directory contents, although they are there (switching virtual
desktops and back repaints the CList items).

I've put the project up on SourceForge, under the Unix name "gfiles".
If any developers have the time and can debug this problem, I released the latest
snapshot at:
http://download.sourceforge.net/gfiles/gFiles-0.1.tar.gz

The core of the left-pane functionality lies in ftree.c, and the right-pane
functionality lies in flist.c.  fgfx.c handles graphics-related junk (loading icons
via gdk_imlib and creating the pixmap+label+optional-right-pixmap items for the
left pane), and futil.c contains UNIX/filesystem-related functions.

Thanks

-- 
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to