View Ticket
Not logged in
2015-02-05
23:34
Version 1.0.1.0 * Simplified the toolbar; * Added buttons for Full Screen, Stay on Top and loading of a WLX plugin. * GIF files are now animated (if they contain animations). * Improved handling of errors. * The 'Image Info' window was renamed to File Info; it can now also show (very summary) information about files when not using FreeImage. * More Windows Preview handlers are now detected and used (ticket [36202cb36a]). * When `zbar.dat` can not be found automatically, look explicitly in `%APPDATA%\ZTreeWin`; failing that, ask the user (ticket [ed86fb95ef]). check-in: 01a6525da6 user: tinus tags: zpreview, zpreview-1.0.1.0
08:47 Closed ticket [36202cb36a]: Also use OpenWithProgids when looking for Preview Handlers plus 4 other changes artifact: e69a72990e user: tinus
2015-02-04
13:31
ZPreview: improved detection of registered Windows Preview Handlers. Fixes tickets [36202cb36a] and [43105b8e25]. check-in: e04e0eeec5 user: tinus tags: feature/windows-preview-host
12:52 Ticket [36202cb36a] Also use OpenWithProgids when looking for Preview Handlers status still Open with 5 other changes artifact: 7e60f264cd user: tinus
12:51 New ticket [36202cb36a]. artifact: f9574128fa user: tinus

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].