mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Crash when changing display configuration while qBittorrent is minimized #10018
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#10018
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 @catalinp2004 on GitHub (Mar 30, 2020).
Please provide the following information
qBittorrent version and Operating System
qBittorrent v4.2.2 (64bit) on Macbook Pro 16" (2019)
Mac OS 10.15.4
Libraries:
Qt: 5.14.1
Libtorrent: 1.2.5.0
Boost: 1.72.0
OpenSSL: 1.1.1d
zlib: 1.2.11
What is the problem
qBittorrent crashes while minimized in the Dock Bar every time when changing video display configuration in Mac OS Catalina system preferences, such as adding / removing external monitor, switching between Mirror / Extended Displays, or changing main display. The issue does not occur if qBittorrent window is open (not minimized).
What is the expected behavior
qBittorrent should continue to run minimized, without crashing.
Steps to reproduce
a) Add / Remove external monitor (power on or off / plug or unplug)
- OR -
b) (With multi-display) open System Preferences > Displays > Arrangement > Check or uncheck Mirror Displays
- OR -
c) (With multi-display) open System Preferences > Displays > Arrangement > Change Main Monitor by dragging the white mini-taskbar from one display to another
qBittorrent crashes immediately.
Extra info
I've tried connecting external monitors with miniDisplay Port through a Caldigit USB-C Pro Docking Station as well as with HDMI through a passive USB-C dongle with exactly the same outcome, so it seems the dock or dongle used should not be a factor.
Stack Trace Gist:
https://gist.github.com/catalinp2004/7e41ca5826a36341a24558ed6067eaea
@Kolcha commented on GitHub (Mar 30, 2020):
will look into it today, seems to be a Qt bug
@Kolcha commented on GitHub (Mar 30, 2020):
some clarification: crash happens only when qBittorrent windows is closed (red "close" button was clicked), no window, but process still exists, new(?) window is created when icon is clicked. when app is minimized (yellow "minimize" button was clicked) crash doesn't happen, window just repainted.
according to attached callstack, this is Qt bug, I'll try to reproduce it on some small app.
@ghost commented on GitHub (Jul 17, 2022):
Issue was reported on a very old version. If anyone still experiencing this please comment to reopen or create a new ticket.