Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Problems with pollDoScroll and IE family (1.6.1 rc)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Florian Gnägi  
View profile  
 More options Jun 3 2009, 1:08 pm
From: Florian Gnägi <florian.gna...@gmail.com>
Date: Wed, 3 Jun 2009 19:08:57 +0200
Local: Wed, Jun 3 2009 1:08 pm
Subject: Problems with pollDoScroll and IE family (1.6.1 rc)
Hi

I get errors with prototype 1.6.1rc in IE browsers. In IE debugger I
get the "Out of stack space" message.

I could track it down to the lines 635 and 636 in event.js. When I
remove the lines, everything runs smoothly.

http://github.com/sstephenson/prototype/blob/483c7886de5c0c6e721dee06...

Could this be a sideeffect of using prototype with ExtJS?

Thanks for any hints
Florian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
david  
View profile  
 More options Jun 6 2009, 4:06 pm
From: david <david.brill...@gmail.com>
Date: Sat, 6 Jun 2009 13:06:06 -0700 (PDT)
Local: Sat, Jun 6 2009 4:06 pm
Subject: Re: Problems with pollDoScroll and IE family (1.6.1 rc)
Hi Florian,

i found this comment on the dean edwards blog.
go and see it: http://dean.edwards.name/weblog/2006/06/again/#comment121098

I think it explain your problem.

--
david

On 3 juin, 19:08, Florian Gnägi <florian.gna...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gnaegi  
View profile  
 More options Jun 16 2009, 10:57 am
From: gnaegi <florian.gna...@gmail.com>
Date: Tue, 16 Jun 2009 07:57:48 -0700 (PDT)
Local: Tues, Jun 16 2009 10:57 am
Subject: Re: Problems with pollDoScroll and IE family (1.6.1 rc)
Hi David

Thanks for the link, but this does not help me. I know what
pollDoScroll() does. My problem is that when I use prototype in my
webapp, I get Out of stack space error messages in IE because the
pollDoScroll() method is executed over 600 times in a recursion and
the expression document.documentElement.doScroll('left'); will always
fail.

I traced it down to the fact that together with ExtJS
pollDoScroll.defer(); does not seem to wait long enough. I don't know
if this is an ExtJS-Prototype combination problem or if this is
because my app does some other things while loading.

When I replace pollDoScroll.defer(); with pollDoScroll.delay(0);
everything works.

How is the process to get in tough with the Prototype devels? Is this
something we can change in the release or is there a reason why it
uses pollDoScroll.defer(); instead of pollDoScroll.delay(0);?

Thanks for any hints
Florian

On Jun 6, 10:06 pm, david <david.brill...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
T.J. Crowder  
View profile  
 More options Jun 17 2009, 4:39 am
From: "T.J. Crowder" <t...@crowdersoftware.com>
Date: Wed, 17 Jun 2009 01:39:37 -0700 (PDT)
Local: Wed, Jun 17 2009 4:39 am
Subject: Re: Problems with pollDoScroll and IE family (1.6.1 rc)
Hi,

> When I replace pollDoScroll.defer(); with pollDoScroll.delay(0);
> everything works.

That's weird, since xyz.defer() is functionally equivalent (with a bit
more overhead) to xyz.delay(0.01).

> How is the process to get in tough with the Prototype devels?

http://prototypejs.org/contribute

HTH,
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available

On Jun 16, 3:57 pm, gnaegi <florian.gna...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gnaegi  
View profile  
 More options Jul 7 2009, 9:32 am
From: gnaegi <florian.gna...@gmail.com>
Date: Tue, 7 Jul 2009 06:32:12 -0700 (PDT)
Local: Tues, Jul 7 2009 9:32 am
Subject: Re: Problems with pollDoScroll and IE family (1.6.1 rc)
Hi HTH

Yes, weird but as it seems a known problem between ExtJS and Prototype
for some time. This article explains that ExtJS does override the
Prototype defer() method, thus calling delay(0.01) is actually at
runtime not the same as calling defer()... This might also have other
side effects, but it's the first I have so far: http://extjs.com/forum/showthread.php?p=198159

Still, when I modify the Prototype source code to use delay instead of
defer in the pollDoScroll I don't get any errors in IE.

Am I really the only one with this issue?

thanks anyway & cheers
Florian

On 17 Jun., 10:39, "T.J. Crowder" <t...@crowdersoftware.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »