/define

Discussion related to "Everything" 1.5 Alpha.
Post Reply
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

/define

Post by NotNull »

This is just a FYI for now. Will revert Everything to default settings and see if this issue remains.

/DEFINE is not working as expected in an installed (Program Files) Everything 1.5.0.1311a.
  • /define abc=def does not define abc (macros.csv is not updated and no statusbar message).
    Same after deleting macros.csv.
  • /define does not show the macros that are defined in "macros-1.5a.csv" in %APPDATA%
  • Running a portable Everything with a clean ini works as expected. No issues.
  • After copying different settings (minus the color, font, keys ones) from %APPDATA% Everything ini to portable Everything.ini, still all OK.
  • After replacing portable Everything.ini with %APPDATA% Everything ini, /define has the same issues as the installed one.
Version 1299 was used for the debug log of the portable version,but initial tests with 1311 showed the same output.


DEBUG LOG

Code: Select all

Everything
Version 1.5.0.1311a (x64)
Windows NT 10.0
Processors 2
IsAdmin 0
AppData 1
Service 1
cmdline "C:\Program Files\Everything 1.5a\Everything64.exe"
SetActiveWindow failed 00000000
WM_ACTIVATE 0000000000000000 0000000000000000, lastfocus 00000000003a0426, current focus 00000000003a0426
WM_ACTIVATE 0000000000000002 0000000000000000, lastfocus 00000000003a0426, current focus 0000000000000000
FOCUS 0
FOCUS restore
update search 0
search '/define abc=def' filter '' sort 10 ascending 0
parse flags 00000000 type 24c01100
TERM /define
parse flags 00000000 type 24c01100
TERM abc=def
FOLDER TERM START 000000000097e988 M 00000000005ed900 N 00000000005eda20
000000000097e988 24e01104 M 000000000097dbc8 N 00000000005eda20 OP 282 /define
000000000097dbc8 24e01100 M 00000000005ed900 N 00000000005eda20 OP 5 abc=def
FILE TERM START 000000000097e988 M 00000000005ed900 N 00000000005eda20
000000000097e988 24e01104 M 000000000097dbc8 N 00000000005eda20 OP 282 /define
000000000097dbc8 24e01100 M 00000000005ed900 N 00000000005eda20 OP 5 abc=def
found 0 files with 2 threads in 0.031405 seconds
found 0 folders with 2 threads in 0.012615 seconds
SET SORT 0
set sort 10 ascending 0 is valid 1
SET SORT 2 10
finished sort, time taken 0.000282 seconds
total size 0, calculated in 0.000001 seconds
update selection 0.000001 seconds
ready
DB_WAIT: _db_ready_proc waiting for _db_search_thread_proc...
DB_WAIT: _db_ready_proc waited 0.005060 seconds
new results 0
ui->listview_was_focus_in_view 0
COMMAND 41000
add nav /define abc=def
exec: main thread regained focus
WM_ACTIVATE 0000000000000000 0000000000000000, lastfocus 00000000003a0426, current focus 00000000003a0426

DEBUG LOG PORTABLE

Code: Select all

Everything
Version 1.5.0.1299a (x64)
Windows NT 10.0
Processors 2
IsAdmin 0
AppData 0
Service 2
cmdline Everything64.exe  -instance DEFINE
SetActiveWindow failed 00000000
WM_ACTIVATE 0000000000000000 0000000000000000, lastfocus 0000000000240612, current focus 0000000000240612
WM_ACTIVATE 0000000000000002 0000000000000000, lastfocus 0000000000240612, current focus 0000000000000000
FOCUS 0
FOCUS restore
update search 0
search '/define abc=def' filter '' sort 5 ascending 0
parse flags 00000000 type 20c01100
TERM /define
parse flags 00000000 type 20c01100
TERM abc=def
FOLDER TERM START 00000000093cfd48 M 0000000000f3d930 N 0000000000f3da50
00000000093cfd48 20e01104 M 00000000093cf708 N 0000000000f3da50 OP 282 /define
00000000093cf708 20e01100 M 0000000000f3d930 N 0000000000f3da50 OP 5 abc=def
FILE TERM START 00000000093cfd48 M 0000000000f3d930 N 0000000000f3da50
00000000093cfd48 20e01104 M 00000000093cf708 N 0000000000f3da50 OP 282 /define
00000000093cf708 20e01100 M 0000000000f3d930 N 0000000000f3da50 OP 5 abc=def
set high UI thread priority
found 0 files with 2 threads in 0.046349 seconds
found 0 folders with 2 threads in 0.015112 seconds
SET SORT 5
set sort 5 ascending 0 is valid 1
already sorted
finished sort, time taken 0.001578 seconds
update selection 0.000001 seconds
total size 0, calculated in 0.000000 seconds
ready
DB_WAIT: _db_ready_proc waiting for _db_search_thread_proc...
DB_WAIT: _db_ready_proc waited 0.002747 seconds
new results 0
ui->listview_was_focus_in_view 0
restore UI thread priority
MoveFile:
T:\EverythingTest\Macros-DEFINE.csv.tmp
to:
T:\EverythingTest\Macros-DEFINE.csv
add nav /define abc=def
WM_ACTIVATE 0000000000000000 0000000000000000, lastfocus 0000000000240612, current focus 0000000000240612
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: /define

Post by void »

Thanks for the issue report NotNull,

Do other search commands work, eg: /help

Have you changed the search_command_prefix ini setting?

Could you please send me your %APPDATA%\Everything\Everything.ini
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: /define

Post by NotNull »

Mystery solved:

The keyboard shortcut for File | Open was set to ENTER (Global) instead of the default ENTER (Result List)
Leftover of some experimenting I did a while back...
Post Reply