Toggle window Hotkey behavior

Discussion related to "Everything" 1.5 Alpha.
Post Reply
kilikilimanjaro
Posts: 1
Joined: Wed Sep 15, 2021 5:48 am

Toggle window Hotkey behavior

Post by kilikilimanjaro »

The toggle window hotkey in 1.4 would close and open the program, removing it from the task bar. The current behavior only toggles the window while keeping the icon in the tray.
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Toggle window Hotkey behavior

Post by void »

Please enable close_on_toggle:
  • In Everything 1.5, type in the following search and press ENTER:
    /close_on_toggle=1
  • If successful, close_on_toggle is shown in the statusbar for a few seconds.
I will set close_on_toggle to 1 by default for the next alpha update.
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Toggle window Hotkey behavior

Post by therube »

Could you explain this?
The toggle window hotkey
Is this a Windows hotkey or a hotkey in Everything?

And what behavior change are we to be seeing depending on the setting of, close_on_toggle ?
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Toggle window Hotkey behavior

Post by void »

Tools -> Options -> Keyboard -> Toggle Window Hotkey.

It is a user customizable hotkey to show the Everything window from anywhere in Windows.
There are three options, one to always make a new window, one to toggle the window and one to always show the window.


In Everything 1.4, toggle window would close the opened window.
In Everything 1.5, toggle window will currently minimize the opened window.

Minimizing might be more desirable as Everything will keep the search, view, file information, icons and thumbnails cached.

close_on_toggle=1 will close the shown window as in Everything 1.4.
close_on_toggle=0 will minimize the shown window.
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Toggle window Hotkey behavior

Post by raccoon »

Found a minor bug.

The command /toggle_window_key=19 does not take immediate effect. The Hotkey only becomes registered with Windows after opening the options dialog, or restarting Everything.

This is true in 1.4 and 1.5 alpha.
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Toggle window Hotkey behavior

Post by void »

This is a limitation with Everything.

A restart might be required for changes to take effect when using a /ini-setting=value search command.

To restart Everything:
  • In Everything, type in the following search and press ENTER:
    /restart
An alternative:
  • In Everything, type in the following search and press ENTER:
    about:config
  • change the following line:
    toggle_window_key=
    to
    toggle_window_key=19
  • Save changes and exit Notepad.
  • Accept the prompt in Everything to reload your configuration (restarts Everything)
Post Reply