qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
25.9k stars 3.82k forks source link

Deletion Dialogs Should Match Operating System Conventions #10989

Open Enteleform opened 4 years ago

Enteleform commented 4 years ago

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 presses Enter or Escape, which means that three keystrokes are required to perform a deletion [Delete, Left, Enter].

qBittorrent dialog

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].

Windows Dialog

Steps to reproduce

Press the Delete key while a torrent entry is selected.

Extra info

Related Issues:

evan-king commented 4 years ago

I feel a little sad every time a new release comes out without updating this behavior. 😞