Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: MajorIdea on June 02, 2018, 08:05:33 PM

Title: Mouse Wheel Scrolls GraphView instead of State View
Post by: MajorIdea on June 02, 2018, 08:05:33 PM
When updating to unity 2018.1.0.f2 and playmaker 1.9.0.f5 I noticed that whenever I scroll the mouse wheel, even with the mouse on top of the state view, it always scrolls the graphview instead. It seems to work correctly on the preferences view.

I've looked into the settings to see if it was a new default but cant find anything. Besides, sometimes it works correctly but 90% of the time it doesn't. It's a bit maddening trying to work like this.

Is this a known issue?
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: MajorIdea on June 02, 2018, 08:15:14 PM
Here's a video of it: https://gfycat.com/ImmaculateSerpentineEarthworm
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: VVGM on June 04, 2018, 10:42:21 AM
Got same
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: Alex Chouls on June 04, 2018, 11:31:16 AM
This is not a known issue - thanks for reporting it. I'll try to repro here. Have you tried clicking in the state view to focus it, as a workaround?
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: MajorIdea on June 04, 2018, 12:09:56 PM
I did. It seems to be less consistent than I thought. I've tried to figure out what makes it work and what breaks it but no concrete ideas yet. Here's some oddities:

Sometimes when I reorder the actions it starts working. But doing it again will break it. Thinking it was a bad action on top I delete it and it's still broken: https://gfycat.com/FatalHomelyJunebug (https://gfycat.com/FatalHomelyJunebug)

It also works when there's a warning about a missing component: https://gfycat.com/FormalCarefulArcticduck (https://gfycat.com/FormalCarefulArcticduck)

Weird  ???
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: djaydino on June 05, 2018, 02:17:50 PM
Hi,
Confirmed!
But i can't repo it yet on a new project.

But i did try the project with the issue on a different computer (both windows) and also updated (unity) the project from 2017.4.3 to 2017.4.4 and later to 2018.1.3f1 and problem still there.

I will mail you (Alex) a link to the project. (unity 2017.4.3 PM 1.9.0f5)

and i played around some more and it seems to have to do with input actions

But then i tried some more and i created a new object with a new  fsm, it even happens with an empty state.

Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: VVGM on June 12, 2018, 10:24:43 AM
Hi. Can you please answer my question? When will you fix the scroll bug?
Also, I got a new bug. I can't rename actions in state window. Sometimes it works fine, sometimes no.
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: MajorIdea on June 14, 2018, 10:55:14 AM
I just upgraded playmaker to version 1.9.0 Patch 1 and this issue seems to be fixed :)
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: roqoloqo on June 15, 2018, 11:54:58 AM
I'm in 1.9.0 p1 and is still broken for me unfortunately.
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: VVGM on June 16, 2018, 01:44:44 AM
Broken for me too  :'(
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: jeanfabre on June 18, 2018, 03:11:53 AM
Hi,

 can you get the latest from the Asset store and try again, it just came out ( 1.9.0P2)

 Bye,

 Jean
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: VVGM on June 18, 2018, 05:05:58 AM
Hi,

 can you get the latest from the Asset store and try again, it just came out ( 1.9.0P2)

 Bye,

 Jean

Hi! I updated to 1.9.0P2
First hour it worked fine but then bug came back. Can't rename actions and scroll problem.
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: Alex Chouls on June 18, 2018, 01:55:57 PM
I'm still trying to repro here...
Are you working on a second monitor?
Can you try resetting your editor layout?
Maybe it's a combination of windows or tools that causes the issue.
Any clues that might help me repro here...?
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: MajorIdea on June 19, 2018, 10:49:20 AM
Sorry, just got back from vacations. Upgraded to 1.9.0P2 and it's broken still. Last time probably wasn't fixed after all but like VVGM it worked for a time. This happens both on my laptop (single screen) and Desktop (second monitor). Resetting editor layout did nothing. I could send a test project with the issue if that helps.

I also noticed that when I create a new empty FSM it works fine. I scroll on the empty state view with and without clicking on it and its ok. But when I add an action it breaks and stays broken even if I remove the action and am back to an empty state.

After resetting the editor and rearranging the layout back to my liking It started working again. Thinking I came across a setup that worked I took a screenshot and checked if it worked another way. I didn't find any and going back to the one that worked, it didn't work anymore... gah!
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: djaydino on June 20, 2018, 03:40:00 AM
Hi.
Can you show or pm the screenshot?

Also are you using any axis actions?

Are you on windows / mac / linux?
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: MajorIdea on June 21, 2018, 04:33:22 PM
Sure: https://imgur.com/pInqWe3

That was the screenshot of the layout when it was working, but after changing reverting to unitys default and replicating it was broken again. It does that a lot. Starts and stops for no reason I can find.

I do use a Get Axis Vector in one of the FSMs

Windows 10
Title: Re: Mouse Wheel Scrolls GraphView instead of State View
Post by: Prototype_6492 on July 02, 2018, 04:30:45 PM
Same here. Scroll seems to work only for some state views, but majority of the time just scrolls the graph view.