Files icon indicating copy to clipboard operation
Files copied to clipboard

Choice of preview handlers

Open Svk1190 opened this issue 4 years ago • 6 comments

Is your feature request related to a problem? For some filetypes (such as cbz, djvu, etc) the preview pane only shows the cover page. The subsequent pages cannot be previewed. For some filetypes, the preview pane shows a limited number of pages (for example a pdf can be previewed for 10 pages). So the default previewer cannot show the full preview of many filetypes.

Describe the solution Many applications offer their own preview handler. For example Adobe Acrobat and Sumatra PDF offers their own preview handler. I can choose the preview handlers to render the preview for specific filetypes. For example, I can use the Adobe handler for previewing PDF, and I can use Sumatra PDF to preview CBR/CBZ files.

Describe alternatives you've considered I use windows explorer along with Stephen Taub's preview handler association editor, which is shown in the images below. image image

Scope

Capability Priority
This proposal will allow end users to preview files using custom handlers Should

System Information

  • OS Version: [e.g. Windows 10 21H1 19043.1110]
  • App version: [e.g. v1.5.0.0]

Additional comment None

Svk1190 avatar Jul 27 '21 18:07 Svk1190

Thanks for the feedback. Unfortunately it is not currently possible to host shell preview handlers within Files as a framework limitation. Also, the 10 page limit was put on the pdf preview because the windows pdf rendering api uses a lot of memory, which unfortunately would causes crashes.

winston-de avatar Jul 29 '21 06:07 winston-de

It's possible this will become a possibility if/when Files switches to the windows app sdk, sorry for closing this.

winston-de avatar Jul 29 '21 06:07 winston-de

Asking @yaichenbaum for approval.

Josh65-2201 avatar Jul 15 '22 15:07 Josh65-2201

@hez2010 is this something that will make sense with your work?

yaira2 avatar Jul 20 '22 01:07 yaira2

@hez2010 is this something that will make sense with your work?

Added to the TODO list.

hez2010 avatar Jul 20 '22 01:07 hez2010

Is there an issue to track the progress?

yaira2 avatar Jul 20 '22 01:07 yaira2