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

chrome 全屏状态看直播/视频,或者f11。操作截图f1+单击,大小为1920*1079,少了一排像素 #1146

Closed
tingjiangcao opened this issue Jun 2, 2019 · 5 comments

Comments

@tingjiangcao
Copy link

Bug report?

  • Please describe the steps to reproduce as detailed as possible.

Feature request?


发现了 bug?

  • 请描述一下重现的步骤,越详细越好

请求新功能?

@liulex
Copy link
Member

liulex commented Jun 15, 2019

请问版本是?
2.1.4 无法重现。

@tingjiangcao
Copy link
Author

tingjiangcao commented Jun 15, 2019 via email

@KazamaSion
Copy link

Backup the attachment for future consultation only.

https://www.mediafire.com/file/x17tm9jhrf9q2fo/

@StarryVoid
Copy link

我这边复现成功。
抓取窗口丢失的1px必须为bilibili全屏播放页面置顶同时使用截图
不在置顶状态时不存在抓取窗口丢失1px问题

@StarryVoid
Copy link

StarryVoid commented Jun 15, 2019

经测试得到以下结果
1、Firefox 开启获取窗口内元素,未复现
2、Chrome 开启F12开发者模式,查看CSS元素大小
2.1、在播放窗口点击左右键时,无变化
2.2、此时使用snipaste截图,获取1079高度。
2.3、取消1079截图,此时查看到css有1秒钟变为1079宽度。
2.4、如果浏览器内活动窗口不在对应视频上时,比如在F12开发者工具,此时不存在以上现象
3、确认Bilibili在全屏播放模式时,如切换非本chrome浏览器以外的窗口(比如Alt+Tab),此时Bilibili全屏播放窗口的CSS宽度会变为1079,除非当激活窗口恢复为Chrome并在Chrome内的激活窗口为Bilibili全屏播放窗口才恢复1080
4、确认Youtube存在同样情况

由 3 可知,此问题与Snipaste无关。

暂时解决办法
请在截图的时候贴底边边缘获取 1920*1080 的全屏 Chrome 窗口

@septs septs closed this as completed Jun 15, 2019
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

5 participants