Skip to content

Ctrl+A doesn't work in GUI runner's filter edit #349

@PRRB

Description

@PRRB

Ctrl+C, Ctrl+V, Ctrl+X etc. all work as expected, but Ctrl+A does not?
I seem to run into this issue surprisingly often.

Can be worked around with an OnKeyDown listener - not sure that's an appropriate fix though, doesn't address why it's not working in the first place. It should be native behavior form the underlying control right? Something is interfering with that?

procedure TGUIVCLTestRunner.edtFilterKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
begin
  if (Shift = [ssCtrl]) and (Key = vkA) then
    edtFilter.SelectAll;
end;

I use D10.4UP2, if that's relevant, and this is with latest Commit d9dca12 2024-07-29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions