Skip to content

Cannot set Function keys (F1, F2, F3, F4...) as shortcut to run tests #820

@hsandt

Description

@hsandt

Versions

(list all versions where you have replicated the bug)

The Bug

I want to assign a function key, in my case F4 to a command, here Run Current Set. However I cannot make it recognized in the Shortcuts panel, it stays "". Using modifiers (Ctrl, Shift...) in combination works, though.

Steps To Reproduce

  1. Open Shortcuts panel
  2. Click on Run Current Test "Set" button =? shows "press buttons"
  3. Type F4
  4. Notice how message just reverts to "" instead of "F4", but you can still see the Cancel button being active
Image
  1. Repeat 3 but type Ctrl+F4 or Shift+F4 or Alt+F5 (don't try Alt+F4, it will close the window! And Alt+F1 etc. may be taken by Nvidia or whatever...)
Image

(but Shift+F4 is Uppercase in code editor which will capture the input event and defeat the point of having a global shortcut)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions