Preview of .txt files slow on Windows 11

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Bamsen
Posts: 24
Joined: Thu Dec 09, 2021 9:16 am

Preview of .txt files slow on Windows 11

Post by Bamsen »

I am using Everything on two computers.
On my home computer (still running Windows 10) all text file previews are instant.

On my work computer running Windows 11 some are instant (ex. .csv) but some (ex. .txt) are very slow and showing a "Loading..." bar regardless of size.

It is not critical, but VERY annoying. :D

Any tips on what may be causing this?

---
Morten A. Steien
void
Developer
Posts: 16775
Joined: Fri Oct 16, 2009 11:31 pm

Re: Preview of .txt files slow on Windows 11

Post by void »

It might be your preview handler for txt files.
Do csv files look different to txt files in the preview pane?
Does the issue occur in Windows Explorer?



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.


Please try overriding your txt preview handler 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:
    preview
  • Select preview_handlers.
  • Set the value to:
    [{"filter":"*.txt","handler":"{1531d583-8375-4d3f-b5fb-d23bbd169f22}"}]
  • Click OK.
Bamsen
Posts: 24
Joined: Thu Dec 09, 2021 9:16 am

Re: Preview of .txt files slow on Windows 11

Post by Bamsen »

Wonderful!

First part was already OK.
Overriding the txt preview handler worked immediately.
I also added .reg to the filter and that also worked.

Can this handler be set as default for all "text" extensions?
void
Developer
Posts: 16775
Joined: Fri Oct 16, 2009 11:31 pm

Re: Preview of .txt files slow on Windows 11

Post by void »

Only by extension.

Everything will fall back to the system to preview other file types.
Post Reply