U4-3436 - Icon picker in doc type editor causes chrome CPU to spike and lock up for about 1 minute

Created by Shannon Deminick 07 Nov 2013, 03:20:06 Updated by Per Ploug 20 Nov 2013, 22:17:56

Relates to: U4-3453

After a while the icon will be picked but until then the browser is unresponsive.

Using latest version of chrome. Not sure if this is another touch screen enabled issue or not.


Matt Brailsford 07 Nov 2013, 14:55:22

I wonder if this is to do with images loading? or just physically rendering the list? If the former, maybe some kind of image "lazy load" would be handy?


Per Ploug 13 Nov 2013, 14:07:02

I see a small delay in loading the icons, and nope, its not related to image-loading, since all icons are in single font-file, which has already been loaded into the browser at this point in time.

So the dialog simply goes through all available stylesheets on the current windows stylesheet collection, then collects all rules that start with .icon- and builds a dom to represent that - also if the icons has been loaded once before, it keeps the list cached.

I've changed the loading slightly, so should be more performant

Priority: Normal

Type: Bug

State: Fixed

Assignee: Per Ploug

Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0

Due in version: 7.0.0


Story Points: