Troubleshooting 3rd party IFilter for Everything Preview

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
mhsuc
Posts: 11
Joined: Sun Jun 09, 2024 1:30 pm

Troubleshooting 3rd party IFilter for Everything Preview

Post by mhsuc »

Everything: 1.5.0.1382a (x64)
OS: Windows NT 10.0 22631 (x64)
Admin: 0
Service: 6 (connected / partially installed)
Command line: -startup
Binary: C:\Program Files\Everything 1.5a\Everything64.exe
Profile: C:\Users\...\AppData\Roaming\Everything\Everything-1.5a.ini
Database: C:\Users\...\AppData\Local\Everything\Everything-1.5a.db
Instance:
Config: hide_empty_search_results=1
Config: language=1042
Config: alpha_instance=0
Config: content_ifilter_coinit_multithreaded=1
Config: include_file_content=1
Config: content_include_only_files=*.doc;*.docx;*.pdf;*.txt;*.xls;*.xlsx;*.hwp;*.hwpx;
Config: filter=EVERYTHING
Config: preview_visible=1
Config: search_history_enabled=0
Config: run_history_enabled=0
Config: plugins=0
Config: columns=[{"name":"Name","width":356},{"name":"Path","width":674},{"name":"Size","width":96},{"name":"Date Modified","width":153},{"name":"Content","width":256}]



I have confirmed that the Hangul IFilter is working correctly [viewtopic.php?t=15171&sid=7aff4063ba93a ... 1cdfb9d930]. However, I understand that this IFilter should also handle the 'Preview' in Windows Explorer, but the Preview for Hangul files in Everything is not functioning.

For reference, the Preview for Hangul files in Windows Explorer displays the page as the attached image, similar to the PDF Preview, rather than showing formatted text like the MS Word Preview.

Could this part also be fixed? Thank you.
preview.png
preview.png (21.75 KiB) Viewed 3170 times
Last edited by void on Sat Jun 15, 2024 11:48 pm, edited 2 times in total.
Reason: trimmed log
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Troubleshooting 3rd party IFilter for Everything Preview

Post by void »

Could you please send the debug output when selecting a Hangul file:
  • In Everything, please unselect any files.
  • Please make sure the preview pane is visible (View -> Preview)
  • From the Tools menu, under the Debug submenu, click Start Debug Logging.
  • Select a Hangul file.
  • From the Tools menu, under the Debug submenu, click Stop Debug Logging.
    ---This will open your Everything Debug Log.txt in Notepad
  • Could you please upload this file here:
    /bugreport
mhsuc
Posts: 11
Joined: Sun Jun 09, 2024 1:30 pm

Re: Troubleshooting 3rd party IFilter for Everything Preview

Post by mhsuc »

Dear David,

As instructed, I have collected the logs (* verbose mode). The task was performed on four different computers. It works fine on the two Windows 10 computers, but it fails on both Windows 11 computers, indicating that there might be an issue with Windows 11. (For reference: the preview in Windows 11 Explorer works fine.)

Thank you.
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Troubleshooting 3rd party IFilter for Everything Preview

Post by void »

Thank you for the debug log mhsuc,

The log shows a failure with IInitializeWithFile, but no error code is logged.



Everything 1.5.0.1383a adds more debugging information.

Could you please repeat the process with this version?
This version adds the failure code for IInitializeWithFile:
  • In Everything 1.5.0.1383a, please unselect any files.
  • Please make sure the preview pane is visible (View -> Preview)
  • From the Tools menu, under the Debug submenu, click Start Debug Logging.
  • Select a Hangul file.
  • From the Tools menu, under the Debug submenu, click Stop Debug Logging.
    ---This will open your Everything Debug Log.txt in Notepad
  • Could you please upload this file here:
    /bugreport
mhsuc
Posts: 11
Joined: Sun Jun 09, 2024 1:30 pm

Re: Troubleshooting 3rd party IFilter for Everything Preview

Post by mhsuc »

David,

The issues on my two Windows 11 computers have been resolved by installing version 1.5.0.1383a. The problems persisted with version 1382, but it seems the update in 1383 has resolved my issues as well.

While it may no longer be necessary since the problem is fixed, I have attached the debug logs you requested in case they might be helpful to your work. Thank you.
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Troubleshooting 3rd party IFilter for Everything Preview

Post by void »

Thank you for the logs.
The logs show IInitializeWithFile was successful.

I wonder what the issue was...
Maybe it was fixed with a restart of the preview host process?

If you ever see the issue again, please let me know.
mhsuc
Posts: 11
Joined: Sun Jun 09, 2024 1:30 pm

Re: Troubleshooting 3rd party IFilter for Everything Preview

Post by mhsuc »

Dear David,

I experienced the same issue on two different computers, and the last time I checked version 1382 was right after a fresh reboot, so I'm not sure if it's related to the preview host process issue you mentioned. I will report it immediately if the same issue occurs again. Thank you very much.
mhsuc
Posts: 11
Joined: Sun Jun 09, 2024 1:30 pm

Re: Troubleshooting 3rd party IFilter for Everything Preview

Post by mhsuc »

Dear David,

I am contacting you regarding a newly discovered issue. The symptoms are as follows:

Previews for normal files are displayed correctly until a preview attempt for a corrupted file fails. Once a preview failure occurs, previews for normal files are also not displayed. Only by completely closing and restarting the program can previews for normal files be displayed again. I have uploaded the relevant debug logs.
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Troubleshooting 3rd party IFilter for Everything Preview

Post by void »

Thank you for the log.
The preview handler crashes.

Future calls to initialize a new file fail. (RPC_S_SERVER_UNAVAILABLE)

Please try toggling the preview pane (View -> Preview (Alt + P))

-or-

Consider enabling:
Tools -> Options -> Advanced -> preview_release_handler_on_clear -> set to true.



I will look into doing this automatically on the RPC_S_SERVER_UNAVAILABLE error.
mhsuc
Posts: 11
Joined: Sun Jun 09, 2024 1:30 pm

Re: Troubleshooting 3rd party IFilter for Everything Preview

Post by mhsuc »

Both of the solutions you provided work. Thank you.
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Troubleshooting 3rd party IFilter for Everything Preview

Post by void »

Everything 1.5.0.1384a will now restart the preview handler if it crashes with RPC_S_SERVER_UNAVAILABLE.
Post Reply