Opened 14 years ago

Closed 10 years ago

#4198 closed bug (wontfix)

Datepicker: setDate is very slow on IE6

Reported by: barbarian Owned by:
Priority: major Milestone: 1.11.0
Component: ui.datepicker Version: 1.6rc6
Keywords: IE6 setDate datepicker Cc:
Blocked by: Blocking:

Description

datepicker setDate is very slow on IE6.

Here is code I use:

$("#dateEnd", editForm).datepicker("setDate",endDate);

where #dateEnd - input box.

On other browsers it works fine, but on IE6 this line works near 2 seconds.

For now I use next way for setting date:

$("#dateEnd", editForm).val($.datepicker.formatDate('dd/mm/yy',endDate));  

Change History (9)

comment:1 Changed 14 years ago by Scott González

Milestone: TBD1.7
Priority: minormajor

comment:2 Changed 14 years ago by rdworth

Milestone: 1.71.8

comment:3 Changed 14 years ago by kbwood

On my machine it takes around 800-900ms on IE6. Most of this time is spent in _updateDatepicker, and in there almost all the time is spent in the inst.dpDiv... jQuery processing, including about half in the _generateHTML function.

Given the much faster times on the other browsers (see below) I don't see that any changes will help on IE6 that much.

IE6 800-900ms IE7 120-150ms FF3 30-50ms OP9 30ms SF3 30-50ms CH 20ms

comment:4 Changed 14 years ago by keym

Hello,

I am facing the same problem and it's quite crucial for me, as my clients are using ie6 and unfortunately many people still do...

Regards

comment:5 Changed 14 years ago by davidsk

It appears the same problem on my machine. The client can not bear the slow speed. So I have to find a plugin.

I hope it will be solved very soon.

comment:6 in reply to:  5 Changed 14 years ago by zapwow

This can be fixed by turning on BackgroundImageCache. Should it be a standard part of the UI?

try {
	document.execCommand("BackgroundImageCache", false, true);
} catch(exception) {
	// other browsers do nothing
}

Replying to davidsk:

It appears the same problem on my machine. The client can not bear the slow speed. So I have to find a plugin.

I hope it will be solved very soon.

comment:7 Changed 13 years ago by deanrobinson

We experienced this issue on a particular laptop build with IE6 and have managed to replciate.

We had locked the build down and IE was unable to write to the IE cache in Temporary Internet Files. This didn't cause any other issues but causes the calendar to take between 15 and 20 secs to render. When viewing cache settings in IE it showed a size of 0.

Giving the correct permissions and setting the cache to 20mb resolved the issue.

I hope this helps other people work around this bug.

Regards Dean Robinson

comment:8 Changed 10 years ago by Scott González

Milestone: 1.9.01.11.0

comment:9 Changed 10 years ago by petersendidit

Resolution: wontfix
Status: newclosed
Summary: datepicker setDate is very slow on IE6Datepicker: setDate is very slow on IE6

We are rewriting the datepicker widget in 1.10 and dropping support for IE6.

Note: See TracTickets for help on using tickets.