Skip to content

Copy password to clipboard button (toolbar) copies URL #7898

@Sikey

Description

@Sikey

Overview

When copying a password using the toolbar button ("Copy password to clipboard"), the URL of the entry is copied instead of the password.

The right-click context menu entry and Ctrl+C work fine.

Steps to Reproduce

  1. Select a database entry that includes a URL
  2. In the "General" tab below the list of entries, click on URL to open it in default browser
  3. Click toolbar button to copy password to clipboard
  4. Paste clipboard text <--- URL
  5. Copy password using context menu or Ctrl+C
  6. Paste clipboard text <--- password
  7. Click toolbar button to copy password to clipboard
  8. Paste clipboard text < --- password

Expected Behavior

The toolbar button should copy the password instead of the URL. Clicking the URL in "General" tab should not have an effect on the toolbar button's functionality.

Actual Behavior

The toolbar button to copy the password of an entry copies its URL instead under certain circumstances. After using another method (context menu, Ctrl+C), the toolbar button works fine.

Context

KeePassXC - 2.7.1
Revision: 5916a8f

Operating System: Windows 10 Version 2009

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions