Page 1 of 1

sticky resize...

Posted: Mon Jul 26, 2010 20:03
by agamemnus
I'm not sure if it's a bug or if I messed something up...

I noticed that if I resize "too quickly" on a framewindow, the resizing operation stops... by too quickly, I mean that my mouse goes out of the resize cursor range (the area where the resize cursor appears) If it goes out of that range, the resize event doesn't occur even though I did not release my mouse button.

The expected behavior is that the internal resize function continues checking for a resize, even though the mouse is out of the resize frame area, until I un-hold the mouse button...

I'm not sure exactly what the problem is either... sometimes, when resizing, it stops when I hit another element. Sometimes it stops when a scrollbar appears. (and I am not even hovering over the scrollbar)

Re: sticky resize...

Posted: Mon Jul 26, 2010 23:51
by Timo
Hmm, I didn't quite understand. Could it be that you're talking about this issue? When you're resizing a framewindow the render target gets reallocated and moving the mouse quickly may cause slowdowns/stuttering.

Re: sticky resize...

Posted: Tue Jul 27, 2010 05:45
by agamemnus
No, it's nothing to do with the frame rate.

OK, imagine taking the Firefox window frame and resizing it to a smaller size. In my program, mousing over any scrollbars or other windows inside (while resizing) will cause the resizing to stop / will cause me to lose my "grip" on the resize handle.

Re: sticky resize...

Posted: Wed Jul 28, 2010 21:34
by agamemnus
Edit: never mind this post and see below post.

Still haven't figured it out but the problem went away somehow. I THINK using setMouseInputPropagationEnabled seems to fix it... Idk. Hard to track this down.

Re: sticky resize...

Posted: Wed Jul 28, 2010 23:17
by agamemnus
Ok, never mind the above post. I see now what's happening, but not the root cause... When I resize the width of the window, I have a function activated that potentially changes the height one of the window's scrollable panes and that somehow stops the resize operation.