GNOME Bugzilla – Bug 589088
List view doesn't focus when background is clicked
Last modified: 2009-10-07 13:51:47 UTC
Please describe the problem: The list view widget doesn't get the focus when clicking on the background. Steps to reproduce: 1. Visit a folder in list view that has a clickable background (i.e. just a few files, with empty space below) 2. Focus another widget (e.g. the places in the side pane by clicking on background there) 3. Observe how keyboard arrow navigation selects the different places 4. Click on list view background Actual results: Observe how keyboard focus is still in the side pane. Expected results: Keyboard focus should move to the list view to be consistent with all other widgets (including other views) Does this happen every time? Yes Other information:
Created attachment 138847 [details] [review] Possible fix (one-liner)
Thanks for the report, I pushed a slightly different fix for this on master. commit 3ef9873b86ec14ccd33680acb232fa0df0eb11ce Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Wed Oct 7 15:49:38 2009 +0200 Chain up to the parent handler if we click outside any row. By doing so, the tree view widget will gain focus anyway. Fix bug #589088.