keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
20.01k stars 1.42k forks source link

Disabling TOTP in the preview disables the context menu for copying the code #10981

Open Almandor opened 6 days ago

Almandor commented 6 days ago

Overview

I don't want the TOTP not being visible to anybody just looking on my screen. But when I disable the TOTP in the Preview the TOTP and Copy Attribute elements in the context menu are grayed out.

Steps to Reproduce

  1. Add TOTP to one entry
  2. Open Settings - Security
  3. Select "Hide TOTP in the entry preview panel"
  4. Save the settings
  5. Right click on your Entry which has a TOTP
  6. Check status of TOTP and Copy Attribute

Expected Behavior

Should behave the same way as when the setting was not active. Both context menu entries should work.

Actual Behavior

Both context manu entries are disabled

Context

KeePassXC - Version 2.7.8 Revision: f6757d3 Distribution: Snap

Qt 5.15.11 Debugging mode is disabled.

Operating system: Ubuntu Core 22 CPU architecture: x86_64 Kernel: linux 6.8.0-35-generic

Enabled extensions:

Cryptographic libraries:

Operating System: Linux - Ubuntu Desktop Env: Gnome Windowing System: Wayland

varjolintu commented 5 days ago

Seems if you disable the setting after enabling it, the context menu entries will not activate again.