| Summary: | Strange behaviour with Listeners | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Timothy Arceri <t_arceri> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 1.4 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Timothy Arceri
Created attachment 188114 [details]
StrageListenerBehaviour
Are you aware of bug 327439 and bug 244008? In your snippet the modify listener is not notified at all as there is no modification - VerifyEvent event.doit is always false. I think that there is nothing wrong with the listeners and this bug is invalid. This code was not written by me its off a SWT example website. An it DOES work on SWT. The RAP website states "We provide strict subsets of SWT, JFace and Workbench bundles. Thus, things should work just as they do in SWT and RCP" this is not true in this case, so this bug in not invalid. If you remove the verifyListener the code still does not execute correctly. You can only set the value once if my memory of the tests earlier today are correct. From what I read in the description, the bug is about "listeners are not removed correctly". Timothy, could you be more precise with "strange behavior with listeners" and "not execute correctly". Which version of RAP are you using? What is the correct behavior that you expect? Please define the problem with exact steps to reproduce it. Thanks. After testing again it does appear to work fine once the VerifyListeners are removed. Please forgive me for the confusion. *** This bug has been marked as a duplicate of bug 327439 *** |