Page 1 of 1

Mousewheel scrolling in Game Maker Studio 2 not functioning when XMBC enabled

Posted: Mon Sep 10, 2018 7:58 pm
by OtherChris
XMBC Version: 2.17
Windows Version: Windows 10
Mouse Information (brand/model): Logitech M500 (Corded)
Computer Information: It's not a gaming rig
Did the problem occur after an upgrade of XMBC or Windows?: No
How long have you used XMBC?: Five or so years
What language and keyboard layout do you use in Windows?: English, regular

Clear description of the problem:

Game Maker Studio 2 prides itself on its new workspace environment, wherein you can arrange objects and elements to organize a project to your liking. It comes at the price that, instead of having a separate window or tab for things like the script editor, these windows are embedded within the workspace. If I click within an opened script editor, I would normally expect to be able to scroll up or down through lines of code using the mousewheel. What I've found was that when X-Mouse is enabled, mousewheel scrolling does not work in any of the application. (I originally thought it was exclusive to workspace elements, but it doesn't work for the resource tree or console log either!) If I disable X-mouse, mousewheel scrolling immediately works as intended, across the board.

I find that strange, since the only buttons I change in my "For Work" profile are 4 and 5, which I use for Magnifier Zoom In and Zoom Out. Secondly, none of the other buttons are impeded within GMS2 (Left, right middle). And finally, I've been using X-Mouse for five or so years, and I've never seen this problem occur for any other software I've used while running X-Mouse.
I consider this to be a problem with GMS2, not X-Mouse. But since this is a matter of two programs not getting along, of course I have to bring it up with both parties. I do have to give props for just how well X-Mouse works for me overall. The fact that I can enable/disable it for an easy stress test alone puts it above the built-in Windows mouse rebinding stuff that did not exist when I first got this. I may try testing Windows' take on rebinding to see if that works in GMS2, but I have a feeling my allegiance is going to remain unchanged.

Re: Mousewheel scrolling in Game Maker Studio 2 not functioning when XMBC enabled

Posted: Mon Sep 10, 2018 11:19 pm
by phil
OK I think there is a simple fix...

By default, XMBC sends scroll messages to the window under the cursor to enable "universal" scroll where the window does not have to be activated to scroll. This does not work in all cases though, especially windows which have unusual behaviors such as embedded editors as you have found.

The first thing to try is to disable this option, in general settings, turn off "make scroll wheel scroll window under the cursor" and see if that fixes it.

If it does, but you don't want to globally turn off this option you can create a profile for GMS2 and disable scroll window under cursor just for that process/window using the setting on the profile's options tab.

Let me know if that works out.


Re: Mousewheel scrolling in Game Maker Studio 2 not functioning when XMBC enabled

Posted: Tue Sep 11, 2018 12:06 am
by OtherChris
That did it!

Somehow I overlooked that settings button, and was only looking at the options available in the "Scrolling" and "Options" tabs next to the layers. I'm glad it was a simple fix. Thanks for getting back to me so quickly.