Skip to content
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

Double screen UI #15479

Closed
dbyoung720 opened this issue Sep 19, 2021 · 9 comments
Closed

Double screen UI #15479

dbyoung720 opened this issue Sep 19, 2021 · 9 comments
Labels
GUI GUI-related issues/changes OS: Windows Issues specific to Windows Qt bugs Bug resides in Qt library

Comments

@dbyoung720
Copy link

qBittorrent & operating system versions

qBittorrent: 4.3.8 x64
Operating system: Windows 10 Pro 21H1
Qt: 5.15.2
libtorrent-rasterbar: 1.2.14

What is the problem?

When double screen, place the window on the second screen and click the menu,
The submenu items run to the first screen.

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

@NotTsunami
Copy link
Contributor

Is this on the WebUI or the main program? And what submenus are you referring to exactly?

@dbyoung720
Copy link
Author

dbyoung720 commented Sep 19, 2021

main program
无标题
无标题

@xavier2k6
Copy link
Member

@dbyoung720 Can you try the windows build below, it is a test build based on 4.3.7 with more dpiaware support.

You can extract & run it in portable mode or replace both qBittorrent.exe & qBittorrent.pdb files where you currently have qBittorrent installed.

Test Build:

https://github.com/xavier2k6/qBittorrent/suites/3442116007/artifacts/81621389

@xavier2k6 xavier2k6 added the OS: Windows Issues specific to Windows label Sep 19, 2021
@dbyoung720
Copy link
Author

dbyoung720 commented Sep 19, 2021

无标题
无标题

@xavier2k6
Copy link
Member

@dbyoung720 ok, thanks for that feedback.

@dbyoung720
Copy link
Author

dbyoung720 commented Sep 19, 2021

I guess this is a Qt5 problem, not a bug in your program.
So this bug can't be modified at the moment.

@xavier2k6
Copy link
Member

xavier2k6 commented Sep 19, 2021

Possibly related Qt Bug: https://bugreports.qt.io/browse/QTBUG-84462, https://bugreports.qt.io/browse/QTBUG-84644 & https://bugreports.qt.io/browse/QTBUG-89165

(Supposedly fixed in Qt 5.15.1, we're using Qt 5.15.2)

I am still getting the same symptoms as this bug, but in QT-5.15.2. The thing is, it only seems to occur in one specific dialog.

If the dialog containing the QToolbutton is started on the left screen, when the tool button is clicked, QWindowPrivate::globalPosition() returns an invalid positon because one of the parent windows has invalid X and Y (different than the real coordinates seen by Spy++ for the same hwnd)

@xavier2k6
Copy link
Member

@dbyoung720 Do you still experience this with either qBittorrent 4.5.5 (Qt5) or qBittorrent 4.5.5 (Qt6) based builds?

@xavier2k6 xavier2k6 added the Waiting info Waiting for participants to supply more info/fulfill template requirements label Sep 27, 2023
@dbyoung720
Copy link
Author

There is no longer this issue in 4.5.5.

@thalieht thalieht removed the Waiting info Waiting for participants to supply more info/fulfill template requirements label Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI GUI-related issues/changes OS: Windows Issues specific to Windows Qt bugs Bug resides in Qt library
Projects
None yet
Development

No branches or pull requests

5 participants