Author Topic: OnTooltip problems in 3.0.6  (Read 7394 times)

Erhune

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 13
    • View Profile
OnTooltip problems in 3.0.6
« on: November 29, 2013, 02:31:22 PM »
My tooltips worked fine in 3.0.5, but since upgrading to 3.0.6 (now at f6):
- if I set Tooltip Delay to > 0 on the UICamera, they tend to not appear (even though the GameObject having the OnTooltip(bool) script is highighted, as seen with the UICamera.Debug option)
- if I set Tooltip Delay to 0, they blink on/off every other frame

I'm just using the OnTooltip(bool) callback to show or hide them, nothing fancy here. I tried various settings on the UICamera without any change, but just for info my current settings are:
- EventType: UI
- Allow Multi Touch ON
- Sticky Tooltip ON
- Tooltip Delay: 0.1
- Raycast Range: unlimited
- Event sources: Mouse & Keyboard
- Mouse Drag: 4px
- Mouse CLick: 10px

JMab

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
    • View Profile
Re: OnTooltip problems in 3.0.6
« Reply #1 on: November 29, 2013, 03:55:21 PM »
I'm having the same problem with 3.0.6 f6 (tooltips worked fine with 3.0.6 f5).

If the UICamera tooltip delay is 0, the tooltip appears but flashes on and off.

If the UICamera tooltip delay is 0.5 (what I normally have it set at), the tooltip doesn't appear at all, anymore.

The problem is reproducible  with the Character example.

Yukichu

  • Full Member
  • ***
  • Thank You
  • -Given: 3
  • -Receive: 8
  • Posts: 101
    • View Profile
Re: OnTooltip problems in 3.0.6
« Reply #2 on: November 29, 2013, 04:02:46 PM »
I have similar issue using OnHover(bool)

It says it's hovering in, then out, back and forth, forever, making the panel blink.

I presume the OnHover is the root of the issue for the tooltips.  I've tested with different panels.  I suppose I can create a new project to confirm if necessary.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: OnTooltip problems in 3.0.6
« Reply #3 on: November 29, 2013, 07:27:46 PM »
Yup, found the cause. Will be fixed in tonight's update.

Yukichu

  • Full Member
  • ***
  • Thank You
  • -Given: 3
  • -Receive: 8
  • Posts: 101
    • View Profile
Re: OnTooltip problems in 3.0.6
« Reply #4 on: November 29, 2013, 07:56:00 PM »
Excellent!