qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
26.76k stars 3.87k forks source link

Qbittorent screen redimensioning problem #19164

Open dento35 opened 1 year ago

dento35 commented 1 year ago

qBittorrent & operating system versions

4.5.3 Edisyon Windows 10 Pro Sürüm 22H2 Yüklenme tarihi ‎15.‎10.‎2020 İS derlemesi 19045.2846 Deneyim Windows Feature Experience Pack 120.2212.4190.0

(10.0.19045)

What is the problem?

I am using 2 screens. first one 1920x1080 monitor second one led tv 4k. When i am switching to 4k tv windows automaticly changing desktop resolution to 4k and dimensioning all icons to bigger so everything is readible. When i swap to 1920x1080 monitor windows again dimensioning everything for 1920x1080 screen. After this if i open qbittorrent and enter to settings some parts of letters not redimensioning and can't readable. To solve this need to restart qbittorent.

Steps to reproduce

No response

Additional context

qbittorent error

Log(s) & preferences file(s)

No response

xavier2k6 commented 1 year ago

@dento35 Please download & use Qt6 version of qBittorrent.

Luomint commented 1 year ago

I am having the same issues, I was about to raise this myself, see my report please, I am having the same exact issues with the latest q6 version, I think it may even be an issue specific to q6 but I haven't tested that.

Title: Font size in qBittorrent doesn't readjust upon reconnecting a secondary monitor

Body:

qBittorrent version and Operating System:

qBittorrent version: 4.5.3 (Windows x64 lt20 qt6) Operating System: Windows 11 Home, Version 10.0.22621 Build 22621 Hardware:

System Model: Micro-Star International Co., Ltd. GF65 Thin 9SEXR Processor: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Graphics: Intel UHD 630 (driver version 31.0.101.2121, date 03/03/2023), Nvidia Geforce RTX 2060 (driver version 31.0.15.3203, date 19/05/2023) RAM: 40.0 GB Display Configuration:

Primary Display: 1920x1080 Secondary Display (HDMI): 2560x1440 What is the problem? When a secondary monitor is unplugged while qBittorrent is running on it, the application successfully moves to the primary display (1920x1080) and adjusts its font size accordingly. However, when the secondary monitor (2560x1440) is reconnected, qBittorrent moves back to the secondary monitor but retains the larger font size, which was suitable for the primary display but not for the secondary one.

What is the expected behavior? The font size should readjust to match the secondary monitor's higher resolution upon reconnection, similar to how it adjusts when manually moving the application between monitors.

Steps to reproduce:

Open qBittorrent on a secondary monitor (2560x1440). Unplug the secondary monitor. Observe that qBittorrent adjusts its font size when it moves to the primary display (1920x1080). Reconnect the secondary monitor. Note that qBittorrent does not readjust its font size when it moves back to the secondary monitor (2560x1440). Extra info(if any) This issue necessitates a manual restart of the application for the UI to return to its normal state.

Proposed solution For a better user experience, it's suggested that qBittorrent could either:

Dynamically adapt to monitor changes, resizing its interface accordingly without the need for a restart, or Provide an option in the settings to manually adjust the UI size or font size according to user preference. Your feedback and potential solutions to this issue would be highly appreciated.

Luomint commented 1 year ago

@dento35 Please download & use Qt6 version of qBittorrent.

Hello @xavier2k6, I believe all required information has been provided and the issue is ready for review. Could we consider changing the label from "waiting info" to a more appropriate one? Thank you.

xavier2k6 commented 1 year ago

@Luomint Can you run your Qt6 build under command prompt with the command qbittorrent -style fusion & report back.

Luomint commented 1 year ago

@xavier2k6,

I followed your instructions and ran the Qt6 build using the command qbittorrent -style fusion. Unfortunately, the font resizing issue persists upon reconnecting the secondary monitor. However, I did notice a significant improvement in the startup speed; the application launched more quickly, and it didn't need to re-index torrents.

Thanks for your help in trying to resolve this issue.