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

[Bug]: Window cannot maximize as expected when system taskbar is not on the bottom. #135

Open
ridethepig opened this issue Nov 25, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@ridethepig
Copy link

What happened?

image
As you can see, the main window cannot maximize normally, leaving strange margins around the window.

However, it works as expected when the system taskbar is on the bottom. It also works well when DPI scaling is disabled as you can see below.
image
I suspect that this is related to the frameless window...

Another thing worth mentioning is that, if I maximize the window with Meta(Windows Logo) + Up shortcut, it works well again...

My monitor setting is: 2256*1504 with 175% scaling.

Operation System

Windows10 22H2

Python Version

3.11.0 amd64

PyQt/PySide Version

PyQt 5.15.10

PyQt/PySide-Fluent-Widgets Version

1.4.0

How to Reproduce?

Pull your taskbar to the left/right/top, run the gallery demo(/examples/gallery/demo.py), and then maximize it.
Remind the dpi setting

Minimum code

# It is the gallery demo in the example code.
@ridethepig ridethepig added the bug Something isn't working label Nov 25, 2023
@zhiyiYo
Copy link
Owner

zhiyiYo commented Nov 26, 2023

应该是无边框窗口的问题,但是我没有 Win10 系统,测试不了

@zhiyiYo zhiyiYo transferred this issue from zhiyiYo/PyQt-Fluent-Widgets Nov 26, 2023
@AlexZhu2001
Copy link
Contributor

在Win10 22H2,1920*1080,DPI: 100%, 110%, 125%, 175%均无法复现,是不是因为分辨率太奇怪导致的

@ridethepig
Copy link
Author

Well, it is possible... Maybe some tricky corner case, and I suspect Windows is to blame
But I am no longer using this framework, thank you anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants