Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problem closing a view unless it is active
Problem closing a view unless it is active [message #551745] Mon, 09 August 2010 12:36
sneha is currently offline snehaFriend
Messages: 25
Registered: July 2009
Junior Member
Hi all,

I am developing RCP application in which I have 3 views.
All 3 views respond to selection changes.
Problem observed:
(A) Normal behavior when view to be closed is already in focus:
Whereas if an element of view B is selected and then if we try closing
it, view B closes without and exception / warning. Also in debug stack
trace, we can find the dispose method of view being called.

(B) Unexpected behavior when another view is in focus:
When element in view A is selected, and I try to click on 'x' button
(try to close view) of view B, a warning is logged in Error log view and
the view gets closed.
On debug it is observed that the dispose method of view B is never
called during such a close action.

If we check on Eclipse IDE we can observe normal behavior as mentioned
in point (A) above.

I have been investigating into this issue since long time.
If anyone has any suggestion regarding this issue please let me know.

Following is the warning message observed:
WARNING: Prevented recursive attempt to activate part ViewA while still
in the middle of activating part ViewB

Previous Topic:toggle state
Next Topic:"Xlib: unexpected async reply" errors using SWT_AWT bridge under JDK 1.6
Goto Forum:

Current Time: Sun Sep 25 17:52:19 GMT 2022

Powered by FUDForum. Page generated in 0.03729 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top