Multi Commander > Support and Feedback

Quicklook - nearly works

<< < (2/5) > >>

Mathias (Author):

--- Quote from: Matthias515566 on February 12, 2024, 23:14:36 ---
--- Quote from: Mathias (Author) on February 12, 2024, 18:57:53 ---MC got its own preview panel, and there you can preview images/pdf and more insida a tab..

--- End quote ---
This does not work properly. All my PDFs are displayed as empty, and while testing, MultiCommander crashed and was killed. DXF files are also very important for the preview. It would be better to completely remove the feature, as it is not usable in its current state.

--- End quote ---

Strange . Works perfectly for me. previewing PDFs daily. but it depend on the PDF viewer.. might be some none default pdf preview handler that is installed that works differently.
PDF / Word / Excel and some other format are depend on that there is a Windows Preview Handler installed for that format. MC do not render them by it self
There is not any noticeably amount of crashes for the preview. So if a crash report is sent. let me know the crash id. and I can take a manual look.
Also if you have a WindowsPreviewHandler installed for DXF you need to add it to allowed file types for MC to pick it up.

Jungle:
I think that the easiest way would be to allow external app in the preview setup.

Another way - events. Multiple times I wanted to suggest this feature but I'm not sure it's worth the efforts. The point is to allow executing scripts/UDC on certain events like MC start/exit, change file focus, opening/closing tabs, begin/end file operations etc. But I don't think it would be useful.

jfmoyen:

--- Quote from: Mathias (Author) on February 12, 2024, 23:08:20 ---
--- Quote from: jfmoyen on February 12, 2024, 21:52:43 ---
--- Quote from: Mathias (Author) on February 12, 2024, 18:57:53 ---QuickLook does not know when the focus of a file in MC changes.

--- End quote ---

Indeed, so my question is probably, "is there a way to politely request MC to pass that info to QL" - after all, many file managers manage to do it (Windows, but also many of the *Commander and a slate of others - see https://github.com/QL-Win/QuickLook/wiki/File-Managers ). There may be profound technical reasons, of course, but at face value it does not sound implausible or unfeasible, I was wondering whether I had maybe overlooked an obvious setting.


--- End quote ---

Only FM that manage to do it is Windows. None of the other 3rd party filemanager can do that from what I see. Don't see any API for 3rd party tools
That it might work in Windows explorer is becuse I think they probably hook them self into the preview handler or into the shell.

--- End quote ---

I respectfully disagree. I just tested, and it does work in OneCommander (https://onecommander.com/). Now of course I have no idea how they do it.

Mathias (Author):

--- Quote from: jfmoyen on February 13, 2024, 08:04:03 ---
--- Quote from: Mathias (Author) on February 12, 2024, 23:08:20 ---
--- Quote from: jfmoyen on February 12, 2024, 21:52:43 ---
--- Quote from: Mathias (Author) on February 12, 2024, 18:57:53 ---QuickLook does not know when the focus of a file in MC changes.

--- End quote ---

Indeed, so my question is probably, "is there a way to politely request MC to pass that info to QL" - after all, many file managers manage to do it (Windows, but also many of the *Commander and a slate of others - see https://github.com/QL-Win/QuickLook/wiki/File-Managers ). There may be profound technical reasons, of course, but at face value it does not sound implausible or unfeasible, I was wondering whether I had maybe overlooked an obvious setting.


--- End quote ---

Only FM that manage to do it is Windows. None of the other 3rd party filemanager can do that from what I see. Don't see any API for 3rd party tools
That it might work in Windows explorer is becuse I think they probably hook them self into the preview handler or into the shell.

--- End quote ---

I respectfully disagree. I just tested, and it does work in OneCommander (https://onecommander.com/). Now of course I have no idea how they do it.

--- End quote ---
OneCommander I never heard of. Might be built on top of Windows Shell.  But TC,FC , XY only support to view on command. eg https://github.com/QL-Win/QuickLook/wiki/Total-Commander

Jungle:

--- Quote from: jfmoyen on February 13, 2024, 08:04:03 ---Now of course I have no idea how they do it.
--- End quote ---
I've taken a look at the sources, and from what I've seen and understood, QuickLook constantly monitors active window and tries to get selection from it if the window type matches supported managers (explorer, dopus etc.)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version