File size & date lost after Rename

Discussion related to "Everything" 1.5 Alpha.
Post Reply
therube
Posts: 4640
Joined: Thu Sep 03, 2009 6:48 pm

File size & date lost after Rename

Post by therube »

File size & date lost after Rename (& out of the blue).
(And not really concerned, simply noting, & haven't seen anything like it in ages.)


all i did was to prefix the filenames (with 069801x - )
so nothing special
4 files affected, 2 on T:, 2 on W:

the first pair just "worked"
then, a slight delay
then the other pair "painted"
1 correctly, 1 missing size & date

sha-1 & width Properties (& name & path) correctly display (in all 4)

new window & search, same
with a copy/paste of said file, the new copy has expected data

renaming the file was enough to "fix" it
file name (path+name) was only 133 chars, so not a LFN


This was after the fail, but maybe holds something?:

Code: Select all

disconnected from service
Everything: 1.5.0.1367a (x86)
OS: Windows NT 6.1 7601 (x64)
Admin: 0
Service: 6 (connected / partially installed)
Command line: -instance PICTURES
Binary: C:\DEV\Locate\PICTURES\Everything.exe
Profile: C:\DEV\Locate\PICTURES\Everything-PICTURES.ini
Database: C:\DEV\Locate\PICTURES\Everything-PICTURES.db
Instance: PICTURES
Config: match_path=1
Config: ignore_punctuation=1
Config: show_mouseover=0
Config: dupe_group_colors=1
Config: group_lines=1
Config: group_colors=1
Config: highlight_max_or_paths=256
Config: zoom=134
Config: statusbar_selected_item_format=$o items | Size: $s | $m | $p
Config: auto_include_fixed_volumes=0
Config: auto_remove_offline_ntfs_volumes=0
Config: auto_move_ntfs_volumes=0
Config: auto_move_refs_volumes=0
Config: auto_move_fat_volumes=0
Config: find_first_file_path_not_found_retry_timeout=30000
Config: icon_blend_hidden=1
Config: thumbnail_medium_text_lines=3
Config: thumbnail_large_text_lines=2
Config: open_many_files_warning_threshold=9
Config: set_foreground_window_attach_thread_input=0
Config: snap_toggle_on_shift=1
Config: rename_overwrite=1
Config: keep_result_focus_in_view=0
Config: tabs_high=22
Config: paste_multiline_type=2
Config: allow_literal_operators=1
Config: convert_forward_slash_to_backslash=1
Config: match_whole_filename_when_using_wildcards=0
Config: operator_precedence=1
Config: size_format=1
Config: size_number_format=4
Config: ellipsis=0
Config: jump_to_timeout=99999
Config: folder_rescan_timeout=60000
Config: find_and_select_clear_selection=0
Config: find_and_select_select_folders=0
Config: find_and_select_select_files=0
Config: context_menu_parent_folder=1
Config: custom_open_command01=$exec("C:\BIN\XXhash64.BAT" %*)
Config: custom_open_command02=$exec("C:\BIN\i_view32.exe" %* /thumbs)
Config: custom_open_command03=$exec("C:\DEV\WinMerge\WinMergeU.exe" %*)
Config: custom_open_command04=$exec("C:\BIN\I_View-THUMBS.bat" %*)
Config: custom_open_command05=$exec("C:\WLIB\PLAYERS\mpv.net\mpvnet.exe" %*)
Config: filter=PICTURE
Config: preview_icon=1
Config: findbar_highlight_all=0
Config: search_for_text_when_you_start_typing=1
Config: search_history_always_suggest=1
Config: ntfs_volumes=...
Config: properties=[{"name":"SHA-1","include_only_files":"*.ani;*.apng;*.bmp;*.b
pg;*.cur;*.gif;*.ico;*.jfi;*.jfif;*.jif;*.jpe;*.jpeg;*.jpg;*.pcx;*.png;*.psb;*.p
sd;*.rle;*.svg;*.tga;*.tif;*.tiff;*.webp;*.wmf"}]
...
SHCNE 00040000
COMMAND 41006
MoveFile:
T:\...\06981x - R_002.jpg
to:
T:\...\06981x - R_00222.jpg
update m 6 0edfd920
try rename: 1:
T:\...\06981x - R_002.jpg
to:
T:\...\06981x - R_00222.jpg
update index T:
USN RENAME_OLD_NAME 06981x - R_002.jpg
USN RENAME_NEW_NAME 06981x - R_00222.jpg
USN CLOSE RENAME_NEW_NAME 06981x - R_00222.jpg
read usn journal T: in 0.001048 seconds
updated T: in 0.000658 seconds
resume ntfs monitor 6
POST _db_indexed_property_request_available_event_proc
_db_indexed_property_request_available_event_proc 0
processed 2 usn records in 0.000776 seconds
DB_WAIT: _db_indexed_property_request_available_event_proc waiting for _db_monit
or_ntfs_process_fd_update_events_thread_proc...
DB_WAIT: _db_indexed_property_request_available_event_proc waited 0.000419 secon
ds
indexed property request session created 1
new results 21
new results 2
_db_indexed_property_request_available_event_proc 0
...
MoveFile:
C:\DEV\Locate\PICTURES\Search History-PICTURES.csv.tmp
to:
C:\DEV\Locate\PICTURES\Search History-PICTURES.csv
MoveFile:
C:\DEV\Locate\PICTURES\Everything-PICTURES.ini.tmp
to:
C:\DEV\Locate\PICTURES\Everything-PICTURES.ini
update index C:
USN CREATE Search History-PICTURES.csv.tmp
USN DATA_EXTEND CREATE Search History-PICTURES.csv.tmp
USN CLOSE DATA_EXTEND CREATE Search History-PICTURES.csv.tmp
USN CLOSE DELETE Search History-PICTURES.csv
USN RENAME_OLD_NAME Search History-PICTURES.csv.tmp
USN RENAME_NEW_NAME Search History-PICTURES.csv
USN CLOSE RENAME_NEW_NAME Search History-PICTURES.csv
USN CREATE Everything-PICTURES.ini.tmp
USN DATA_EXTEND CREATE Everything-PICTURES.ini.tmp
USN CLOSE DATA_EXTEND CREATE Everything-PICTURES.ini.tmp
USN CLOSE DELETE Everything-PICTURES.ini
USN RENAME_OLD_NAME Everything-PICTURES.ini.tmp
USN RENAME_NEW_NAME Everything-PICTURES.ini
USN CLOSE RENAME_NEW_NAME Everything-PICTURES.ini
read usn journal C: in 0.005112 seconds
updated C: in 0.000507 seconds
resume ntfs monitor 0
DB_WAIT: _db_journal_notification_event_proc waiting for _db_monitor_ntfs_proces
s_fd_update_events_thread_proc...
processed 5 usn records in 0.000296 seconds
DB_WAIT: _db_journal_notification_event_proc waited 0.000817 seconds
processed 5 usn records in 0.000177 seconds
DB_WAIT: _db_monitor_finished_process_fd_update_events_event_proc waiting for _d
b_monitor_ntfs_process_fd_update_events_thread_proc...
DB_WAIT: _db_monitor_finished_process_fd_update_events_event_proc waited 0.00048
4 seconds
destroy ui
fileinfo clear all
preview thread exit
WM_ACTIVATE 00000001 00000000, lastfocus 061e23bc, current focus 00000000, curre
nt foreground 11ee2e60
WM_ACTIVATE MINIMIZED 0
FOCUS 0
FOCUS restore 061e23bc
FOCUS restore 061e23bc
WM_ACTIVATE 00000000 00000000, lastfocus 061e23bc, current focus 061e23bc, curre
nt foreground 05371f94
WM_ACTIVATE MINIMIZED 0
(Have a pic, but forgot to copy it, so...)
void
Developer
Posts: 15480
Joined: Fri Oct 16, 2009 11:31 pm

Re: File size & date lost after Rename

Post by void »

This issue is related to the newer OpenFileByID monitoring.

The next alpha update (1367+) will revert back to reading ntfs file records.
Everything 1367+ will only use OpenFileByID when reading the ntfs file record fails.
Post Reply