mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Hovering over the context menu in the tray triggers a click without a physical click #16354
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#16354
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stalkerok on GitHub (Nov 14, 2024).
qBittorrent & operating system versions
What is the problem?
Hovering over the context menu in the tray triggers a click without a physical click.
It may not be reproducible the first time, I had to try my best to get it on video and it didn't get too long.
qBittorrent v5.0.1 (64-bit)
https://github.com/user-attachments/assets/acd1df10-ee83-4d61-a8ac-73f707693c01
qBittorrent v5.1.0alpha1 (64-bit) / CI # 6835
https://github.com/user-attachments/assets/be75182d-6add-427d-9c7f-c34274bcf19c
Steps to reproduce
Start qBittorrent (default settings).
Change the style to Fusion.
Change the window state at startup to hidden.
Close qBittorrent.
Start qBittorrent, in the tray context menu hover the mouse over any action such as close.
qBittorrent will be closed without physical click.
Additional context
No response
Log(s) & preferences file(s)
No response
@stalkerok commented on GitHub (Nov 14, 2024):
@glassez @Chocobo1 @xavier2k6
Please pay attention to this. The client closed twice on the server, and if the first time I thought that I accidentally clicked “Exit”, the second time I realized that it was a serious bug. That said, I try not to restart the client on the server unnecessarily.
@xavier2k6 commented on GitHub (Nov 15, 2024):
I haven't observed this, can't seem to reproduce but will keep an eye on it.
@glassez commented on GitHub (Nov 15, 2024):
@stalkerok
I can't reproduce it either. There is a chance that these are problems with the system or hardware. Do you have the opportunity to test it on another one?
@stalkerok commented on GitHub (Nov 15, 2024):
This was reproducible on two PCs: the server and my home PC. Unfortunately, it is not so easy to reproduce.
@stalkerok commented on GitHub (Nov 15, 2024):
I was able to reproduce this on a third machine. You should try, it is quite reproducible.
@stalkerok commented on GitHub (Dec 1, 2024):
This seems to be a Qt6 bug. I reproduced this on official 4.6.7 with Qt 6.4.3 and could not reproduce on official 4.5.5 with Qt 5.15.10, on 4.6.7 Enhanced with Qt 5.15.15, on 4.6.7 with Qt 5.15.2.
lol I reproduced this even on 4.4.5 with Qt 6.3.0
@PoMcku commented on GitHub (Dec 2, 2024):
qBittorrent v5.0.1 (64-bit)
Qt: 6.7.3
Libtorrent: 1.2.19.0
Boost: 1.86.0
OpenSSL: 3.4.0
zlib: 1.3.1
Windows 10 22H2
Reproduced it too.
https://github.com/user-attachments/assets/4a5db5e1-3779-4c59-9115-84406a39dc6e
@xavier2k6 commented on GitHub (Dec 4, 2024):
@stalkerok I still can't reproduce this, have you tested older Qt6.x builds to determine if it was there since day one or if a later update introduced this? How does Qt 6.8.1 behave?
@stalkerok commented on GitHub (Dec 4, 2024):
Below Qt 6.3.0 I have not tested.
I think unchanged (not tested).
@glassez commented on GitHub (Dec 4, 2024):
What version of Windows did you test it on? 10 or 11?
As I can see both people who are affected by this issue are under Windows 10, right?
@xavier2k6 commented on GitHub (Dec 4, 2024):
10 (22H2)
Correct
@xavier2k6 commented on GitHub (Dec 4, 2024):
Here are master builds with Qt 6.5.x -> Qt 6.8.1
https://github.com/xavier2k6/qBittorrent/actions/runs/12139289114
@xavier2k6 commented on GitHub (Dec 4, 2024):
Maybe, there is some missing steps/setting....(other software interference)
@stalkerok commented on GitHub (Dec 4, 2024):
I tested this on different versions of W10, on different machines, on the touchpad (without using the mouse). There are no issues with Qt 5.
https://github.com/user-attachments/assets/d27fb29c-c73e-460d-975d-7ab78ba0a67a
qBittorrent v5.1.0alpha1 (64-bit) https://github.com/xavier2k6/qBittorrent/actions/runs/12139289114/artifacts/2267182363
Qt: 6.8.1
Libtorrent: 2.0.11.0
Boost: 1.86.0
OpenSSL: 3.4.0
zlib: 1.3.1
@xavier2k6 commented on GitHub (Dec 4, 2024):
There does seem to be an issue alright, but I think the repro steps are incorrect (investigating)
@xavier2k6 commented on GitHub (Dec 4, 2024):
@glassez Qt 6.8.1 seems to bring the issue to the forefront quite easily.
minimizeon main windowset global speed limitswindow should pop-upred xon this window instead ofokbutton, every time you right click in tray,set global speed limitswindow will keep popping-upokbutton onset global speed limitswindow & all should be ok again unlessred xis clicked......@glassez commented on GitHub (Dec 8, 2024):
I am able to reproduce it with Qt 6.8.1.
For me, a necessary and sufficient condition for its reproducibility is the fact that the main window is "manually" minimized (while it does not necessarily have to remain minimized). After that, when the tray menu is shown, it appears directly under the cursor, which triggers the menu item that ids placed under the cursor.