View Ticket
Not logged in
Ticket Hash: 36202cb36ae4c9a83acd44ed45f83d41e8375919
Title: Also use OpenWithProgids when looking for Preview Handlers
Status: Closed Type: Feature Request
Severity: Important Priority: High
Subsystem: ZPreview Resolution: Fixed
Last Modified: 2015-02-05 09:47:25
11.62 years ago
Created: 2015-02-04 13:51:55
11.62 years ago
Version Found In: 1.0.0.1
User Comments:
tinus added on 2015-02-04 13:51:55: <verbatim-b62759a71ddb744d773b links>Currently, when looking for the Preview Handler associated with a file, uHostPreview.pas only looks in `HKEY_CLASSES_ROOT\{.ext}\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}`.

It should also look in `HKCR\{.ext}\OpenWithProgids`, and for each value name, look up `HKCR\{value_name}\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}`.

Case in point: *.htm files don't show a preview in ZPreview, but do show one in Windows Explorer. Now `HKCR\.htm` doesn't have the preview handler GUID under its ShellEx key, but it does have a `OpenWithProgIds` key, which has —amongst others— a(n empty) value named `htmlfile`. `htmlfile` in turn, DOES have the preview handler GUID under its ShellEx key.</verbatim-b62759a71ddb744d773b>


tinus added on 2015-02-05 09:47:25: <verbatim-a4f8ed61aff1d200167f links>Fixed in [e04e0eeec5].</verbatim-a4f8ed61aff1d200167f>