Launching 1Password from browser extension, should open the window on the same screen as the browser
Currently, the 1Password window will launch on the screen it was last used. There are two cases where that behavior is inconvenient:
1. When the browser window that launches 1Password (via the extension) is on a different screen.
2. When launching from the OS dock which is on a different screen.
In those two cases, the simplest solution may be to launch the window on the screen where the cursor is contained. For electron, something like this may work:
let cursor = screen.getCursorScreenPoint(); let distScreen = screen.getDisplayNearestPoint({x: cursor.x, y: cursor.y});
It uses the screen
api.
Source: Stack Overflow
0
Comments
This discussion has been closed.