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 08:47:25
Version Found In: 1.0.0.1
User Comments:
tinus added on 2015-02-04 12:51:55:
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.

tinus added on 2015-02-05 08:47:25:
Fixed in [e04e0eeec5].