Adding data freeze or stop update support to column formula

Discussion related to "Everything" 1.5 Alpha.
Post Reply
nikov
Posts: 131
Joined: Fri Dec 24, 2021 10:31 am

Adding data freeze or stop update support to column formula

Post by nikov »

Hi,
How can I just FILL a column with information? Or in other words, freeze column data?

Example:
I just want to add a "Freezed File Size" column using "column1:=$size: add-column:column1" column formula.
But the problem with the above formula is that, it does not freeze the "column1" column data, its data is updated/changed when the original file's size is changed.
I want to deliberately freeze the data. How can one do it?

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

Re: Adding data freeze or stop update support to column formula

Post by void »

The only way to do this at the moment is to pause your indexes:
  • In Everything 1.5, from the Index menu, check Pause Updates.


Don't forget to unpause when you are done with your results:
  • In Everything 1.5, from the Index menu, check Update indexes.
nikov
Posts: 131
Joined: Fri Dec 24, 2021 10:31 am

Re: Adding data freeze or stop update support to column formula

Post by nikov »

void wrote: Fri Dec 01, 2023 9:58 am
Thanks, but it did not work for all columns.

Maybe my example was bad.
I wanted to make it easy to understand by giving a generalized example using just the "size" column. But it turns out this solution does not work for "Run Count" column.

Why this is needed:
If users sort by "Run Count" then opening a file by double-clicking increments the "Run count" and as a result, it somewhat destroys the sorting by "Run Count".
This can be annoying as sometimes opening a file just for once changes its position in the results window drastically. Then it's a bit tiring work to get back to the previous position.
I thought column formula could easily solve that if it can just freeze the column data.

Thank you.
Post Reply