[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[ews.eclipse.technology.rap] Re: Selection not working after Dialog posted

Hi Stu,

your description points me to this bug, which has been fixed in 1.2M7:
245100: Selection changes are not always propagated (ISourceProvider Framework)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=245100
Which version of RAP do you use?


Best,
Ivan

Stuart Pond wrote:
All,

I have large RCP application we are attempting to run in RAP. We notice that once we put up any dialog (e.g. Help->About, or Window->Show View, Other, etc). then selection is not being processed the Eclipse command/expression engine properly. Other parts of the application (other Views ) still remain able to respond to changes in the selection service just fine. However all the command handlers that have enabledWhen expression see expression as being null. Also any Command Handler that uses HandlerUtil.getCurrentSelection(evt) returns null even though I know something is selected.

The other killer is that when I hit maximize window on my RAP application then selection starts being processed again by the command/expression engine correctly until any dialog is shown again and then it stops working again.

Of course when I try to re-create this with RCP Mail Template application, I am unable. So I would not be surprised there is something in our code crossing wires here with Eclipse.

Any pointers where to look or to check would be greatly appreciated.

Thanks,

Stu Pond