WebUI: Introduce a delay for context menu submenus #17163

Open
opened 2026-02-22 03:42:25 -05:00 by deekerman · 0 comments
Owner

Originally created by @teslasystemsx on GitHub (Sep 9, 2025).

qBittorrent & operating system versions

qBittorrent: 5.1.2
Host OS: Windows 10, but it doesn't matter
WebUI OS: Windows and I think other desktop OSes
Browser: Firefox 142

What is the problem?

There is an issue with context menus in WebUI. Let's assume, you want to copy a magnet link of some torrent. You make a right-click on it, move mouse cursor to 'Copy' menu item, and after that a submenu with available items appears. And here is the problem. I think, every user chooses the shortest path when moving a mouse cursor. And the shortest path to 'Magnet link' item is diagonal. But when you move the cursor diagonally, the submenu with available items will disappear.

Image

.
As a result, you should choose a "square angle" path to reach the needed item, i. e. you should remain on 'Copy' item while moving the cursor to submenu:

Image

Such behavior is very inconvenient and annoying. And this is because there is no any delay between hovering a mouse cursor over an item and appearing/disappearing of submenu.

This delay exists in every normal context menu implementation specifically to eliminate this problem. And I think it should be added here too.

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

.

Originally created by @teslasystemsx on GitHub (Sep 9, 2025). ### qBittorrent & operating system versions qBittorrent: 5.1.2 Host OS: Windows 10, but it doesn't matter WebUI OS: Windows and I think other desktop OSes Browser: Firefox 142 ### What is the problem? There is an issue with context menus in WebUI. Let's assume, you want to copy a magnet link of some torrent. You make a right-click on it, move mouse cursor to 'Copy' menu item, and after that a submenu with available items appears. And here is the problem. I think, every user chooses the shortest path when moving a mouse cursor. And the shortest path to 'Magnet link' item is **diagonal**. But when you move the cursor diagonally, the submenu with available items will disappear. <img width="587" height="389" alt="Image" src="https://github.com/user-attachments/assets/06b504df-8124-4854-9c56-8864f576a3c0" /> . As a result, you should choose a "square angle" path to reach the needed item, i. e. you should remain on 'Copy' item while moving the cursor to submenu: <img width="602" height="384" alt="Image" src="https://github.com/user-attachments/assets/075e6adf-a9b4-4793-a687-a57e52824131" /> Such behavior is very inconvenient and annoying. And this is because there is no any delay between hovering a mouse cursor over an item and appearing/disappearing of submenu. This delay exists in every normal context menu implementation specifically to eliminate this problem. And I think it should be added here too. ### Steps to reproduce _No response_ ### Additional context _No response_ ### Log(s) & preferences file(s) .
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#17163
No description provided.