Opened 10 months ago

Last modified 10 months ago

#18514 new bug

bug: [Tracker] Icon view does not get laid out nicely

Reported by: haiclu Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Applications/Tracker Version: R1/beta4
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Versions: r1beta4 as well as hrev57151

Both emulated (QEMU + hrev57151) and real hardware (R1beta4)

Issue: when browsing a folder in the icon view, there is horizontal overflow.

  1. Tracker does not recalculate the grid of icons to fit inside the window when the window is resized.
  2. Tracker does not calculate the grid correctly in the first place, leading to horizontal overflow. I suspect this is because the icon fits, but the text under the icon is too wide.
  3. The grid in general has "gaps". Again I suspect this has to do with the filenames being too wide for Tracker to fit them in.
  4. Issuing "Clean up" doesn't correctly calculate the grid either, and there are still gaps and horizontal overflow.

You can also observe this bug on the desktop. If you have 2 files with long filenames, there will be a gap between them.

Suggested fixes:

  1. Subscribe to window resizing event to recalculate the grid.
  2. Truncate filenames sooner.
  3. Linewrap long filenames and displace the next grid row vertically (this is what Thunar does).

I think a combination of both would be best. You don't want a 300 line filename creating a huge vertical scroll either.

Video of the bug is attached "tracker.mp4". A video of what I consider "nice" behavior (what XFCE4's Thunar does) is attached "thunar.mp4".

Attachments (2)

thunar.mp4 (179.5 KB ) - added by haiclu 10 months ago.
showing the behavior of thunar which I consider desirable
tracker.mp4 (1.3 MB ) - added by haiclu 10 months ago.
Showing the behavior of tracker

Download all attachments as: .zip

Change History (3)

by haiclu, 10 months ago

Attachment: thunar.mp4 added

showing the behavior of thunar which I consider desirable

by haiclu, 10 months ago

Attachment: tracker.mp4 added

Showing the behavior of tracker

comment:1 by waddlesplash, 10 months ago

Keywords: Tracker Icons View Arrange removed

Tracker does not recalculate the grid of icons to fit inside the window when the window is resized.

This is intentional, like macOS Finder, it will remember icon positions.

Tracker does not calculate the grid correctly in the first place, leading to horizontal overflow. I suspect this is because the icon fits, but the text under the icon is too wide.

This and subsequent items may be a bug, I suppose.

Note: See TracTickets for help on using tickets.