Quick view

Andrew Borodin aborodin at vmail.ru
Sun Oct 2 08:53:20 UTC 2022


On Sun, 02 Oct 2022 10:14:23 +0200 "Riccardo Paolo Bestetti" <pbl at bestov.io> wrote:
> One feature I like about MC is "quick view" (C-x q), or the ability to
> use one of the panes to quickly preview files. However, I have noticed
> that it doesn't work as well as the file viewer (F3). Some examples:
> 
> - When quick view is open, hovering on some types of files (especially
>   zip files and derivatives such as epub, docx, jar) results in a big
>   red popup that needs a keypress to be dismissed, and then their
>   content is not displayed

There is a bug in zip-files detection. I hope, it's fixed[1]. It'll be
in the master branch at next weekend.

> - Some of the files that ca be successfully rendered in the viewer (e.g.
>   HTML, images*, PDF) show up as plain text/binary dumped as ASCII
>   instead in quick view

It's a feature[2]. Quick view shows file in the raw mode to avoid any delays
required to get some info of the file.

> - Directories show the string "Cannot view: not a regular file" but it
>   might be a good feature to show the contents, or maybe a short
>   description of it ("X images, Y documents")

Again, to calculate directory statistics, or get some info of file, we need
some time. Any delay can annoy users.

[1] https://midnight-commander.org/ticket/4404
[2] https://midnight-commander.org/ticket/4117

-- 
Andrew




More information about the mc-devel mailing list