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)
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