Skip to content

在win11 ubuntu 22.04 WSL下运行framelessWindows时出现窗口边界识别问题,鼠标显示不正常 #173

@hie-ager

Description

@hie-ager

Describe the bug
A clear and concise description of what the bug is.

在win11 ubuntu 22.04 WSL下运行framelessWindows时,窗口右边和下边边界识别有问题,鼠标在很大一片区域都会显示是拖动状态。

Environment
环境信息

  • OS: ubuntu 22.04 WSL @ win11
  • DPI scaling: 200%
  • Python: 3.10.12
  • PyQt5: 5.15.2

To Reproduce
复现问题的步骤,推荐使用 gif 进行演示。
Steps to reproduce the behavior(you can use GIF to demonstrate :):
直接运行最小示例代码。

2.mp4

Code
最小复现代码
就是github上提供的最小运行代码。


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

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

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