Swapped constants for IPC

Discussion related to "Everything" 1.5 Alpha.
Post Reply
ovg
Posts: 294
Joined: Thu Oct 27, 2016 7:19 pm

Swapped constants for IPC

Post by ovg »

Hello David!

It seems that 1.5 swaps this two constants:
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_RUN_COUNT 41309
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_DATE_RECENTLY_CHANGED 41310

For me

Code: Select all

PostMessage, 0x111, 41310,,, ahk_exe Everything64.exe
sorting by Run Count and

Code: Select all

PostMessage, 0x111, 41309,,, ahk_exe Everything64.exe
sort by DATE RECENTLY CHANGED
Can you check this?
In 1.4 working as defined in everything_ipc.h ....
void
Developer
Posts: 16974
Joined: Fri Oct 16, 2009 11:31 pm

Re: Swapped constants for IPC

Post by void »

Thank you for the bug report ovg,

I can confirm this is a bug.

The following IPC calls are broken:

Code: Select all

#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_ATTRIBUTES		41307
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_FILE_LIST_FILENAME	41308
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_RUN_COUNT			41309
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_DATE_RECENTLY_CHANGED		41310
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_DATE_ACCESSED		41311
#define EVERYTHING_IPC_ID_RESULT_LIST_SORT_BY_DATE_RUN			41312

#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_ATTRIBUTES_COLUMN			41407
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_FILE_LIST_FILENAME_COLUMN	41408
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_RUN_COUNT_COLUMN			41409
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_DATE_RECENTLY_CHANGED_COLUMN	41410
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_DATE_ACCESSED_COLUMN		41411
#define EVERYTHING_IPC_ID_RESULT_LIST_TOGGLE_DATE_RUN_COLUMN			41412

#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_ATTRIBUTES_COLUMN_TO_FIT		41607
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_FILE_LIST_FILENAME_COLUMN_TO_FIT		41608
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_RUN_COUNT_COLUMN_TO_FIT		41609
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_DATE_RECENTLY_CHANGED_COLUMN_TO_FIT	41610
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_DATE_ACCESSED_COLUMN_TO_FIT	41611
#define EVERYTHING_IPC_ID_RESULT_LIST_SIZE_DATE_RUN_COLUMN_TO_FIT		41612
I had changed the definition of some properties during development and have not updated these sort IDs to the correct properties IDs.

I am working on a fix..
ovg
Posts: 294
Joined: Thu Oct 27, 2016 7:19 pm

Re: Swapped constants for IPC

Post by ovg »

Thanks for information, David!
I've changed my code until new version of Everything.
Thanks for you WORK!
void
Developer
Posts: 16974
Joined: Fri Oct 16, 2009 11:31 pm

Re: Swapped constants for IPC

Post by void »

Thank you for the bug report ovg,

Could you please try the latest Everything 1.5 Alpha.

Everything 1.5.0.1255a fixes an issue IPC sort IDs.
ovg
Posts: 294
Joined: Thu Oct 27, 2016 7:19 pm

Re: Swapped constants for IPC

Post by ovg »

Thank you so much, David! Now it's working like a charm!
Post Reply