It seems the
--toggle option only hides the 1Password window when it is the active window. Perhaps this is according to spec, but the description seems to imply otherwise ("...; it’ll hide or show itself every time."), as does the name "toggle".
When using this as a means to quickly hide a (currently not active but still (partially) visible) 1P window, this will fail if it happens to be not the active window, and only results in the full 1P window being brought to foreground instead - which possibly is the opposite of what someone would like to achieve.
1password --togglefrom terminal makes it the active window, and brings it to foreground
1password --togglejust makes 1P the active window again
1password --toggle; sleep 5; 1password --toggle, and then not moving the mouse to activate another window during the sleep will hide the window after 5 seconds.
1password --toggle; sleep 5; 1password --toggle, but then moving the mouse and activating another window during that 5 second sleep will just result in 1P being made active
Using Gnome 3.28 (default Gnome version on Ubuntu 18.04 LTS)
1Password Version: 8.0.33-53.BETA
Extension Version: Not Provided
OS Version: Ubuntu 18.04.5 LTS
Sync Type: Not Provided