Various keyboard commands don't update file view in share browser
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LinuxDC++ |
Confirmed
|
Low
|
Unassigned |
Bug Description
When navigating the directory view of the share browser using the keyboard, not all commands cause the file view to refresh with the currently selected directory. Some of the keyboard commands currently known to not work include: Home, End, Page up, Page down. When pressing one of these keys, the selection changes in the directory view but the file view still shows the previously selected directory.
Another way to reproduce this is to use the interactive search feature of GtkTreeView by typing the name of one of the directories to move the selection to that directory. There could be other ways to navigate using the keyboard not mentioned here that cause this issue. Currently only the keyboard up and down arrows cause the selection to update properly.
tags: |
added: share-browser removed: sharebrowser |
Seems like the correct approach would be to not hardcode the keys that cause movement and to let GTK+ handle GtkTreeView keyboard navigation. At the same time, we should listen to selection events so we know when to update the file view without caring which command does the actual selection change.