Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#5185 closed bug (fixed)

.ui-widget-overlay CSS selector causes consistent large memory leak in IE

Reported by: Rwhitbeck Owned by:
Priority: major Milestone:
Component: ui.css-framework Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

The jQUI CSS selector .ui-widget-overlay when used to display the blocking overlay when a widget (in my case the dialog) uses about 11mb of ram every time I open a dialog between page refreshes.

An example of the rule from the trontastic theme (in the file jquery-ui-1.7.2.custom.css) looks like this: Copy code

  1. .ui-widget-overlay { background: #5c5c5c url(images/ui-bg_flat_50_5c5c5c_40x100.png) 50% 50% repeat-x; opacity: .80;filter:Alpha(Opacity=80); }

I have to comment this out and rewrite it as follows with no filter:Aplha(Opacity) and using a 1px x 1px transparent PNG to perform my blocking stops the memory leaks in IE, but I lose the opacity:

Copy code

  1. .ui-widget-overlay { background: url(/appui/images/overlay.png) 50% 50% repeat-x; }

This is happening in ASP.NET apps that I am writing, if that makes any difference. I assume it would also occur if I used any other selectors that use the opacity filter as well but have not tested this yet.

Please help: I would really like to use the opacity and have a nice overlay but I do have to support IE as well as all other A grade browsers.

See Forum: http://forum.jquery.com/topic/ui-widget-overlay-css-selector-causes-consistent-large-memory-leak-in-ie

Attachments (1)

patch.txt (1.8 KB) - added by btburnett3 13 years ago.
Patch File

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by btburnett3

Attachment: patch.txt added

Patch File

comment:1 Changed 13 years ago by btburnett3

Above is a patch I'd like to have reviewed, please refer to the forum link above for more information.

comment:2 Changed 13 years ago by btburnett3

Fixed by caching overlays to be reused with subsequent dialogs in r3823

comment:3 Changed 13 years ago by rdworth

Resolution: fixed
Status: newclosed

fixed in r3823

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

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.