Issue with vim and GtkFileChooser



Hello,
I'm trying to debug an issue with the GTK2 version of vim which
has bothered me for a long time. After the first invocation of
GtkFileChooser in vim, GTK's list of recently used files
(~/.recently-used.xbel) gets written on events such as every
single keypress, mouseclick or the mouse entering/leaving the
window. This bug occurs with vim (at least) 7.0 and 7.1 built
against GTK > 2.10 (at least) on Linux. I assume that this is a
bug in GTK, from what I can see it uses GtkFileChooser as in the
reference manual and does not use GTK's recently used files list
functionality directly. However I saw that the recently used
files functionality was added to the GtkFileChooser in GTK 2.11.
I've spoken with Bram Moolenaar about this and he also believes
this to be a bug in GTK.
This is as far as I can get with my knowledge, could someone with
more insight on the inner workings of GTK comment on what might
be going on here? If needed the relevant parts of the GTK UI are
in
http://vim.svn.sourceforge.net/viewvc/vim/vim7/src/gui_gtk.c?view=markup

-- 
Guido Berhoerster


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