zhiyiYo / PyQt-Frameless-Window

A cross-platform frameless window based on pyqt5, support Win32, Linux and macOS.
https://pyqt-frameless-window.readthedocs.io
GNU General Public License v3.0
482 stars 67 forks source link

Linux 下拖动窗口上部边框无法正常调整大小的问题 #160

Open XiaoYouChR opened 2 months ago

XiaoYouChR commented 2 months ago

Describe the bug

Environment

To Reproduce Peek 2024-08-11 14-01

Code

# Minimum code to reproduce the error
from PySide6.QtWidgets import QApplication
from qfluentwidgets.components.widgets.frameless_window import FramelessWindow

class MainWindow(FramelessWindow):
    def __init__(self, parent=None):
        super().__init__(parent)
        self.setMinimumSize(800, 600)

if __name__ == "__main__":
    import sys
    app = QApplication(sys.argv)
    w = MainWindow()
    w.show()
    sys.exit(app.exec())

Expected behavior 窗口应该被正常地调整大小