Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problems with listeners in M5
Problems with listeners in M5 [message #37758] Mon, 16 July 2007 09:47 Go to next message
Eclipse UserFriend
Originally posted by: gschmoe.salomon.at

Hi!

I have updated my project with RAP M5 today and now I have some problems
with event handling. For instance, focus lost events and table selection
events are not delivered anymore... Last week (with CVS version from
Monday), however, it was working nicely!
Is there any change in the usage of these events or could that be a
side-effect of other enhancements in M5?


Thanks,
Gernot
Re: Problems with listeners in M5 [message #38365 is a reply to message #37758] Tue, 17 July 2007 06:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi Gernot,

please see my comments below.

Cheers,
Rüdiger

Gernot Sch. wrote:
> Hi!
>
> I have updated my project with RAP M5 today and now I have some problems
> with event handling. For instance, focus lost events and table selection
> events are not delivered anymore... Last week (with CVS version from
> Monday), however, it was working nicely!

I encountered the same problem with focus events, but I couldn't
reproduce it. It occurred that there was a Display with client-side id "w2".
Can you reproduce the reported behavior and - if this is the case -
provide a standalone code snippet?


> Is there any change in the usage of these events or could that be a
> side-effect of other enhancements in M5?

The "outside" usage of events hasn't changed, this must be a side-effect
of changes towards M5.

>
>
> Thanks,
> Gernot
>
Re: Problems with listeners in M5 [message #39023 is a reply to message #37758] Tue, 17 July 2007 14:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi Gernot,

I can now reliably reproduce the behavior, so this shouldn't be too far
from a solution...

Cheers,
Rüdiger

Gernot Sch. wrote:
> Hi!
>
> I have updated my project with RAP M5 today and now I have some problems
> with event handling. For instance, focus lost events and table selection
> events are not delivered anymore... Last week (with CVS version from
> Monday), however, it was working nicely!
> Is there any change in the usage of these events or could that be a
> side-effect of other enhancements in M5?
>
>
> Thanks,
> Gernot
>
Re: Problems with listeners in M5 [message #39051 is a reply to message #39023] Tue, 17 July 2007 14:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gschmoe.salomon.at

Hi Rüdiger!

Oh, that sounds good! I noticed that if I start my application and I
connect with the first client (first session), this problem occurs. If I
reload and connect again (second session), then everything works nicely as
before...
Could it be some initialization problem..?!?

Ciao,
Gernot


Rüdiger Herrmann wrote:

> Hi Gernot,

> I can now reliably reproduce the behavior, so this shouldn't be too far
> from a solution...

> Cheers,
> Rüdiger

> Gernot Sch. wrote:
>> Hi!
>>
>> I have updated my project with RAP M5 today and now I have some problems
>> with event handling. For instance, focus lost events and table selection
>> events are not delivered anymore... Last week (with CVS version from
>> Monday), however, it was working nicely!
>> Is there any change in the usage of these events or could that be a
>> side-effect of other enhancements in M5?
>>
>>
>> Thanks,
>> Gernot
>>
Re: Problems with listeners in M5 [message #39296 is a reply to message #39051] Tue, 17 July 2007 19:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi Gernot,

some parts of RAP rely on the fact that the Display has a client-side Id
of 'w1'. Under some circumstances this wasn't the case anymore. This is
why some events weren't delivered.
I just committed a fix to CVS HEAD that solves the problem. It would be
nice if you could verify that your problem is actually solved and give
feedback if not.

Cheers,
Rüdiger

Gernot Sch. wrote:
> Hi Rüdiger!
>
> Oh, that sounds good! I noticed that if I start my application and I
> connect with the first client (first session), this problem occurs. If I
> reload and connect again (second session), then everything works nicely
> as before...
> Could it be some initialization problem..?!?
>
> Ciao,
> Gernot
>
>
> Rüdiger Herrmann wrote:
>
>> Hi Gernot,
>
>> I can now reliably reproduce the behavior, so this shouldn't be too
>> far from a solution...
>
>> Cheers,
>> Rüdiger
>
>> Gernot Sch. wrote:
>>> Hi!
>>>
>>> I have updated my project with RAP M5 today and now I have some
>>> problems with event handling. For instance, focus lost events and
>>> table selection events are not delivered anymore... Last week (with
>>> CVS version from Monday), however, it was working nicely!
>>> Is there any change in the usage of these events or could that be a
>>> side-effect of other enhancements in M5?
>>>
>>>
>>> Thanks,
>>> Gernot
>>>
>
>
Re: Problems with listeners in M5 [message #39387 is a reply to message #39296] Wed, 18 July 2007 07:05 Go to previous message
Eclipse UserFriend
Originally posted by: gschmoe.salomon.at

Hi Rüdiger!

Thanks for the fix! I can confirm that the events for my text fields
(focus lost, etc.) are now working again.
I still have a problem receiving selection events from my table, but I
need to debug it in detail. This might be also my mistake...

Ciao,
Gernot


Rüdiger Herrmann wrote:

> Hi Gernot,

> some parts of RAP rely on the fact that the Display has a client-side Id
> of 'w1'. Under some circumstances this wasn't the case anymore. This is
> why some events weren't delivered.
> I just committed a fix to CVS HEAD that solves the problem. It would be
> nice if you could verify that your problem is actually solved and give
> feedback if not.

> Cheers,
> Rüdiger

> Gernot Sch. wrote:
>> Hi Rüdiger!
>>
>> Oh, that sounds good! I noticed that if I start my application and I
>> connect with the first client (first session), this problem occurs. If I
>> reload and connect again (second session), then everything works nicely
>> as before...
>> Could it be some initialization problem..?!?
>>
>> Ciao,
>> Gernot
Previous Topic:Image and Text on the same index in a table item not working since M5
Next Topic:LCA for your custom widget
Goto Forum:
  


Current Time: Thu Apr 25 22:35:06 GMT 2024

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

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

Back to the top