|
Re: closing a web browser editor [message #647115 is a reply to message #646933] |
Tue, 04 January 2011 16:25 |
Grant Gayed Messages: 2150 Registered: July 2009 |
Senior Member |
|
|
Hi,
I was not aware of this problem, but I see it happen in base eclipse as
well, so I've logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=333493 .
I don't think there's a required change in your app since it's a bug in swt.
Grant
"Roel De Nijs" <roel@javaroe.be> wrote in message
news:ifs3q7$a0a$1@news.eclipse.org...
> Hi,
>
> Best wishes for 2011!
>
> I use the following code to open an internal browser as editor in our rcp
> application:
>
> IWorkbenchBrowserSupport browserSupport =
> PlatformUI.getWorkbench().getBrowserSupport();
> IWebBrowser browser = browserSupport.createBrowser(style, browserId,
> title, null);
> browser.openURL(new URL(url));
>
>
> When I close this browser editor with Ctrl+F4 I get a famous "widget is
> disposed" error. The widget responsible for throwing this error is an
> OleFrame instance and the error is thrown due to the data member "display"
> of this instance being null.
> When I close this browser editor using an alternative (clicking on the X,
> using Ctrl+W,...) this error does not occur.
>
> Has anyone got an idea about how I can solve this (minor) issue?
>
> Greetz,
> Roel
|
|
|
Re: closing a web browser editor [message #647163 is a reply to message #647115] |
Tue, 04 January 2011 19:43 |
Grant Gayed Messages: 2150 Registered: July 2009 |
Senior Member |
|
|
This is fixed in the 3.6.2 stream.
Grant
"Grant Gayed" <grant_gayed@ca.ibm.com> wrote in message
news:ifvhbh$ps8$1@news.eclipse.org...
> Hi,
>
> I was not aware of this problem, but I see it happen in base eclipse as
> well, so I've logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=333493
> . I don't think there's a required change in your app since it's a bug in
> swt.
>
> Grant
>
>
> "Roel De Nijs" <roel@javaroe.be> wrote in message
> news:ifs3q7$a0a$1@news.eclipse.org...
>> Hi,
>>
>> Best wishes for 2011!
>>
>> I use the following code to open an internal browser as editor in our rcp
>> application:
>>
>> IWorkbenchBrowserSupport browserSupport =
>> PlatformUI.getWorkbench().getBrowserSupport();
>> IWebBrowser browser = browserSupport.createBrowser(style, browserId,
>> title, null);
>> browser.openURL(new URL(url));
>>
>>
>> When I close this browser editor with Ctrl+F4 I get a famous "widget is
>> disposed" error. The widget responsible for throwing this error is an
>> OleFrame instance and the error is thrown due to the data member
>> "display" of this instance being null.
>> When I close this browser editor using an alternative (clicking on the X,
>> using Ctrl+W,...) this error does not occur.
>>
>> Has anyone got an idea about how I can solve this (minor) issue?
>>
>> Greetz,
>> Roel
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03239 seconds