Deleting a torrent entry brings up a dialog box in which the Cancel button is the initially focused UI element. This results in the deletion being canceled regardless of whether the user presses Enter or Escape, which means that three keystrokes are required to perform a deletion [Delete, Left, Enter].
What is the expected behavior
The deletion dialog should match the conventions of the target operating system.
Windows 10:
The deletion dialog box should have the OK button as the initially focused UI element, as implemented in Windows Explorer. This allows a keypress of Enter to confirm the deletion, and Escape to cancel the deletion; which reduces the process of confirmed-deletion to two keystrokes [Delete, Enter].
Steps to reproduce
Press the Delete key while a torrent entry is selected.
qBittorrent version and Operating System
What is the problem
Deleting a torrent entry brings up a dialog box in which the
Cancel
button is the initially focused UI element. This results in the deletion being canceled regardless of whether the user pressesEnter
orEscape
, which means that three keystrokes are required to perform a deletion [Delete
,Left
,Enter
].What is the expected behavior
The deletion dialog should match the conventions of the target operating system.
Windows 10:
The deletion dialog box should have the
OK
button as the initially focused UI element, as implemented in Windows Explorer. This allows a keypress ofEnter
to confirm the deletion, andEscape
to cancel the deletion; which reduces the process of confirmed-deletion to two keystrokes [Delete
,Enter
].Steps to reproduce
Press the
Delete
key while a torrent entry is selected.Extra info
Related Issues:
9932
10362