GNOME Bugzilla – Bug 315023
hand pointer retained when using keyboard shortcuts for navigation
Last modified: 2011-04-04 17:37:11 UTC
Please describe the problem: if the hand pointer is shown over an icon, then alt- <- is pressed, the preceding page may not have an icon under the pointer, and yet the hand remains until it is rolled over another icon. Steps to reproduce: 1. navigate to an folder with few items in it, so there is background space 2. navigate directly to a full folder and leave pointer over an icon 3. press back Actual results: hand pointer remains even if it is over blank space Expected results: it should revert to being the normal pointer when not over an icon Does this happen every time? yes, and i've seen it when doing other task, probably with keyboard shortcuts. Other information:
Thanks for your bug report! The relevant code is in src/file-manager/fm-list-view.c, which only updates the hover path on motion_notify_callback. We could move the whole if (click_policy_auto_value == NAUTILUS_CLICK_POLICY_SINGLE) { into an extra function, which ought to be called on various changes to the model, for instance "row-collapsed" and "row-expanded". CCing Dennis and Paolo, since file-roller and gnome-search-tool contain duplicated code. I'm not sure whether it is usually relevant for you, but if changes can happen on the fly to your models, you should update the hover paths, at least on "row-changed", "row-deleted" and "row-inserted".
I tested gnome-search-tool, and it is not affected by this bug.
Bug 315023, bug 394662 and bug 405447 are probably related/duplicates.
*** Bug 405447 has been marked as a duplicate of this bug. ***
*** Bug 394662 has been marked as a duplicate of this bug. ***
Created attachment 184809 [details] [review] icon-canvas-item: make sure to reset the default cursor ond destruction We might be destroyed while hovering while in single-click mode, so make sure the default cursor is always cleared when finalizing, if we didn't get a leave event.
Pushed to master. Attachment 184809 [details] pushed as 2644c6e - icon-canvas-item: make sure to reset the default cursor ond destruction