linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.22k stars 300 forks source link

sidebar - places spacing is to large #1988

Open goebbe opened 5 years ago

goebbe commented 5 years ago
 * Nemo version:    3.8.6
 * Is issue in windowed nemo
 * Distribution: Mint 19  - 64 bit
 * Graphics hardware: Intel Corporation HD Graphics 620   with  xserver-xorg-video-intel (2:2.99.917+git20171229-1) unstable; urgency=medium

Issue I am a regular user of the "sidebar" showing "places" in order to access my bookmarked folders. In recent versions (with Linux Mint 19) the theming has changed and now we have a huge space that does not show useful information.
Often it seem that the folder name is cut in the middle, letters are replaced by three dots "..." followed by a very large horizontal space. See attached screenshot.

Currently I see two issues here:

  1. "..." is even used, when only one letter is missing, i.e. the folder name would fit into the same space.
  2. The spacing seems to be too large - this leads to a lot of unused horizontal space.

Steps to reproduce Open Nemo, View the "places" in the "sidebar". Look at LONG folder names - or adjust the sidebar in a way that it is relatively narrow.

Expected behaviour Use the available space in order to show the name of the folder.

  1. Do not show "..." if there are only two or one letter missing. OR BETTER: Do not use "..." instead let the last letter on screen fade out in order to show, that not all letters are shown. This would be informative and would allow to show the last letters.

  2. Remove unused horizontal space (like in Thunar?)

Other information nemo_3_8_6_screenshot from 2018-11-16 12-12-05_

mtwebster commented 5 years ago

The extra space is typically for space for the eject icon in devices. You're not showing those in your screenshot. It's a reasonably layout, and of course there is spacing between elements -

image

We really don't have much control over ellipsizing decisions here either, they are what they are, according to the toolkit. On the other hand, nemo 4.0 does a much better job at spacing items in the main icon view, so perhaps you could afford more sidebar space as a consequence:

image

goebbe commented 5 years ago

Thank you very much for looking at this issue! I understand that the issue is a result of the layout of the places sidebar.

Apparently in Thunar (same toolkit??) the eject icon is only shown in the line, when this option (eject) is available. In other cases (like bookmarks) this space is used to show useful information (i.e. name of bookmark).

In a direct comparison of Nemo and Thunar, using the SAME horizontal space for the sidebar+slider - Thunar is able to show up to 10 additional letters of the bookmark names. (Same fonts and fontsize).

Hmm. I don't remember to have seen this "issue" when using Linux Mint 18. Anyway thank you very much your explanation and the work you put into Nemo!

Screenshot of Thunar. At the same size, Nemo would only show "D..." instead of Thunars "Documents". Also, the eject-button is only shown for the USB-thump. thunar_screenshot from 2018-11-16 13-01-51

xenopeek commented 4 years ago

I compared Nemo on Linux Mint 20 (top) with Nautilus (bottom). Nautilus doesn't cut off text on other items in the sidebar to reserve space for an eject icon column. Nemo 4.6.4 also reserves this space when there is nothing to eject. But you have to set text larger or have longer bookmark names to run into it.

image