Question / Help In-game scroll wheel changing settings

MrLevtastic

New Member
I use a multi-monitor setup for streaming games, and some games don't clip the cursor bounds to their own window - instead they hide the cursor, and swallow left/right click events, but they do not swallow scrollwheel events.

This means that the invisible cursor can drift over the OBS window on the second monitor, and any scroll wheel usage in the game can cause dropdown selections to be changed. Commonly this causes me to accidentally change my scene transition effect, but I'm also worried about what else in the UI might respond to scroll events without me noticing.

Is there any way for me to make OBS stop responding to scroll events? Or is this something I should be asking for as a feature suggestion?

This may be an OS-specific accessibility feature - I'm encountering this problem on Windows 10 Pro x64 using OBS 21.0.1 x64.
 

Suslik V

Active Member
Hide all UI that you don't need. Minimize OBS Studio window. Run games in full screen.

I think, event filter for
QAbstractSpinBox
QComboBox
QSlider
QTabBar

widgets required to resolve this. Global filtering not desirable, and OBS Studio has docked widgets that makes things worse. And third party plugins is out of scope.

Also,
http://doc.qt.io/qt-5/focus.html said:
...
On Microsoft Windows, mouse wheel usage is always handled by the widget that has keyboard focus. On macOS and X11, it's handled by the widget that gets other mouse events.

The way Qt handles this platform difference is by letting widgets move the keyboard focus when the wheel is used. With the right focus policy on each widget, applications can work idiomatically correctly on Windows, macOS, and X11.
...
it's annoying when you have to scroll something in OBS Studio (text source properties, for example) and focus switches itself, changing the actual settings, but it seems that Qt (OBS Studio uses it to handle UI) designed to work this way.

I think that changes required, but maybe this feature only needed to you and me. If required - this thread should be moved to "ideas and suggestions" section (where it can be sunk...).
 

MrLevtastic

New Member
Brilliant, thank you Suslik - I don't want to minimise OBS since I look at the preview to know if I'm streaming the correct scene, BUT, I didn't realise I could hide the scene-switching panel.

I don't want to hide the volume controls since they also show status indicators to show how loud things are, but I can see why the problem isn't easily fixable. Thank you for the info!
 
Top