Cancel current sort prompt

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
nalol
Posts: 12
Joined: Mon Jan 17, 2022 5:05 pm

Cancel current sort prompt

Post by nalol »

I'm doing a sort that should take a while, but after a few minutes I get the prompt mentioning in the title. I'm not clicking or even mousing over the window. Why is this happening? How do I make sure the sort doesn't stop prematurely?
nalol
Posts: 12
Joined: Mon Jan 17, 2022 5:05 pm

Re: Cancel current sort prompt

Post by nalol »

I'll add; the only option is to click ok and have the sort reset with no option to decline the cancel. Can that be added?
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Cancel current sort prompt

Post by void »

Why is this happening?
This wait dialog is shown when you perform an action on the Everything database (clicking on the result list) when the database is busy.

If the database becomes ready (your sort completes) the wait dialog will disappear.

Ideally, this wait dialog should have a OK and Wait button.
I have put this on my TODO list.

What property are you trying to sort by?
-Please try enabling fast sort for this property under Tools -> Options -> Indexes -> fast xxx sort.
Fast sort will make the sort instant and persistent.



The reason for the wait dialog is shown in the debug console:
  • In Everything, type in the following search and press ENTER:
    /debug
  • Perform your sort.
  • Wait for the wait dialog to show.
  • What is shown in the debug console?
    There should be the following line:
    DB_WAIT: xxx waiting for xxx...
To close the debug console:
  • In Everything, type in the following search and press ENTER:
    /debug

How do I make sure the sort doesn't stop prematurely?
Simply leave the dialog up and don't click OK.
The dialog will disappear when the database becomes ready.
nalol
Posts: 12
Joined: Mon Jan 17, 2022 5:05 pm

Re: Cancel current sort prompt

Post by nalol »

I'm sorting by video bitrate, there's no fast sorting option unfortunately.

This is my debug thingy after the prompt:

PIPE WRITE 33 52
READ 8
PIPE READ 0 8
READ 8
Check for volume change.
DB_WAIT: db_check_for_volume_change waiting for _db_sort_thread_proc...
sizeof (DLGTEMPLATEEX) 104 124
READ 8
READ 4
PIPE READ 3 12
update m 0 00000000035622c0
READ 8
ParseDisplayName 80070005 R:\System Volume Information\EDP\Recovery
R:\System Volume Information\EDP\Recovery: no pidl
COM msg 1030
READ 8
READ 4
PIPE READ 3 12
update m 1 00000000035633e0
READ 8

It stopped responding also.
nalol
Posts: 12
Joined: Mon Jan 17, 2022 5:05 pm

Re: Cancel current sort prompt

Post by nalol »

Ok after doing some testing I've figured out what's causing the prompt. My bluetooth mouse. After a few minutes of inactivity, my mouse goes to sleep. This triggers "check for volume change". It thinks my mouse disconnecting is a volume being removed and this causes the program to prompt the cancel and crash.
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Cancel current sort prompt

Post by void »

Thank you for your reply nalol,

"check for volume change" will no longer cause the database to block in the next alpha update.

I'll make another post here once this is available.


To enable fast sort for video bitrate:
  • In Everything, from the Tools menu, click Options.
  • Click the Properties tab on the left.
  • Click Add....
  • Select Video Bit Rate and click OK.
  • Set the desired include only files.
  • Check Fast sort.
  • Click OK.


Indexing Properties and Fast Sort
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Cancel current sort prompt

Post by void »

DB_WAIT: db_check_for_volume_change waiting for _db_sort_thread_proc...
Thank you for the debug logs.



Everything 1.5.0.1296a fixes an issue with Everything freezing when a device is connected/removed.

Everything will now check for volume changes only when the database is ready.



Everything 1.5.0.1296a also adds a Wait button to the wait dialog.

This button will hide the wait dialog for 3 seconds.
Post Reply