GNOME Bugzilla – Bug 584846
Eject/Unmount icon in Nautilus sidebar should have hover and click states
Last modified: 2010-04-30 08:28:19 UTC
Forwarded from Launchpad: https://bugs.edge.launchpad.net/+bug/383255 "Lack of hover state for this icon makes it feel non-clickable. Click action does not feel right either, as you don't see any immediate feedback (e.g. color or bg change). I'd suggest making the icon glow on hover (similar to folder icon behaviour) and go darker on click." Other information:
I've tried to implement this some time ago, and the prelight-on-hover part is really tricky to get with the current design of GtkTreeView. We already have an option to highlight a renderer when the mouse pointer enters the row, but the tree view has no real concept of an independent button that would be a renderer (a cell, as opposed to a whole row). Signals about the pointer entering an area only get transmitted by the tree view on a row basis. Thus, you cannot know from the renderer POV when the mouse has entered your cell, only when it has entered your row. Clicks are transmitted to cell renderers because some computation of coordinates takes place when such an event occurs; this behavior should be replicated every time the pointer moves. To sum up, this bug is not a mere paper-cut - you have to play with the terrible code of the GtkTreeView, where some functions are very very long... ;-) I'll try to see if I can find ideas to solve this, if somebody wants to tackle that.
See bug 586458 for the GtkTreeView part, where most of the work must take place.
While we're at it, we should probably add a throbber or something to indicate that the system is currently working on ejecting it.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 544103 ***