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]: FramelessWindow 最大化后拖动窗口,不退出最大化 #180

Open
XFZAIMFQ opened this issue Feb 7, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@XFZAIMFQ
Copy link

XFZAIMFQ commented Feb 7, 2025

What happened?

点击最大化按钮后鼠标点击标题栏拖动窗口,窗户不会恢复正常,仍保持最大化.

Operation System

Windows24H2

Python Version

Python3.9.12

PyQt/PySide Version

PySide6 6.8.1.1

PyQt/PySide-Fluent-Widgets Version

PySide6-Fluent-Widgets 1.7.4

How to Reproduce?

Image

Minimum code

# coding: utf-8
import sys

from PySide6.QtWidgets import QApplication
from qfluentwidgets.components.widgets.frameless_window import FramelessWindow

class MainWindow(FramelessWindow):
    def __init__(self):
        super().__init__()
        self.setWindowTitle("拖动检测示例")
        self.resize(300, 400)


if __name__ == "__main__":
    app = QApplication(sys.argv)
    w = MainWindow()
    w.show()
    app.exec()
@XFZAIMFQ XFZAIMFQ added the bug Something isn't working label Feb 7, 2025
@zhiyiYo zhiyiYo transferred this issue from zhiyiYo/PyQt-Fluent-Widgets Feb 9, 2025
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

1 participant