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

Window capture on web browsers offsets after fullscreening browser and unfullscreening #10406

Open
Jared554 opened this issue Mar 19, 2024 · 8 comments

Comments

@Jared554
Copy link

Jared554 commented Mar 19, 2024

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

30.1.0

OBS Studio Version (Other)

No response

OBS Studio Log URL

20:46:33.551: User added source 'Browser' (browser_source) to scene 'Scene' 20:46:36.569: User Removed source 'Browser' (browser_source) from scene 'Scene' 20:46:42.322: User added source 'Color Source' (color_source_v3) to scene 'Scene' 20:47:04.948: User added source 'Window Capture' (window_capture) to scene 'Scene' 20:47:05.010: [window-capture: 'Window Capture'] update settings: 20:47:05.010: executable: firefox.exe 20:47:05.010: method selected: Automatic 20:47:05.010: method chosen: WGC 20:47:05.010: force SDR: false

OBS Studio Crash Log URL

No response

Expected Behavior

Adding a window capture then selecting chrome or firefox, when you fullscreen chrome or firefox and then un-fullscreen chrome or firefox, it should go back to the exact same position and cropping as before.

Current Behavior

When using chrome or firefox with window capture, if you fullscreen then un-fullscreen it will offset the top and left side of the source and cut off a bit

Steps to Reproduce

  1. add window capture
  2. select chrome or firefox window
  3. fullscreen chrome or firefox then un-fullscreen
  4. the window will now be offset on obs for no reason

Anything else we should know?

No response

@Jared554
Copy link
Author

example.mp4

@Fenrirthviti
Copy link
Member

Do you have your Windows Taskbar on the top or side of your display?

@Jared554
Copy link
Author

Do you have your Windows Taskbar on the top or side of your display?

the taskbar is on the bottom of the display

@Jared554
Copy link
Author

i just checked and this doesnt happen on bitbit window capture firefox, this might be something with the yellow borders on the windows 10 capture, just a thought, but hopefully this can get fixed soon

@RytoEX
Copy link
Member

RytoEX commented Mar 20, 2024

i just checked and this doesnt happen on bitbit window capture firefox, this might be something with the yellow borders on the windows 10 capture, just a thought, but hopefully this can get fixed soon

Unfortunately, Windows adds those borders. On Windows 11, you can turn them off. On Windows 10, you cannot turn them off. We'll try to investigate further, but this may be outside of our control if the borders being drawn is causing it.

@RytoEX
Copy link
Member

RytoEX commented Mar 24, 2024

This actually happens on MacOS too, when capturing native full-screen windows on certain apps like Firefox, RetroArch, etc, with the Window Capture method, we're having to crop black borders from the top as well. It's quite frustrating and it would be nice to have access to an auto cropping shader like the UAE emulator has.

The Windows and macOS capture source code is completely separate. It is unlikely, though admittedly possible, that your issue is the same, despite appearances.

@RytoEX
Copy link
Member

RytoEX commented Mar 26, 2024

Does this also occur in older versions of OBS Studio?

@Jared554
Copy link
Author

Does this also occur in older versions of OBS Studio?

yes this has happened for years, i reported an issue for this same offset issue happening in 2021 when the browser window was just minimized and maximized, but that got fixed, and i realized maybe a month ago it happens on fullscreening and unfullscreening, and my obs was also quite out of date at the time

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

3 participants