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

跨显示器拖动时特定条件下必现显示偏移,自动调整不生效 #2105

Open
jasongwq opened this issue Apr 18, 2022 · 0 comments

Comments

@jasongwq
Copy link

Describe the bug
窗口最大化后标题栏下方有一个黑条,同时鼠标操作错位,需要点击实际显示图标上方一定位置才能操作,好像窗口显示整体下移了。

To Reproduce
复现方式1. 从显示器1拖动vnote到显示器2的顶部(会自动全屏)
复现方式2. 从显示器1拖动最大化的vnote到显示器2的中间(会自动切换为非全屏)

Expected behavior
不出现顶部黑条及鼠标坐标操作错位,或者出现问题时自动恢复

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

Desktop (please complete the following information):

  • OS: Windows 10
  • Version 3.13.0

Additional context
已经按 #853 进行操作,无法解决

  1. 从显示器1拖动最大化的vnote到显示器2的任意位置(非顶部),会出现同样的现象,但0.5s后窗口会自动调整下,恢复正常
  2. 但是只要涉及跨显示器全屏切换的,问题必现且无法自动恢复,除非再调整一次窗口(拖动,或者调整大小,或者从全屏切换为非全屏),才会恢复正常

建议是不是可以在拖动结束后再检测一次,发现分辨率变更,则自动调整下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant