Author Topic: Update 2.5.0c - New Placement Handles  (Read 9711 times)

aclaussen

  • Guest
Update 2.5.0c - New Placement Handles
« on: March 27, 2013, 04:33:43 PM »
The new update for NGUI includes "new placement handles" for widgets that look like green lines and green dots.  There are some functionality issues that have frustrated me since updating.  While a widget has focus in the Hierarchy that does not have a child, the green placement handles become visible and then in the Scene view I can't use my right mouse button to move the Scene camera to get a different view of what I'm looking at.  Instead the right mouse button acts the same as the left mouse button.  Further more, while the green placement handles are visible I can't use the axis-arrow gizmos while the scene is zoomed far enough to where the axis-arrow gizmos are within the green placement handles.  Instead of doing their intended job, the object i'm trying to move will move in any direction my mouse moves, AND I can't undo the move.

Is there any way to remove this part of the placement handle's functionality?

PabloAM

  • Jr. Member
  • **
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 58
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #1 on: March 28, 2013, 04:01:41 AM »
I think is not possible.
For me is a bit annoying as well, but just deselect the item , move camera and select again.


IIIHAPPYIII

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 7
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #2 on: March 28, 2013, 08:46:21 AM »
Terribly difficult to use, had to roll back, please change these back!

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #3 on: March 29, 2013, 06:00:03 PM »
Personally, I never use the Unity default movers or the new fancy gizmos for that matter - I set it in inspector or in the code.

It's up to ArenMook, but maybe some way of switching them off might be a good idea, so people have the option of both.

renardmf

  • Guest
Re: Update 2.5.0c - New Placement Handles
« Reply #4 on: March 29, 2013, 06:28:25 PM »

I don't mind the new handles as much but it seems like I have lost the ability to scale things uniformly using the scale transform. As of now being in any of the modes: position, rotation, and scale they all perform the same when you try to manipulate the builtin handles. Is it possible to disable this functionality in rotation and scale mode or maybe with existing functionality use shift as a modifier key to allow uniform scaling?

Thanks in advance.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #5 on: March 29, 2013, 08:26:46 PM »
Hold Shift to scale uniformly. I'll just make this optional in the next update.

renardmf

  • Guest
Re: Update 2.5.0c - New Placement Handles
« Reply #6 on: March 31, 2013, 05:29:26 PM »

Great thanks for the reply. I see that it works now in scale mode when you hold shift from the center. I guess I was just expecting to work similarly to Photoshop where you could hold shift and scale from the corners to scale uniformly. An option would be great.

Thanks for your help!

soulis6

  • Guest
Re: Update 2.5.0c - New Placement Handles
« Reply #7 on: April 03, 2013, 06:34:16 PM »
The new update for NGUI includes "new placement handles" for widgets that look like green lines and green dots.  There are some functionality issues that have frustrated me since updating.  While a widget has focus in the Hierarchy that does not have a child, the green placement handles become visible and then in the Scene view I can't use my right mouse button to move the Scene camera to get a different view of what I'm looking at.  Instead the right mouse button acts the same as the left mouse button.  Further more, while the green placement handles are visible I can't use the axis-arrow gizmos while the scene is zoomed far enough to where the axis-arrow gizmos are within the green placement handles.  Instead of doing their intended job, the object i'm trying to move will move in any direction my mouse moves, AND I can't undo the move.

Is there any way to remove this part of the placement handle's functionality?

Totally agree with this. There's been some really great additions to the newer versions of NGUI, but with the new handles there's some serious workflow issues for me.

I almost exclusively use alt+RMB to zoom in and out, and I use the one-direction handles of objects all the time, and now both of those very problematic. Any updates or feedback on this? Any chance to disable these overlay/handles? or keep the alt+RMB zoom when you have one selected?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #8 on: April 04, 2013, 04:25:00 AM »
2.5.1 that's already out makes gizmos behave as they used to if you have anything other than the move tool selected.

soulis6

  • Guest
Re: Update 2.5.0c - New Placement Handles
« Reply #9 on: April 04, 2013, 12:55:14 PM »
I have 2.5.1 but i'm still getting the behavior described by myself and the OP.

Alt+RMB doesn't work if you have something selected that uses the new handles, and the move single-direction axis doesn't work on the move gizmo if the sprite is big enough to cover it. I found that shift+clicking on the axis with the move gizmo works, and that helps to fix the latter problem, but it's still an unnecessary step. The alt+rmb zooming is the bigger issue for me, esp when the whole screen is covered in sprites or widgets, because there's no quick way to deselect one.

juggernate

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 21
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #10 on: April 04, 2013, 02:25:06 PM »
I had to revert from 2.5 as that Alt+RMB problem was a big issue for me. Does 2.5.1 make the new sprite handles optional? If so does that still break the Alt+RMB?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #11 on: April 05, 2013, 09:51:26 AM »
For Alt-RMB, open up UIWidgetInspector, go to line 291 that looks like:
  1. if (e.button == 1)
  2. {
  3.         GUIUtility.hotControl = GUIUtility.keyboardControl = id;
  4.         e.Use();
  5. }
...and change it to:
  1. if (e.button == 1)
  2. {
  3.         if (e.modifiers == 0)
  4.         {
  5.                 GUIUtility.hotControl = GUIUtility.keyboardControl = id;
  6.                 e.Use();
  7.         }
  8. }

soulis6

  • Guest
Re: Update 2.5.0c - New Placement Handles
« Reply #12 on: April 05, 2013, 02:00:07 PM »
Thank you! That totally fixes the rmb+zoom issue

gekido

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #13 on: April 05, 2013, 02:46:26 PM »
I have 2.5.1 and doesn't matter what mode I'm in, I can't rotate or do anything in the scene view with a sprite selected.  If I have a widget selected (progress bar for example), then things work, but if I select the 'foreground' element of that progress bar, the camera view is suddenly completely locked in the scene view.

This definitely needs to be optional behavior, completely breaks usability.

laurentl

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 188
    • View Profile
    • McDROID
Re: Update 2.5.0c - New Placement Handles
« Reply #14 on: April 05, 2013, 06:25:48 PM »
Shift doesn't scale uniformly for me, in the build released 2 days ago.

Hold Shift to scale uniformly. I'll just make this optional in the next update.