Skip to content

2.7.9 copies password instead of marked text from notes field into clipboard #10929

@foss-

Description

@foss-

Overview

Since installing 2.7.9 seeing behavior I find unexpected as follows:

Steps to Reproduce

  1. select entry that has some text in Notes field
  2. select some of that text and press CMD + C

Expected Behavior

The marked text should be copied to clipboard.

Actual Behavior

The password of the selected entry is copied to clipboard.

Context

The behavior has changed since 2.7.9 and there is a commit that may be relevant to this:
#10853

KeePassXC 2.7.9
macOS 14.5

Apparently the change was made with good intentions, but the current behavior is very unexpected. The reasoning is very simple: if content is selected and cmd+c is pressed the selection should be copied to clipboard. I would consider anything deviating from that simple logic as unexpected. cmd + c is copy. And when I right click on the marked text and select copy it is actually copied to clipboard. cmd+c should follow this.

Copying the password when an entry is selected and no text is marked is fine, but as soon as any other detail - e.g. username or note - is selected, cmd + c should copy that and not the password.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions