Bookmark from Command line issue

Discussion related to "Everything" 1.5 Alpha.
Post Reply
froggie
Posts: 301
Joined: Wed Jun 12, 2013 10:43 pm

Bookmark from Command line issue

Post by froggie »

I have a bookmark named test1 that contains this command: /explore "E:\User\Desktop\"

I call it from a .bat file with the command: "P:\Everything 1.5a\Everything64.exe" -bookmark "test1"

If there is an open Everything window, it opens the folder tree and selects E:\User\Desktop\ as it should

If there is no open Everything window, it opens one and just displays the folder tree with nothing selected, ignoring E:\User\Desktop\
(If I then run the .bat again it shows E:\User\Desktop\, since there is now an open Everything window.)
horst.epp
Posts: 1445
Joined: Fri Apr 04, 2014 3:24 pm

Re: Bookmark from Command line issue

Post by horst.epp »

I guess the suggested installation of Everything will solve hat.
There is always Everything in the background.
void
Developer
Posts: 16744
Joined: Fri Oct 16, 2009 11:31 pm

Re: Bookmark from Command line issue

Post by void »

Thank you for the issue report froggie,

This issue has something to do with setting the bookmark index to local database.

Please try changing the bookmark index to: (No change)

I am working on a fix..
froggie
Posts: 301
Joined: Wed Jun 12, 2013 10:43 pm

Re: Bookmark from Command line issue

Post by froggie »

void wrote: Fri Aug 18, 2023 8:31 am Please try changing the bookmark index to: (No change)
That works! Thanks.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Bookmark from Command line issue

Post by NotNull »

void wrote: Fri Aug 18, 2023 8:31 am This issue has something to do with setting the bookmark index to local database.
How the heck did you figure this out? Try all bookmark settings? Analyze the code? Intuition?
(my assumption was some racing condition ..)

That is a skill I would love to have!
void
Developer
Posts: 16744
Joined: Fri Oct 16, 2009 11:31 pm

Re: Bookmark from Command line issue

Post by void »

I was trying to reproduce the issue with no luck.

Setting the folder sidebar selection gets added to a queue if the database is not loaded.

The bookmark changing the index was the first thing that came to mind that might cause the issue.

I still don't know the exact cause, I'll look into it more today..
void
Developer
Posts: 16744
Joined: Fri Oct 16, 2009 11:31 pm

Re: Bookmark from Command line issue

Post by void »

Everything 1.5.0.1356a fixes an issue with opening a bookmark that changes the index.
Post Reply