Re: This breaks gwt 1.7.0

2009-09-30 Thread mwaschkowski
OK, thanks Ian! I surmise from your post that I should just create one RTA and re-use it, I'll give that a try...ya, works fine and fixes the issue. Not sure if I should fill out a bug report or not... I assume that the resources DO NOT get cleaned up once I don't have references to the dialog

Re: This breaks gwt 1.7.0

2009-09-30 Thread Ian Bambury
I should report it as a bug if you can't find an existing one. I'm pretty sure it's IE mucking about, nit a GWT problem per se, but I expect they'll want to know to see if they can work around it. IE and iframes are weird. In your example, if you set focus false on the RTA just before you hide

Re: This breaks gwt 1.7.0

2009-09-30 Thread mwaschkowski
OK, reported: http://code.google.com/p/google-web-toolkit/issues/detail?id=4089 btw - will IE clean up memory when creating objects that are then not used again? Or is does creating new objects just keep using more and more memory? Thanks, Mark On Sep 30, 1:21 pm, Ian Bambury

Re: This breaks gwt 1.7.0

2009-09-30 Thread Ian Bambury
Hi, Provided you use GWT widgets (and this includes Composite) then GWT will deal with everything like that. If you start mucking around with anything that does not derive from Widget (e.g. if you create your own with something like Element e = DOM.createDiv();) or create your own event bus etc,

Re: This breaks gwt 1.7.0

2009-09-30 Thread mwaschkowski
Hi, OK, I get it. I wasn't meaning for you to look into it, there never seems to be enough time for any of us eh? Well, hopefully the folks at Google will get to the bottom of it. Thanks for all your help! Mark On Sep 30, 5:13 pm, Ian Bambury ianbamb...@gmail.com wrote: Hi, Provided you

This breaks gwt 1.7.0

2009-09-29 Thread mwaschkowski
Not sure why, but the below code stops working in IE (works fine for me in chrome). In IE, do the following: 1) click Show Dialog 2) enter '1' into the TextBox AND into the RichTextArea 3) press cancel 4) click Show Dialog On my box, both the TextBox and RichTextArea become un-editable (like

Re: This breaks gwt 1.7.0

2009-09-29 Thread mwaschkowski
I forgot to add, but the following is a workaround, and makes both the TextBox and RichTextArea editable. categoryTextBox.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) {

Re: This breaks gwt 1.7.0

2009-09-29 Thread Ian Bambury
You can cut out quite a lot of that code and still get the same effect. And then (or now) all you have to do is to leave the cursor in the rich text area and cancel (or do anything else to hide it). Because you are leaving RTAs lying about but not visible, and because the RTA is in an IFRAME, and