nimble-commander icon indicating copy to clipboard operation
nimble-commander copied to clipboard

Better folder preview

Open vladstudio opened this issue 1 year ago • 2 comments

Right now, when I hit "Show preview" on a folder, it looks like this:

image

Not very helpful! Do you think it could include:

  • calculated size (as requested here )
  • maybe even folder listing, so that I could browse folder on one panel, and quickly view their contents on the other panel, similar to this:

https://github.com/mikekazakov/nimble-commander/assets/914320/e3996701-100f-4e56-83f7-bd9c7e659ce3

vladstudio avatar Jan 28 '24 09:01 vladstudio

Hello, I could even imagine to display more information than just the calculated size, e.g., something like this: image

(this screenshot comes from Altap Salamander - Calculate Occupied Space command)

BTW I still do not fully understand how the preview works, for some file types it displays the preview, but for others it displays nothing (or if the file does not have a file extension at all). Couldn't it display same content as the internal viewer in such cases?

lcerman avatar Feb 01 '24 08:02 lcerman

Nimble Commander does not do the previewing by itself, but instead it relies on the system-wide framework QuickLook to present the contents. To be able to show this additional information a separate logic for that needs to be implemented. There's more info in the F.A.Q.: https://github.com/mikekazakov/nimble-commander/discussions/136

mikekazakov avatar Feb 03 '24 16:02 mikekazakov