obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

Dropdown menus are broken when OBS is displayed on a secondary moitor

Open WillHarding49 opened this issue 1 year ago • 6 comments

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

30.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/eX1WqD7ps1Hd2sVd

OBS Studio Crash Log URL

No response

Expected Behavior

Dropdown menus appear on a secondary monitor when clicking an option in the menu bar, when right-clicking, or when clicking the audio source properties 3 dot button.

Current Behavior

Menu bar options do not work consistently, sometimes requiring several clicks to work at all. Right-clicking and 3 dot menu buttons will not show a context menu at all on a secondary monitor. This works fine in the primary monitor.

Steps to Reproduce

  1. Open OBS on a dual-screen setup
  2. Move OBS from the primary screen to the secondary
  3. Right-click on the screen, observe no context menu is shown ...

Anything else we should know?

This bug does not appear in OBS version 29.1.3. This bug can be found in this forum post as well: https://obsproject.com/forum/threads/obs-menus-broken-when-on-secondary-monitors.174341/

The GIF linked here (sorry, too big to post here) shows this bug in action, first with version 30.1.2 on my primary monitor (left) and then on my secondary monitor (right). I then show this same series of actions on version 29.1.3 where there is no issue.

WillHarding49 avatar Apr 13 '24 01:04 WillHarding49

I converted the GIF to an MP4.

https://github.com/obsproject/obs-studio/assets/624931/babb979e-3572-415a-b74f-bbd792a02beb

I cannot reproduce this with a secondary display when both displays are at 100% scaling.

RytoEX avatar Apr 13 '24 01:04 RytoEX

I have two different sizes and resolution monitors so my scaling is different on both. The left one is 2560x1440 at 175% scale and the right one is 1920x1080 at 100% scale. Setting the left monitor to be 100%, 125%, 150%, or 200% does not cause the issue to happen, only when on 175% or 225% scale. I would not consider changing the screen scale a fix as 175% is my preferred resolution for my main monitor and changing it would cause the screen to either be too large or too small to comfortably use.

WillHarding49 avatar Apr 13 '24 21:04 WillHarding49

I would not consider changing the screen scale a fix as 175%

I wasn't suggesting this. I was merely documenting what does not reproduce the issue to illustrate that this is likely one of many myriad Qt-related issues that revolve around multi-display setups with mixed resolution/scaling so that it's easier for us to debug/triage later.

RytoEX avatar Apr 13 '24 21:04 RytoEX

Not sure if this is a separate issue, I have a similar secondary monitor problem with reordering Scenes and Sources on my 1440p monitors. I'm not seeing any issue with the 3-dot dropdowns but I am having issue with the Source property dropdown.

I have one 1080p set to 100% scaling, and three 1440p monitors set to 125% scaling. OBS, and any property Window, will always open on my 1080p monitor even though it's not my Primary monitor, and after closing OBS on any other monitor.

Everything works as expected on my 1080p monitor, but after moving OBS to any 1440p monitors, reordering Scenes and Sources will be out of line (shown in attached video).

https://github.com/obsproject/obs-studio/assets/29524403/b762c02f-86e2-4d78-8d39-df9bd2d78b9b

ruairidh74 avatar May 17 '24 16:05 ruairidh74