Page 1 of 1

Preview Panel / Float / File Preview: feature integration

Posted: 24 Feb 2015 02:04
by MikhailR
A thing I really miss for a long time is a persistent "file preview" for images and text file, that automatically preview the file selected.
It is a feature "almost" there, but not quite, for some unknown reason:

- The floating panel is great, because it can be placed in my my 2nd monitor, so it not obstruct my main panel.
- The floating "quick file preview" panel is great for text, but is pretty useless for images (as it displays its RAW data).
- The floating "image preview" is great, but only for images and videos (doh!), as it refuses other type of files.
- Both panels can't coexist, meaning I have to choose for the appropriate one when previewing each type of file.
- So there is the "Preview tab" in the Info panel, that previews text and images. The exact behavior I expect for a preview panel. But unfortunately, it is permanently attached to a panel that has itself low layout mobility. (can't go to my 2nd monitor, for example).
- And there is the "blow up" preview, but it is not persistent.

All said, a thing that would make me happy:
A persistent floating preview panel that previews image and text. The same behaviour of the preview tab (of the "info panel") and "blow up" preview.

A thing that would make me even happier:
If this panel could be optionally be "docked"/"attached" in a vertical layout panel (like below the categories list, for example).

Re: Preview Panel / Float / File Preview: feature integratio

Posted: 26 Feb 2015 00:18
by Dario
Try this, maybe the best you can do at this moment.
1) Save your XYplorer default layout (panel position).
Go to Main menu -- Window -- Save Layout as... e.g (Default_Layout)
2) Uncheck all in Main menu -- Window menu, (Leave only Status bar, Status bar buttons, and Info Panel), and drag up, to maximum position line between Status bar and Info Panel Tabs. (Info Panel Top border)
Now, you should have only Main menu, narrow List Pane, and biggest possible Info Pane Preview. Then repeat,
Go to Main menu -- Window -- Save Layout as... e.g. (Big_Info_Pane_Preview).
3) You need script and keyboard shortcut to toggle between these two layouts.
Go to Main menu -- User -- Manage Commands -- Run Script -- New -- Add New Command

In Script field add:

Code: Select all

::if (get(#661) != 0) {loadlayout (Big_Info_Pane_Preview); } else {loadlayout (Default_Layout)};
Below Script field, you can see Assign Keyboard Shortcut...
Add one keyboard shortcut, and use it.
I like this, for short video clips, images, and text files preview.