help wanted: Places sidebar selection bug fix



Dear developers,

maybe anybody of you has time for fixing one of the following issue,
which I can not fix before the next unstable release due to a near
exam.

When the places sidebar is updated, the focus of the current selection
is lost and the currently displayed location is selected. You can verify
it by the following steps

1. open your home directory
2. drag an arbitrary folder to the sidebar (to add a bookmark)
3. quickly right-click any bookmark to open the context menu

After a second or so, the file ~/.gtk-bookmarks will be re-read, and the
sidebar is updated. Now, the focus is given to the "Home" row, due to
the semantics of
  src/nautilus-places-sidebar.c:update_places()
and you are suddently acting on the wrong bookmark.

If you want to fix this issue, you should update the places list model,
instead of clearing it and creating a new one. You might have to use a
GtkTreeRowReference to keep the old selection.

As a bonus, you could also fix the GTK+ file selector which obviously
suffers from the same issue :).

Volunteers? :)

best regards,
 Christian Neumair

-- 
Christian Neumair <cneumair gnome org>



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