Menu| Index

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Menu| Index

Post by Stamimail »

Consider add "Index options..." command to Index menu. It will be a shortcut to open "Everything Options" dialog on Indexes tab.
Image

I was trying to make new indexes and load them,
but I couldn't find new/load index commands under Index menu.

Tried also to use:
Indexes tab > Database location: > Browse...

I think there is a bug, since it is leaving a Everything.tmp file behind.
In Browse dialog, Select file is expected rather than Select Folder.
I think it also fails to load the new database, and I can't switch between databases.
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Menu| Index

Post by void »

I will consider a Index Options menu item under the main Index menu.
Thank you for the suggestion.


I was trying to make new indexes and load them,
but I couldn't find new/load index commands under Index menu.
Everything doesn't support loading different databases.
You can add/remove volumes from your indexes under Tools -> Options -> Indexes.


I think there is a bug, since it is leaving a Everything.tmp file behind.
Everything doesn't move any files when changing the database location.
The Everything database is saved to disk when you exit Everything or daily at 4 am (if this auto save is missed, the next time an Everything window is closed).

Everything.db.tmp files are created when the database is being saved to disk.
Everything.db.tmp is a partial database.
Everything.db.tmp is renamed to Everything.db when the database is completely written to disk.
You can safely delete Everything.db.tmp files. (they might exist if Everything is terminated when it was saving the database to disk)
They will also be overwritten the next time Everything saves the database to disk.
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Menu| Index

Post by Stamimail »

Everything doesn't support loading different databases.
You can add/remove volumes from your indexes under Tools -> Options -> Indexes.
I think I'm looking for how to do multiple index configurations and switch between them from within Everything UI, without using Everything instances.
The case is, when you need to switch and change the configuration of the index from time to time (include / exclude), and you want not to touch your regular configuration and database, so you want to switch to another index configuration and database.
Everything.db.tmp
Everything (1.5a) 1.5.0.1282a (x64)
My steps were:
1. Indexes tab > Database location: > Browse...
2. New folder
3. Select Folder
4. OK
5. File > Exit

I get 2 files:
Everything-1.5.0.1282a.x64\New folder\Everything.tmp
Everything-1.5.0.1282a.x64\New folder\Everything-1.5a.db

Everything.tmp is not auto deleted.
therube
Posts: 4972
Joined: Thu Sep 03, 2009 6:48 pm

Re: Menu| Index

Post by therube »

without using Everything instances
Why would you not want to do that?

You could even automate something to create (for the initial or for the recreation of) a "mule" instance.

Code: Select all

@echo off

MD        mule
pause

COPY /Y  "Everything-15.db"	    "mule\Everything-mule.db"
pause
::exit

COPY /Y  "Everything-15.ini"	    "mule\Everything-mule.ini"
COPY /Y  "Plugins-15.ini"	    "mule\Plugins-mule.ini"
COPY /Y  "Run History-15.csv"	    "mule\Run History-mule.csv"
COPY /Y  "Search History-15.csv"    "mule\Search History-mule.csv"

COPY /Y  "Everything.exe"	    "mule\Everything.exe"

CD mule
cmd /c start everything -instance mule
exit
(Be aware of what's happening there.)
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Menu| Index

Post by Stamimail »

1. Switching the Index configuration via the UI should be faster and more easy and intuitive for the regular user. (no command line)
2. When using multiple instances, changes of Style configuration (colors, columns, sort ...) in one instance will not be applied on other instance.
You want the UI to be the same, only the index (db) will be replaced.

By the way, the opposite is also true, sometimes you want to switch the Style configuration only, and keep the Index configuration.
For example, for the same index (db), you want to switch between:
Style1 = Thumbnails view (no Preview Pane)
Style2 = Details view + Preview Pane
Style3 = Details view + Preview Pane (different sizing)

Taking it further, you will be able to use the search bar as a command line, and change the style by a command:
/everything_style = Style1
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Menu| Index

Post by void »

I will consider an index profile.
Thanks for the suggestion.
Everything.tmp is not auto deleted.
This file is used for a write test when using a custom database location.
Due to a bug, the file is not deleted.
This will be fixed in the next alpha update.
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Menu| Index

Post by void »

Everything 1.5.0.1283a fixes an issue with removing the Everything.tmp file when using a custom database location.
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Menu| Index

Post by Stamimail »

By the way, the opposite is also true, sometimes you want to switch the Style configuration only, and keep the Index configuration.
Maybe it can be achieved by Bookmarks:
At the bottom of "New Bookmark" dialog-box, will be a text-box for Advanced INI options.
A user will be able to copy/paste entries from Everything.ini to this text-box.

For toggling styles case:
If a Bookmark is launched by a "Keyboard shortcut", Everything will save in memory the INI entries that are going to be changed, so that the user will be able to switch old/new styles back/forward (toggle) by pressing the same Bookmark Keyboard shortcut again and again.
Post Reply