Skip to content

cannot copy TOTP attributes to clipboard #1569

@tycho

Description

@tycho

The Copy attribute to clipboard > TOTP Seed and Copy attribute to clipboard > TOTP Settings menu options don't seem to work correctly.

Expected Behavior

I would expect that the Seed/Settings get copied to the clipboard as the name on the tin would indicate.

Current Behavior

The clipboard appears to be cleared when these menu options are used.

Possible Solution

Unknown.

Steps to Reproduce (for bugs)

  1. Test the clipboard first, by copying something to the clipboard and pasting it
  2. Right click an entry in the list with a TOTP seed tied to it
  3. Select Copy attribute to clipboard > TOTP Seed
  4. Try pasting, and note that nothing is pasted -- not even the test string from step 1. The clipboard appears to have been set to an empty string?

Context

It doesn't bother me, as I don't use the feature. But I noticed it wasn't working when I tried it wondering what it would copy.

Debug Info

KeePassXC - Version 2.3.0-snapshot
Build Type: Snapshot
Revision: 3f7f1aa

Libraries:

  • Qt 5.10.1
  • libgcrypt 1.8.2

Operating system: Arch Linux
CPU architecture: x86_64
Kernel: linux 4.15.5-1-hsw

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • YubiKey

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions