This is a very nice module, but it will be slow in IE browser when you open a site installed Drupalchat module. It is is usually caused by the Long Polling. Someone's solution is that just start the Long Polling process after you have your page completely loaded, but I don't known how to!

Thank you in advance.

CommentFileSizeAuthor
#7 loading.jpg8.51 KBzhongguo999999

Comments

zhongguo999999’s picture

If you embedded the ad code which have IFrame framework(eg. Google AdSense), the IE will be slow when you enable the long polling.

I would ask you to help solve the problem. Thank you!

zhongguo999999’s picture

So I wondered: might we be able to find some agent or trigger that might close the Drupalchat manually in the chat page(not in the admin/settings/drupalchat) when the IE is getting slower or we don't want use the Drupalchat sometimes.

darklrd’s picture

Which version of IE are you using?

zhongguo999999’s picture

IE version: IE8

Something similar appears to have happened at ie 6 or ie 7.

If I close the long polling in Drupalchat, everything has returned to normal(the IE isn't slow).

So I wondered: Maybe it is a good idea that a button is placed in the subpanel with the JS. You can close the Drupalchat manually using the subpanel button to prevent the IE getting slow when you click the page links. You can open the Drupalchat manually when you want to chat. In other words, might we be able to add a close/open button in the chat page using the js.

An advantage of placing a button whit js is that the client does not communicate with the server when you close the Drupalchat manually and reduces the amount of data transferred.

darklrd’s picture

I am not able to reproduce this issue. Could you please provide step by step instruction to reproduce this issue along with screenshots. Thanks.

zhongguo999999’s picture

OK.

1. Enable the Long Polling in admin/settings/drupalchat.
2. Open the IE and chat.
3. Click a link on the page and then click another link on the page.
Note: The link is not the link in chat subpanel.
4. You will find the IE is getting slow and you don't open any page when you click the link in the page(out of the chat subpanel). And you find that IE is loading for long time.

I guess that it caused by blocking issues.

Note: My site have IFrame framework.

zhongguo999999’s picture

StatusFileSize
new8.51 KB
darklrd’s picture

Does this happen when you click on a hyperlink to navigate to some other page, after you have chatted using DrupalChat for sometime?

zhongguo999999’s picture

If you select the Normal AJAX everything is OK.
But If you select the Long Polling, this happen when you click on a hyperlink to navigate to some other page.
Long Polling might have had problems. E.g. the same message repeating, IE getting slow, etc.

darklrd’s picture

Version: 6.x-2.0-beta4 » 6.x-2.x-dev
Status: Active » Fixed

Long polling is working now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

zhongguo999999’s picture

I finally figured out the reason for that, because I open multiple Windows(or tags) with drupalchat!

zhongguo999999’s picture

Title: The IE will be slow when you enable the long polling. help me! » The IE will be slow when you open multiple Windows(or tags) !