Open anrxc opened 9 months ago
Can reproduce the issue. I put my Windows task bar to the left of screen, and OBS Studio window will shift right after unmaximizing. Windows 10
Edit: After more test, I found out the issue only happens if task bar is on top/left, not happening if it's on bottom/right.
@anrxc when saying "now shifts", did it not shift in prior versions? Could you specify which version is the last where it didn't shift and which is the first where it does shift?
As a data point, I've tested again 29.0b3 (compiled against qt6.4.1) and it does not occur there. This is likely a regression in Qt.
EDIT: Confirmed it also does not occur in 29.1.3 (Qt 6.4.3)
This may be partially QTBUG-123752.
QTBUG-123752 will be fixed in Qt 6.7.3 and 6.8+, which should be available for us to use sometime later this year or next year.
Operating System Info
Windows 10
Other OS
No response
OBS Studio Version
30.0.0
OBS Studio Version (Other)
No response
OBS Studio Log URL
None
OBS Studio Crash Log URL
No response
Expected Behavior
Window returns to exact position in which it was before being maximized.
Current Behavior
When window is maximized and then un-maximized the window position of OBS Studio shifts by several pixels downwards.
If I was to guess, I would guess that for every maximize toggle the window position shifts by the pixel count of the current height of the Windows 10 taskbar.
Steps to Reproduce
Anything else we should know?
No response