Author Topic: Clipping window moving up while scrolling  (Read 3228 times)

2Nails

  • Guest
Clipping window moving up while scrolling
« on: December 04, 2012, 12:21:07 PM »
Hello.

I'm currently having an issue with a Scroll view (quite similar to the one from the "Scroll View (Clipped Panel)" example. http://www.tasharen.com/?page_id=4444)
I haven't seen anything about this issue except from the 5th Response to this example. Basically, i'm having the same problem : When scrolling down, the clipping window (pink border) is slightly moving up.

Someone replied and said he manage to fix the issue by dragging them out of their parents, then putting them back from scratch.
Well, I did this but nothings have changed.
I thought there would be a post about this issue on the forum, but found none.

In case I haven't manage to explain it clearly enough, i'll add pictures of what's happening.
I edited those pics to highlight the pink borders in red. The left part is the Scene, and the right one is the Game View.

As you can see, it's clipping properly on the top of the panel when the scrollbar is at his highest, and then start moving the clipping window a little bit higher as we're scrolling down).

EDIT : didn't saw the maximal size. Well I wanted to send 3 pictures, I hope 1 will be enough. Lowering their size might mess with their clarity.

I'll keep trying to solve this, but if you have any idea about why it would behave this way and thus, about how to fix it, it would help me a lot.
« Last Edit: December 04, 2012, 05:29:58 PM by 2Nails »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Clipping window moving up while scrolling
« Reply #1 on: December 05, 2012, 04:53:10 AM »
I think this was addressed a long time ago in the full version of NGUI. Are you using a free version?

2Nails

  • Guest
Re: Clipping window moving up while scrolling
« Reply #2 on: December 05, 2012, 08:37:47 AM »
Well, yes. I'm currently using the free version. I'd invest into the full one right now without any doubt though, if it is necessary.
(We actually will buy it anyway but we're still in pre-production, so basically yes, the idea was to give it a try during this amount of time and buy it after then if it convinced us. We're now quite sure we will use the full NGUI for the rest of our production now, we do really like it and will have to remove the watermark anyway). It would be very disappointing if there's no known way to deal with this clipping problem.

Do you have an idea about what's the cause of this issue and what would be the solution brought by the full version ?

For what I've guessed from my latest researches, there are some scripts that i'm missing with the free Version (UICenterOnChild.cs, for example - probably not the one that would fix this but the one that made me figure out that I have not access to all the Scripts, as referenced in the NGUI kit Documentation, but not present in the free package).

What would you recommend me to do right now if I had the full version ? Would the problem be fixed by itself ? Or should I take a look on what have been addressed (and what may has been answered) at this time ?
I've made quite a bunch of researches on both Google and this forum and well, there's not much more than this two guys (wilcoco and Austin_, on the Scroll view example commentaries) talking about this issue, and what worked for them did not for me .



EDIT : I'll use the new space allowed to provide more pictures about this. This is the Inspector view of the Panel that contain a Table with all the icons. Left part taken at launch, and right part after dragging the scroll bar. This information might not be relevant. If so, feel free to ask what you would need to see to understand what's happening.

EDIT² : Maybe you want to be sure we'll buy it (or want us to buy it right now) before giving further support. In that case, we're fine with buying it in advance.
« Last Edit: December 05, 2012, 02:22:01 PM by 2Nails »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Clipping window moving up while scrolling
« Reply #3 on: December 05, 2012, 06:49:42 PM »
Free version was created around May. The latest version was released a few weeks ago, with another version coming in the next week or two.

I simply can't support the free version. There have been too many bug fixes since then. If you find a legit issue with the full version of Unity, I will investigate it and/or fix it, but I simply don't have the time or resources to keep the free one up to date.

TLDR: Free version is not supported.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Clipping window moving up while scrolling
« Reply #4 on: December 06, 2012, 03:10:49 AM »
This issue is fixed in the newest version, if my memory serves right. I haven't seen the issue in a while at least.

2Nails

  • Guest
Re: Clipping window moving up while scrolling
« Reply #5 on: December 06, 2012, 03:46:46 AM »
Alright. Thanks for the answer. We're gonna work on the full version.
« Last Edit: December 06, 2012, 04:05:42 AM by 2Nails »

2Nails

  • Guest
Re: Clipping window moving up while scrolling
« Reply #6 on: December 19, 2012, 09:28:39 AM »
Hi !

We managed to obtain the full version a bit earlier than expected.
Recently, I've been working on some other stuff.

But I'm now back on the interface with the full version. And the issue doesn't seem to disappear with it. It actually occurs again, the exact same one.
I wish you could help me, I'm in some trouble, as I haven't managed to fix it yet, though I've been trying for quite a while by now.

The Y of the Transform of the UIPanel is increasing when I move the scroll bar, and so does the Y of the Center of the clipping area (as it's showed in the pictures linked to my previous reply.

I also tried to bodge it somehow by using a script that is supposed to put it back in place at every Update, but it's acting weirdly, and I don't like doing it this way anyway.

Once again, feel free to ask for any further information or pictures if you need it.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Clipping window moving up while scrolling
« Reply #7 on: December 19, 2012, 09:38:19 AM »
Send me the repro case: support at tasharen.com.