Skip to content

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

@XiaoYouChR

Description

@XiaoYouChR

Describe the bug

Environment

  • OS:Manjaro Linux 6.9.12-1-MANJARO X11 (KDE Plasma 6.0.5)
  • DPI scaling: 100%
  • Python: 3.11.9 64-bit
  • PySide6: 6.7.2

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
窗口应该被正常地调整大小

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions