mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Small visual glitches on High DPI display on Windows with Fusion style #16393
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#16393
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 @zenden2k on GitHub (Nov 25, 2024).
qBittorrent & operating system versions
qBittorrent: 5.0.2 x64
Operating system: Windows 11 Home SL x64 (24H2) 26100.2314
Qt: 6.7.3
What is the problem?
Some UI controls in the main window have no borders and dropdown menus have a double border.
The borders flicker when resizing.
Steps to reproduce
Additional context
Possible solution:
Set environment variable
QT_SCALE_FACTOR_ROUNDING_POLICY=RoundLog(s) & preferences file(s)
qBittorrent.txt
@sledgehammer999 commented on GitHub (Nov 27, 2024):
Why don't you switch to the "system" style?
Also
QT_SCALE_FACTOR_ROUNDING_POLICY=Roundwith a 1.25x scaling results in no scaling at all. Aka 1.0x scaling.Lastly, if this is indeed a visual bug, then it is a Qt bug. Nothing we can do about it.
@zenden2k commented on GitHub (Mar 17, 2025):
I find the Fusion style more attractive.
The developers themselves recommend using the Fusion style on Windows.
The only QT_SCALE_FACTOR_ROUNDING_POLICY values that make qBittorrent not look awful are 'Round' and 'Floor'.
I think this is not true. The qBittorrent interface still looks larger than without scaling.
100% scaling

125% scaling (with QT_SCALE_FACTOR_ROUNDING_POLICY=Round)

150% scaling (with QT_SCALE_FACTOR_ROUNDING_POLICY=Round)

You can call https://doc.qt.io/qt-6/qguiapplication.html#setHighDpiScaleFactorRoundingPolicy function to change the behavior.
@xavier2k6 commented on GitHub (May 12, 2025):
We had done below up until 5.0.0 release:
github.com/qbittorrent/qBittorrent@91943e4815/src/app/main.cpp (L115-L122)@xavier2k6 commented on GitHub (Jun 9, 2025):
@zenden2k How does qbittorrent 5.1.0 behave? & is it just the
fusionstyle that has this behavior?@zenden2k commented on GitHub (Jun 9, 2025):
The issue still exists in version 5.1.0.
It only affects the Fusion style.
@xavier2k6 commented on GitHub (Jul 22, 2025):
@zenden2k Please test qBittorrent 5.1.2 -> https://sourceforge.net/projects/qbittorrent/files/qbittorrent-win32/qbittorrent-5.1.2/
@zenden2k commented on GitHub (Jul 22, 2025):
@xavier2k6
Pop-up menus have started to look better, but in the main program window some borders are not rendered (including scrollbars).
@xavier2k6 commented on GitHub (Jul 22, 2025):
There were a few fixes related to Fusion style in newer Qt releases & some more to be officially released.....so will expect these kind of issues to get less & less.
@qBittUser commented on GitHub (Nov 17, 2025):
@zenden2k
Any improvement with v5.1.3?
@zenden2k commented on GitHub (Nov 20, 2025):
v5.1.4, still the same