Discussion:
new filebrowser backend code
Olivier Sessink
2013-10-09 06:25:50 UTC
Permalink
Hi all,

in svn trunk/testcode/filetreemodel/ I have coded a new backend for the
filebrowser - much more memory efficient and much faster. Please test
it, the top of main.c explains how to compile the code.

I see one problem with it: if you first click a directory (which
triggers a directory refresh) and then expand it, everything works OK,
but if you immediately expand it, there is a funny thing: some regular
filenames show up with an expander icon next to it. I cannot find what
is causing this behavior. If we manage to fix this issue I think we can
merge it into the bluefish code.

Olivier
Andrius
2013-10-10 14:39:24 UTC
Permalink
Olivier,
what gtk version You are using? The problem might be some gtk bug, I guess. I recently tired gtk+3.10 and gtk+3.9.6, and both of them had various issues with GtkTreeView. The behavior was really strange with tree not expanding after double click, and then redrawing expanded tree when I move cursor. It is not something that You are experiencing, it shows that expansion code is buggy.
Andrius
________________________________
Sent: Wednesday, October 9, 2013 9:25 AM
Subject: new filebrowser backend code
Hi all,
in svn trunk/testcode/filetreemodel/ I have coded a new backend for the
filebrowser - much more memory efficient and much faster. Please test
it, the top of main.c explains how to compile the code.
I see one problem with it: if you first click a directory (which
triggers a directory refresh) and then expand it, everything works OK,
but if you immediately expand it, there is a funny thing: some regular
filenames show up with an expander icon next to it. I cannot find what
is causing this behavior. If we manage to fix this issue I think we can
merge it into the bluefish code.
Olivier
--
To unsubscribe from this list: send the line "unsubscribe bluefish-dev" in
Bluefish web site: http://bluefish.openoffice.nl/
Olivier Sessink
2013-10-10 19:56:16 UTC
Permalink
Post by Andrius
Olivier,
what gtk version You are using? The problem might be some gtk bug, I
guess. I recently tired gtk+3.10 and gtk+3.9.6, and both of them had
various issues with GtkTreeView. The behavior was really strange with
tree not expanding after double click, and then redrawing expanded tree
when I move cursor. It is not something that You are experiencing, it
shows that expansion code is buggy.
Andrius
you're right, if I collapse the tree and expand again it is showed
correctly.

Olivier
--
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/
Loading...