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

Unexpected Gray Border and Incorrect Width in Fullscreen Mode with DevTools Open in Edge #260

Open
charliefr opened this issue Jun 19, 2024 · 1 comment
Labels
bug Something isn't working tracked This issue is now tracked on our internal backlog

Comments

@charliefr
Copy link

charliefr commented Jun 19, 2024

Describe the bug
When Microsoft Edge is in fullscreen mode with DevTools open, an unexpected gray border of approximately 4px appears on the left, right, and bottom sides of the screen. The corners of the border are rounded. This issue is observed on a 4K monitor with a system scale of 150%.

To Reproduce
Steps to reproduce the behavior:

  1. Open Microsoft Edge on a 4K monitor with system scale set to 150%.
  2. Enter fullscreen mode.
  3. Open DevTools.
  4. Run document.body.getBoundingClientRect() in the console.
  5. Observe that the returned width is 2552px, which is less than the expected 2560px (3840px physical width / 1.5 scale factor).

Expected behavior
In fullscreen mode, the width returned by document.body.getBoundingClientRect() should be 2560px, and there should be no gray border visible on the screen.

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

Desktop (please complete the following information):

  • OS: [e.g. Windows 10] 19045.4529
  • Browser: Microsoft Edge
  • Version: 126.0.2592.61 x64

Additional context
This issue only occurs when DevTools is open in fullscreen mode. When DevTools is closed, the fullscreen display works as expected.

AB#51910494

@charliefr charliefr added the bug Something isn't working label Jun 19, 2024
@captainbrosset
Copy link
Contributor

Thank you for filing, I was able to reproduce. Here is a full screen screenshot:

image

And a close up of the border, near the bottom-left corner:

image

@captainbrosset captainbrosset added tracked This issue is now tracked on our internal backlog and removed tracked This issue is now tracked on our internal backlog labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked This issue is now tracked on our internal backlog
Projects
None yet
Development

No branches or pull requests

2 participants