Author Topic: Drop Down List -- Left Right Mouse movement changing selection bug?  (Read 8729 times)

apparenthorizondev

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
So when I open a drop down menu from a pop up list and move my mouse left and right it changes what label below I'm selecting. Pictures attached. I do not believe I changed anything that could cause this. Is there a reason for this? All settings for the pop up are default.

Oh shoot sorry it didnt screen cap the cursor. I was just moving it to the right very very slightly like barely 4-5 pixels without any up or down movement.

apparenthorizondev

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: Drop Down List -- Left Right Mouse movement changing selection bug?
« Reply #1 on: April 24, 2014, 07:29:53 PM »
Even with hitboxs off the items still get selected oddly when they shouldn't at all if I understand correctly.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Drop Down List -- Left Right Mouse movement changing selection bug?
« Reply #2 on: April 25, 2014, 09:14:08 AM »
Left mouse movement changing selection? Not quite clear on that one... When the popup is out, all mouse movement highlights the closest item to the mouse. Is this what you're talking about? If so that's intentional, and not sure why this is an issue? Just highlighting...

apparenthorizondev

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: Drop Down List -- Left Right Mouse movement changing selection bug?
« Reply #3 on: April 25, 2014, 03:17:27 PM »
Except it doesn't highlight the closest, it highlights up and down the list even if my mouse is clearly over a certain label. I can be on the bottom label, move my mouse a few cm to to the left and it will highlight the top label. If I move the mouse right it highlights downwards until it hits the bottom label.

apparenthorizondev

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
« Last Edit: April 25, 2014, 04:16:30 PM by apparenthorizondev »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Drop Down List -- Left Right Mouse movement changing selection bug?
« Reply #5 on: April 26, 2014, 02:46:18 PM »
What version of NGUI are you using there? I've never heard of anyone else ever having such an issue before. Enable Debug on the UICamera to see what the mouse hovers over.

apparenthorizondev

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: Drop Down List -- Left Right Mouse movement changing selection bug?
« Reply #6 on: April 28, 2014, 03:27:04 AM »
I'm using the most up to date. 3.5.8?

Anyways when I scroll off the boxes it stops saying there has been any collision or hit at all. So strange. Does this happen on your own personal version? I have the UI very close to the camera and it is non Orthogonal

apparenthorizondev

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: Drop Down List -- Left Right Mouse movement changing selection bug?
« Reply #7 on: April 28, 2014, 07:06:34 PM »
Switched over to the more standard 1 Perspective for game 1 Orthogonal for UI approach, still having the same issue.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Drop Down List -- Left Right Mouse movement changing selection bug?
« Reply #8 on: April 29, 2014, 12:58:05 PM »
No, it doesn't, and as I mentioned I've never heard of anyone else having a similar issue. Check the examples that come with NGUI. There is even a Menu example that uses a 3D UI, and its Options window has a drop-down list.

apparenthorizondev

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: Drop Down List -- Left Right Mouse movement changing selection bug?
« Reply #9 on: April 29, 2014, 02:07:32 PM »
Does it there too. Maybe its my project settings?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Drop Down List -- Left Right Mouse movement changing selection bug?
« Reply #10 on: April 29, 2014, 02:12:12 PM »
All I can say is that something is horribly wrong with your version of Unity.

apparenthorizondev

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: Drop Down List -- Left Right Mouse movement changing selection bug?
« Reply #11 on: April 30, 2014, 04:43:47 PM »
So it turns out way way way back when I started the project I was experimenting with controls and changed Horizontal / Vertical input. And in the camera on the UI object you have controls set for hori/vert and they were essentially changed long before I implemented my UI. Understandably I didn't put the two together as It was so long ago I did this, way back over a year ago when I started conceptualizing this project.