Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search entry: respect shortcut config on Copy key #10882

Merged
merged 1 commit into from
Jun 16, 2024

Conversation

c4rlo
Copy link
Contributor

@c4rlo c4rlo commented Jun 11, 2024

If the system Copy key sequence (i.e. Ctrl+C or Cmd+C) is pressed while inside the search entry without any text being selected, previously we would copy the currently selected entry's password. This made sense when keyboard shortcuts were fixed. Now that they are configurable, change it to re-route the event to the main window, which can then take the appropriate action (i.e. Ctrl+C might be bound to some other action).

I originally had this as part of #10853, but decided it makes more sense as its own PR.

Testing strategy

Confirmed that existing tests cover this case (and tweaked them a tiny bit).

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

@c4rlo
Copy link
Contributor Author

c4rlo commented Jun 11, 2024

CodeQL failure seems to be a GitHub issue:

GitHub Actions has encountered an internal error when running your job.

@c4rlo c4rlo marked this pull request as draft June 12, 2024 06:24
@c4rlo c4rlo marked this pull request as ready for review June 13, 2024 19:51
@droidmonkey droidmonkey added this to the v2.8.0 milestone Jun 16, 2024
If the system Copy key sequence (i.e. Ctrl+C or Cmd+C) is pressed while
inside the search entry without any text being selected, previously we
would copy the currently selected entry's password. This made sense when
keyboard shortcuts were fixed. Now that they are configurable, change it
to re-route the event to the main window, which can then take the
appropriate action (i.e. Ctrl+C might be bound to some other action).
@droidmonkey droidmonkey modified the milestones: v2.8.0, v2.7.9 Jun 16, 2024
@droidmonkey droidmonkey merged commit 24dc078 into keepassxreboot:develop Jun 16, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants