IgnorantGuru / spacefm

SpaceFM File Manager
http://ignorantguru.github.com/spacefm/
GNU General Public License v3.0
490 stars 72 forks source link

Tabs too wide. #762

Open humpity opened 4 years ago

humpity commented 4 years ago

I switched back to gtk2, but I thought I'd mention that while I was using gtk3 1.0.5-2 on Lubuntu 18.04 fresh install, I noticed that if the directory name was very long, the tab would not shorten it and you end up with a very wide tab that partially hides the filenames.

e,g If you plug in a usb stick, you can get a very long directory name like ; /media/username/f0d0f551-b84f-4832-9404-98bee29aeade

This would widen the contents below making it unreadable. In gtk2, the name runs off the tab to the right but at least the contents are normal.

ncdulo commented 4 years ago

I believe this is functioning as intended. I've attached a screenshot to ensure we are talking about the same thing. Personally, I prefer the style used in my screenshot to shorten the names. The longer text is pulled from the middle so you can still identify the head/tail of it, and it is constrained so as to not take over your entire tab bar.

Is there a specific fix, or solution you are looking for? I wonder if it would be possible to add an option under preferences related to name shortening. In some other programs, I have seen options such as..

selection-1585516022

humpity commented 4 years ago

It doesn't look like what I got. Attached are screenshots of gtk3 1.0.5-2 and gtk2 1.0.5-2, GTK3 spacefm-1 0 5-2-gtk3 As you can see the scroll is already at the left most side. There is no way to see the whole filename on the left pane, no matter if I change the column width or try to scroll sideways. GTK2 spacefm-1 0 5-2-gtk2 gtk2's pane content is fine. The title just runs off the pane, I'm fine with that.