Opened 17 months ago
Last modified 17 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.
- Tracker does not recalculate the grid of icons to fit inside the window when the window is resized.
- 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.
- 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.
- 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:
- Subscribe to window resizing event to recalculate the grid.
- Truncate filenames sooner.
- 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)
Change History (3)
by , 17 months ago
Attachment: | thunar.mp4 added |
---|
comment:1 by , 17 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.
showing the behavior of thunar which I consider desirable