GNOME Bugzilla – Bug 701279
Long filename text overlaps other icons on hover
Last modified: 2013-11-24 23:53:06 UTC
Created attachment 245648 [details] Screenshot of too long filename Long files names text seem to overlap on hover in the icon view.
Created attachment 258944 [details] [review] nautilus-overlappingtext.patch Please consider attached patch, which fixes this by not expanding the icon text anymore when it is highlighted (but just renamed, with F2 e.g.).
Review of attachment 258944 [details] [review]: I don't think this is entirely correct - we still want the text expanding in all the other scenarios (where it will usually be rendered white with a blue background below). ::: libnautilus-private/nautilus-canvas-item.c @@ -816,3 @@ - if (needs_highlight || - details->is_prelit || I think this is actually the only line that should be removed - all the other conditions are still needed for legitimate reasons.
Created attachment 260240 [details] [review] nautilus-overlappingtext.patch Agreed, I removed too much in my initial patch. Attached is a new one, which only targets pre-focus highlighting, as you suggested.
Review of attachment 260240 [details] [review]: Thanks, this looks good to me!
The following fix has been pushed: 308f4ce CanvasItem: fix overlapping filenames on hover
Created attachment 261380 [details] [review] CanvasItem: fix overlapping filenames on hover