bitwarden / clients

Bitwarden client apps (web, browser extension, desktop, and cli).
https://bitwarden.com
Other
9.01k stars 1.18k forks source link

Windows vault timeout forces window to foreground #7505

Open zeeZ opened 8 months ago

zeeZ commented 8 months ago

Steps To Reproduce

  1. Set vault timeout to 1 minute, action to Lock
  2. Put focus on another window without minimizing the Bitwarden client
  3. Wait until the vault locks: the client will come to the foreground and take focus away from the current window

Expected Result

The client should lock without taking away focus from the current window

Actual Result

After the timeout, the Bitwarden client returns to the foreground and becomes the focused window, capturing keyboard input

Screenshots or Videos

No response

Additional Context

Does not occur when minimizing the window

Operating System

Windows

Operating System Version

Windows 10 Business Version 10.0.19045 Build 19045

Installation method

Microsoft Store

Build Version

2023.12.1

Issue Tracking Info

Krychaz commented 8 months ago

Hi there,

Thank you for your report!

I was able to reproduce this issue, and I have flagged this to our engineering team.

If you wish to add any further information/screenshots/recordings etc., please feel free to do so at any time - our engineering team will be happy to review these.

Thanks once again!

denisbrodbeck commented 7 months ago

Same behavior here with the latest Bitwarden Desktop Client on current Windows 11 Pro (my Install is via Download from the homepage). I have Windows Hello integration enabled.

This post on reddit describes exactly the same behavior.

Bitwarden auto-locks the vault and jumps into foreground, even when full-screen Apps like Video is open.

oeloo commented 3 months ago

I have this problem too: BW for Windows pops up every time the unlock times out. This is very annoying as BW for Windows disturbs you whenever you are focused on your work! For example: 1/ You open BW for Windows and log on to your account to be able to open your work 2/ As the timeout is set to 15mn for security reasons, after 15mn the BW for Windows stops being unlocked, but instead of doing this silently as it should, it is pushing BW for Windows application in front of the user !!! image

There is no reason to annoy the user. This behavior makes no sense. Please fix this Here are my settings: image

A workaround is to disable the ask for Windows prompt option. But even when enable, BW for Windows should never behave like this.