zhiyiYo / PyQt-Fluent-Widgets

A fluent design widgets library based on C++ Qt/PyQt/PySide. Make Qt Great Again.
https://qfluentwidgets.com
GNU General Public License v3.0
5.54k stars 533 forks source link

加入QWebEngineView后,窗体不能用鼠标通过边框调整大小 #303

Closed henry989-hub closed 1 year ago

henry989-hub commented 1 year ago

Describe the bug 加入QWebEngineView后,会破坏窗体的外观(例如四个角从圆弧变成了直角),窗体不能用鼠标通过边框调整大小。

Environment 环境信息

To Reproduce

  1. 只要添加QWebEngineView,就会出现描述中的问题,注释掉后问题消失。 1687662636685

Code 最小复现代码

# Minimum code to reproduce the error
        frame = QWebEngineView(self)
        # url = QUrl("http://www.baidu.com/")
        # frame.setUrl(url)
        self.addExampleCard(
            title=self.tr('A WebView'),
            widget=frame,
            sourcePath='https://github.com/zhiyiYo/PyQt-Fluent-Widgets/blob/PySide6/examples/web_view/demo.py'
        )

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

zhiyiYo commented 1 year ago

pyside确实有这个问题,如果不商用的话换成 pyqt5 就能解决

henry989-hub commented 1 year ago
非常感谢您的确认,那我换个环境算了。 本来还觉得奇怪,后来在样例里面加这一行就出现这个问题了。

@. | ---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2023年6月25日 11:46 | | 收件人 | @.> | | 抄送人 | @.> , @.***> | | 主题 | Re: [zhiyiYo/PyQt-Fluent-Widgets] 加入QWebEngineView后,窗体不能用鼠标通过边框调整大小 (Issue #303) |

pyside确实有这个问题,如果不商用的话换成 pyqt5 就能解决

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>