I'm running into an issue with TcxShellListView where thumbnails are not showing for newly-created folders unless you first navigate to that folder in Windows Explorer and have it display the thumbnail images.
Steps to reproduce:
- Make sure you have a PDF viewer installed and set to show thumbnails in Windows Explorer.
- Create a simple shell app using the TcxShellListView, TcxShellTreeview and link them together. Set the view style of the shell list view to vsIcon and enable thumbnails in the shell list view. Run the app.
- In Windows Explorer create a new folder, set its view type to detail and copy some PDFs to this folder. I copied the files by right-clicking on the new folder and pasting them in instead of going into the folder directly, but I'm not sure if this is necessary.
- Navigate to this folder in the shell app. Instead of thumbnails you will see the default PDF icons.
- Go back to Windows Explorer, browse into this new folder, change its view to large icons so that Windows displays thumbnails.
- Go back to the shell app and hit F5 or renavigate to the folder - the thumbnails now appear.
Is there a way to get the thumbnails to show without first navigating to the folder in Windows Explorer?
Notes:
- Small PDFs actually seem to work OK, so test with PDFs larger than 1MB (we're dealing with multi-megabyte PDFs coming from scanners).
- This behavior occurs for Acrobat Reader, FoxIT and Sumatra PDF viewers.
- Graphic files like JPGs do not exhibit this behavior and work as expected.
Let me know if you need further details.
Hello Tom,
I have reproduced this behavior with some PDF files. To my regret, we do not know why this happens and do not see an obvious solution yet. It may take us some time to examine this scenario.