Everything not showing thumbnails and previews of OneDrive image files

Discussion related to "Everything" 1.5 Alpha.
Post Reply
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Everything not showing thumbnails and previews of OneDrive image files

Post by David.P »

I just saw that Everything is downloading thousands of images from OneDrive in the background, even though the containing OneDrive folder is set to "Free Up Space".
I did not search for
Content:

In fact, I had no search going at all.

It also starts downloading the images immediately after booting Windows.

Meanwhile it seems that it downloads not only images but apparently everything from OneDrive.

What could be causing this?

Edit:
changed thread title to better reflect the current issue
Last edited by David.P on Tue Aug 27, 2024 1:51 pm, edited 2 times in total.
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything keeps downloading images from OneDrive

Post by void »

Normally, Everything should not be touching your file content.

Are you viewing files as thumbnails? (View -> Thumbnails)
Are you showing the preview pane? (View -> Preview)
Are you indexing properties? (Tools -> Options -> Properties)
Are you indexing content? (Tools -> Options -> Content)

Are you using a custom icon shell extension that might be accessing file content?
To disable icon shell extensions in Everything:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    icon shell
  • Select icon_shell_extensions.
  • Set the value to: false
  • Click OK.
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Everything keeps downloading images from OneDrive

Post by David.P »

> Are you viewing files as thumbnails? (View -> Thumbnails)
Sometimes, but not currently.

> Are you showing the preview pane? (View -> Preview)
Yes, normally I do. But I have disabled it now.

> Are you indexing properties? (Tools -> Options -> Properties)
Yes, a few:
Image

> Are you indexing content? (Tools -> Options -> Content)
No
void wrote: Sun May 28, 2023 12:41 am Are you using a custom icon shell extension that might be accessing file content?
To disable icon shell extensions in Everything:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    icon shell
  • Select icon_shell_extensions.
  • Set the value to: false
  • Click OK.
OK, I have disabled that setting now. But Everything still starts downloading all files from OneDrive as soon as it is started. For example, it also downloads all my hard disk images of the type *.adi from Aomei Backupper :?:
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Everything keeps downloading images from OneDrive

Post by David.P »

I have now disabled indexing properties entirely, and this seems to have stopped the issue.
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything keeps downloading images from OneDrive

Post by void »

If you wish to index properties, please check the "Exclude recall on data access" option to prevent Everything from download cloud files.
LeoLUG
Posts: 69
Joined: Tue May 26, 2020 2:28 am

Re: Everything keeps downloading images from OneDrive

Post by LeoLUG »

I have now the same problem, with version 1.5.0.1355a - it's start downloading every results I search for, for any type of files (even after removing the index properties option, and for sure, there is no content indexing rule for this files).
Anyone with same problem?
Any solution?
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything keeps downloading images from OneDrive

Post by void »

Sounds like enabling Tools -> Options -> General -> Store settings and database has fixed the issue.

With Store settings and database disabled, Everything is likely to have trouble storing settings and data on disk, causing Everything to reindex information on each startup.
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Everything keeps downloading images from OneDrive

Post by David.P »

Unfortunately, I now have the opposite problem. Everything no longer downloads anything, for example when the preview pane is active. Not even images are previewed. Thumbnails are not displayed either, instead only the JPEG icon appears.

I have not blocked Everything in the OneDrive privacy/download settings.

In fact, I've just realized that it's not due to OneDrive, as neither previews nor thumbnails are displayed even for local folders.

What could be the reason for this...?
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything keeps downloading images from OneDrive

Post by void »

Permission issue maybe?


Please check your debug log for error messages.
Look for the following line:
CreateFileW(): <error-code>: Failed to open file <filename>
What error code is shown?


Please make sure Everything is installed correctly and running as a standard user:
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Check Store settings and data in %APPDATA%\Everything.
  • Uncheck Run as administrator.
  • Check Everything Service. (Please make sure this is tick-checked and not square-checked)
  • Click OK.
  • Exit Everything (right click the Everything tray icon and click Exit).
  • Restart Everything.
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Everything keeps downloading images from OneDrive

Post by David.P »

Thank you, will do and report back!
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Everything keeps downloading images from OneDrive

Post by David.P »

Okay, I've done all of this now. I even completely uninstalled and reinstalled Everything and let it run with default settings.

It still doesn't show thumbnails and previews for images. Actually, there are no thumbnails nor previews for any file types.

Is there anything else I could try?

Attached is the debugging log.

I only noticed that shutting down Everything via the tray icon does not work. It remains active with two processes in Task Manager. When I then start Everything, this prompt appears after a minute or so:

Image

If I click on Terminate, Everything then comes up again.

Also, I have tried to save all settings files so that I would be able to restore them after the reinstallation. Unfortunately, some settings are missing, for example my customized $openpath("%1") command. In which file would this be saved?
Last edited by void on Sun Dec 17, 2023 11:21 pm, edited 1 time in total.
Reason: removed log
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything keeps downloading images from OneDrive

Post by void »

Thank you for the log.

The log shows there's no preview handler for png files.
This is normal.
Everything will then fall back to shell_item_image_factory to gather a thumbnail to preview.
My guess is shell_item_image_factory is hanging when loading the png thumbnail.



Could you please send a mini crash dump:

Could you please send a debug log when exiting Everything:
  • In Everything, from the Tools menu, under the Debug submenu, check Start Debug Logging.
  • Exit Everything (File -> Exit)
  • Please send your %TEMP%\Everything Debug Log.txt to support@voidtools.com or upload here.

In which file would this be saved?
%APPDATA%\Everything\Everything-1.5a.ini



Please try disabling shell_item_image_factory:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    shell
  • Select shell_item_image_factory.
  • Set the value to: false
  • Click OK.
shell_item_image_factory
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Everything keeps downloading images from OneDrive

Post by David.P »

Thank you, will do all and report back.
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Everything not showing thumbnails and previews of OneDrive image files

Post by David.P »

Hello all,

I was going to come back on this and report the current status. Everything has absolutely no problem showing thumbnails of files that are contained in normal local folders on the hard drive.

However, as soon as images are under a OneDrive local folder path, Everything does not display any thumbnails, no matter whether the files are kept "online only" or whether the files are "present on the device".

Everything does not even show previews in the preview pane when I click on such image files in the file list. Again, this only happens when image files are under any arbitrary local OneDrive path. Everywhere else, image file thumbnails and preview pane work perfectly.

Why would that be so?

Of the measures mentioned above by @void, I have deactivated shell_item_image_factory, but this has not changed the behavior.

OneDrive thumbtails not shown.png
OneDrive thumbtails not shown.png (679.42 KiB) Viewed 2491 times
Everything showing a mix of image file thumbnails in normal folders and in OneDrive folders. The image files in the OneDrive folders are all "present on this device", but still no thumbnails and previews are created.
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything not showing thumbnails and previews of OneDrive image files

Post by void »

Does pressing F5 show the thumbnails?
-This is showing thumbnails for me when the file is cloud only.

Does switching to a different file, then back again show the preview?
-This is showing preview for me when the file is cloud only.



I will look into making Everything automatically refresh thumbnails and the preview when they are available for cloud only files.
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Everything not showing thumbnails and previews of OneDrive image files

Post by David.P »

Hello David, and thanks very much for your reply.

The answer to both of your questions is no, unfortunately. There is no thumbnail and no preview even when, for example, I had right-clicked on the containing folder and activated "always keep on this device", and then waited until the status of all files has the full green checkbox icon:
OneDrive Windows Explorer icons meaning.png
OneDrive Windows Explorer icons meaning.png (99.06 KiB) Viewed 2439 times

I'd be very happy if you could have a look into this.

Speaking of thumbnails in OneDrive, I have recently learned that OneDrive even supplies thumbnails for most file types, including documents and PDFs, without the file having to be downloaded to the device.

Maybe you can also look into this and use their respective API if that should be possible?

I believe this is an awesome feature of OneDrive.
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Everything not showing thumbnails and previews of OneDrive image files

Post by David.P »

I'm unfortunately not getting any thumbnails and not even previews for any images that are under any OneDrive path, not even when they are clearly downloaded and present locally :(
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything not showing thumbnails and previews of OneDrive image files

Post by void »

I am unable to produce the issue my end.

Debug Logs might help:
  • In Everything 1.5, from the Tools menu, under the Debug submenu, check Start Debug Logging.
  • Search for your OneDrive Folder, for example:
    \OneDrive *.jpg
  • Set the view the thumbnails.
  • Press F5.
  • From the Tools menu, under the Debug submenu, check Stop Debug Logging.
    ---This will open your %TEMP%\Everything Debug Log.txt in Notepad.
  • Please upload your log in a /bugreport.
The debug log will show the exact error code for the thumbnail load failure.

Look for the following lines:

Code: Select all

IShellItemImageFactory::GetImage failed <error code>
SHCreateItemFromIDList IShellItemImageFactory failed <error code>
get thumbnail exception <exception code>
IExtractImage::Extract failed <error code>
bad IExtractImage size <width> <height>
IExtractImage::GetLocation failed <error code>
GetUIObjectOf IExtractImage failed <error code>
extract image exception <exception code>
ParseDisplayName <error code> <filename>
ParseDisplayName MAX_PATH <filename> // filename length exceeded MAX_PATH
Successful lines:

Code: Select all

<filename> got thumbnail <width> x <height>, Bits: <bitdepth>
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Everything not showing thumbnails and previews of OneDrive image files

Post by David.P »

Thank you. Will do and report back.
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Everything not showing thumbnails and previews of OneDrive image files

Post by David.P »

I have sent a bug report including the log file as instructed.

Thank you very much for looking into it.
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Everything not showing thumbnails and previews of OneDrive image files

Post by David.P »

Thanks to David for checking my debug logs.

At the moment, it seems there's not much that can be done in Everything regarding the thumbnails issue, since the problem seems to be caused by some restriction policy in my company.

See also corresponding discussion here in the Dopus forum: Thumbnails only work for the personal OneDrive but not in OneDrive for Business, not even in Windows Explorer.

As I'm usually searching my files on my OneDrive for Business, but have to switch to searching our normal Windows file server when searching for images (because only there, thumbnails will be shown):

Can I somehow set up a filter fore "Images" that not only switches to filtering for images and showing thumbnails but also disables Omit Results as long as that filter is active? Possibly using a keyboard hotkey?
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything not showing thumbnails and previews of OneDrive image files

Post by void »

Thank you for the logs.
I will add my notes here too:

> IExtractImage::Extract failed 8004b207
> IShellItemImageFactory::GetImage failed 8004b207



The thumbnails fail to load with the error: 0x8004b207 WTS_E_NOSTORAGEPROVIDERTHUMBNAILHANDLER

I haven't found much information on this error.

Only this:
https://learn.microsoft.com/en-us/answers/questions/319587/what-is-the-meaning-of-comexception-%280x8004b207%29-a



To disable the brown box overlay:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    overlay
  • Select thumbnail_overlay_icon
  • Set the value to: false
  • Click OK.

Can I somehow set up a filter fore "Images" that not only switches to filtering for images and showing thumbnails but also disables Omit Results as long as that filter is active? Possibly using a keyboard hotkey?
To create an image filter that ignores your result omissions:
  • From the Search menu, click Add to filters....
  • Change the Name to: Images (no omit)
  • Change the Search to:

    Code: Select all

    ext:ani;apng;avif;avifs;bmp;bpg;cur;dds;gif;heic;heics;heif;heifs;hif;ico;jfi;jfif;jif;jpe;jpeg;jpg;jxl;jxr;pcx;png;psb;psd;svg;tga;tif;tiff;wdp;webp;wmf noomit:
    
  • Set a keyboard shortcut.
  • Click Ok.
Filters can be activated from the Search menu, Filter bar (View -> Filters), right clicking the status bar, filter macro or filter keyboard shortcut.
Filters can be organized from Search menu -> Organize filters.

no-omit:
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Everything not showing thumbnails and previews of OneDrive image files

Post by David.P »

void wrote: Thu Nov 21, 2024 10:49 am To create an image filter that ignores your result omissions:
  • From the Search menu, click Add to filters....
  • Change the Name to: Images (no omit)
  • Change the Search to:

    Code: Select all

    ext:ani;apng;avif;avifs;bmp; [...] ;psd;svg;tga;tif;tiff;wdp;webp;wmf noomit:
    
  • Set a keyboard shortcut.
  • Click Ok.
Thank you! It is absolutely awesome that a filter can even be set to ignore result omissions!

It seems that this way, i.e. by also adding a path to the filter, this effectively solves the problem of how to toggle two different omit result states, at least partially:
image.png
image.png (66.84 KiB) Viewed 204 times

Everything consistently proves it's one of the finest software creations ever! Thank you so much!
Post Reply