Opened 12 years ago

Closed 11 years ago

#7037 closed feature (worksforme)

Dialogs are very slow with complex contents

Reported by: zeke Owned by: zeke
Priority: minor Milestone: 1.10.0
Component: ui.dialog Version: 1.8.10
Keywords: Cc:
Blocked by: Blocking:

Description

It takes about 1.4 second (Firefox on quad core intel cpu, 2.4Ghz, 4G memory) to open the dialog (dialog contents is here: http://jsfiddle.net/L8HT3/).

So, my suggestion: if dialog height and width are not set to "auto", it's more faster to size and position dialog first and then put contents to it.

Change History (7)

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

Type: enhancementfeature

comment:2 Changed 11 years ago by Scott González

Milestone: 1.9.01.10.0

comment:3 Changed 11 years ago by bavanyo

Status: newopen

comment:4 Changed 11 years ago by Jörn Zaefferer

I don't see a dialog in that fiddle. bavanyo, was that working for you?

comment:5 Changed 11 years ago by Scott González

Owner: set to zeke
Status: openpending

@zeke: Can you provide a test case using latest jQuery UI that actually shows the dialog, not just the content of the dialog?

comment:6 Changed 11 years ago by zeke

Status: pendingnew

Hi,

Looks like it works good enough with latest jquery/jquery UI.

Here's the testcase. http://jsfiddle.net/PeEMS/

Thanks!

Last edited 11 years ago by zeke (previous) (diff)

comment:7 Changed 11 years ago by Scott González

Resolution: worksforme
Status: newclosed

Ok, I'll close as worksforme then. That still seems quite laggy to me, but it also seems like way too much info to put in a dialog.

Note: See TracTickets for help on using tickets.