Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug (1311011) Shader Graph UI behaves weirdly to mouse clicks and context menus on macOS

Discussion in '2021.1 Beta' started by Neonlyte, Feb 1, 2021.

  1. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    505
    Shader Graph UI behaves weirdly to mouse clicks and context menus on macOS

    1. What happened

    Shader Graph UI behaves weirdly to mouse clicks and context menus on macOS. This issue is consistent in the following condition:
    1. if the create node dialog is brought up by using the context menu on the graph canvas, left clicking to select a node from the dialog does not work until after doing a right click.
    2. after left clicking the dropdown menu on a node and dismiss that dropdown (either by making a selection or by clicking outside of it) causes the node to be dragged along without the mouse button down. Only after doing a nother left click would make the node stay.
    3. when the dropdown menu on a node is visible, dismissing it by right clicking on other parts of the node (to bring up the context menu) would cause it to stop appearing. It would work again only after operating on other parts of the node, say dragging the outlet dot.

    The following video demonstrates the problem in 2021.1.0b3 on macOS 11.1. I was using a Magic Mouse but the issue was also reproducible with Logitech MX Master 3.



    Some of these issues are also reproducible in 2020.2.

    2. How can we reproduce it using the example you attached

    1. Open any project, create a shader graph and open it in the Shader Graph Canvas.
    2. To reproduce issue 1, right click on the canvas to bring up the context menu, select "Create Node", and navigate to any node (for example, you can navigate to "Utility > Logic > Comparison") and try adding it by double left clicking. The mouse click would not do anything. Using Space key to bring up the Create Node menu does not have this issue, expect that if Space key is pressed after the right click with the context menu present.
    3. To reproduce issue 2, create any node that has a dropdown menu (like a Comparison node). Left click on the dropdown menu button to bring up the selections, make a selection or left click outside to dismiss. Move the mouse and observe that the node follows the mouse. Left click again and obsever that the node stops following.
    4. To reproduce issue 3, create any node that has a dropdown menu (like a Comparison node). Left click on the dropdown menu button to bring up the selections, but instead of making a selection, right click on any other part of the node or the canvas to bring up the context menu. Dismiss the context menu, and try to left click on the dropdown menu button. The button would not bring up the slections. Then, drag any outlet dot on the node. After that, that button should work again.
     
    florianhanke likes this.
  2. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    505
    This issue is stale for a week without any initial response.
     
  3. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    505
    Last edited: Feb 10, 2021
    PutridEx likes this.
  4. LtKelleyUSMC

    LtKelleyUSMC

    Joined:
    Oct 6, 2012
    Posts:
    44
    SO, I came to this Forum because I have just downloaded Shader Graph, and my Unity Version is 2020.3.25f. I am noticing that when I click on a Node, and move it around, and release the Left Mouse Button, the Node will continue to move around with my Mouse Arrow, and it will not STAY where I put it...

    If I hit the ESCAPE KEY, the node will bounce back to the original position before my moving it.
    If I move the Node around, then press the Right Mouse Button, it brings up a Context Menu, then I can move the mouse off of the Node, and the node stays in place where I moved it.
    ********************
    Guess what
    ********************
    I just accidentally found out that, after moving a Node around, if you press the Middle Mouse button, it does keep the Node in the place that you moved it to. I wonder if this was designed this way. Of course, I would like to see this written in the directions of the manual. Just provide me with a link, or an image of these instructions.
    Today, was the first time I started playing around with Shader Graph, and of course, after following several tutorial video's, you always think, "Am I doing something wrong, because it is not acting the way it is suppose to", and therefore, people have released software that has bugs in it. Reminds me of Microsoft releasing an Update, that has not been fully tested for bugs, and therefore, the updated computer becomes a Door Stop. For Example, remember VISTA. That version of Windows was NOT STABLE until you had all the updates that Microsoft developed for it. REMEMBER Windows, build 1809, where they had to pull that update from the Update Servers, because too many people were talking about losing files. There are many such issues, and I can only imagine what we will be experiencing with Windows 11, not to mention that Windows 10 is NOT FINISHED YET!!!
    For that matter, why does ANYONE need to have any updates? Seems to me, that if I buy a brand new computer from somewhere like Best Buy, or Dell, or HP (etc, etc, etc), I am expecting it to be working, not need to continuously be getting FIXED with Updates. It is a good thing that our Automobiles are not like this, or we would constantly be having to take our cars to the AutoMaker to get FIXED (Updated)...
    The reason I see this type of stuff, is because I am a 20 plus year Computer Tech Support person, and I see lots of these problems, in an ongoing situation. But when I have a day off, I come back to Unity, and want to sit down and just build the projects that I am working on, and not have to deal with stupid problems, like Shader Graph will not release a Node when I release the Left Mouse Button, and I have to come to forums like this to find out what you are supposed to do... IE: Research, research, research. I am not in the business of researching things, I am in the business of Developing...
    ARE YOU KIDDING. I was thinking that we are dealing with Professional Software Developers, releasing all this software, but I could be wrong!!! Now you might think I am bitching about stupid stuff, but I really get tired of dealing with software that, in my opinion, has not been FULLY TESTED FOR BUGS, and don't go blaming my computer for problems, cause that ain't the problem. Perhaps someone can provide me a link, in the SHADER GRAPH manual, where it explains how you are suppose to be able to move a Node around, and what you are suppose to do, to keep the Node in the place I have moved it to!!!
     
    Last edited: Feb 18, 2022