-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qbittorrent tray icon issue with Qt5 5.11.1 #9240
Comments
Copying the logic from if (!m_forceExit && m_systrayIcon && goToSystrayOnExit && !this->isHidden()) {
- hide();
- e->accept();
+ e->ignore();
+ QTimer::singleShot(0, this, &QWidget::hide); |
I can confirm, I also have this issue. |
Can comfirm this too. |
Can confirm this issue too. As stated by @firew4lker, clicking |
@zeule Will you open a PR about this? If you don't want to, I can open too. |
Closes qbittorrent#9240 and possibly qbittorrent#9121, as @zeule suggested here: qbittorrent#9240 (comment).
Closes qbittorrent#9240 and possibly qbittorrent#9121, as @zeule suggested here: qbittorrent#9240 (comment).
This applies the fix qBittorrent used for this same issue: qbittorrent/qBittorrent#9240, so credit goes to those guys
* Fix blank window when restoring from systray This applies the fix qBittorrent used for this same issue: qbittorrent/qBittorrent#9240, so credit goes to those guys * Fix whitespace
qBittorrent version and Operating System
Version: 4.1.1
O.S.: Arch Linux
If on linux, libtorrent and Qt version
libttorrent: 0.13.7
Qt5: 5.11.1
What is the problem
If I open the application and close it to the system tray, if I click to restore it, the application doesn't show anything. No controls. Just a blank for. The application seems to function normally though (I can control Qbittorent from web interface). I also noticed that the issue occurs only when closing the application from the "x". If I bring up from the tray by clicking the icon it opens just fine. Once I close it to tray, using the "x", it wont restore normally.
This is the change that causes the issue:
http://code.qt.io/cgit/qt/qtbase.git/commit/?id=e0b5ff4a
The text was updated successfully, but these errors were encountered: