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

[Feat]记录画中画窗口前后的位置 #138

Open
Shapaper233 opened this issue Nov 16, 2024 · 5 comments
Open

[Feat]记录画中画窗口前后的位置 #138

Shapaper233 opened this issue Nov 16, 2024 · 5 comments

Comments

@Shapaper233
Copy link

提个建议,记录下进入画中画前的窗口坐标和进入后被移动到的窗口位置(现在用画中画每次都是默认在窗口原位置,手动拖到右下角,退出后窗口还挤在右下角,又得手动拖回去哈哈哈)
下次进入或退出画中画的时候自动移动过去,这个api应该wayland和electron有的吧,我看qq wayland的窗口抖动是正常的

@msojocs
Copy link
Owner

msojocs commented Nov 16, 2024

wayland导致的

@msojocs
Copy link
Owner

msojocs commented Nov 16, 2024

这个真救不了

electron/electron#40886

@Shapaper233
Copy link
Author

Shapaper233 commented Nov 17, 2024 via email

@msojocs
Copy link
Owner

msojocs commented Nov 18, 2024

有一点,据我观察画中画和原播放窗口是同一个。

点击画中画后发生的事:

  1. 隐藏顶栏和右侧信息
  2. 调整窗口大小,变小。

@Shapaper233
Copy link
Author

是的,所以关闭画中画可以使用重开窗口的方式自动召唤在屏幕中间

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

2 participants