Opened 9 years ago

Closed 7 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 7 years ago by Scott González

Type: enhancementfeature

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

Milestone: 1.9.01.10.0

comment:3 Changed 7 years ago by bavanyo

Status: newopen

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

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

comment:5 Changed 7 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 7 years ago by zeke

Status: pendingnew

Hi,

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

Here's the testcase.

Thanks!

Version 0, edited 7 years ago by zeke (next)

comment:7 Changed 7 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.