Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » getText() in Text not working
getText() in Text not working [message #65183] Mon, 10 December 2007 21:01 Go to next message
Andrej Dimic is currently offline Andrej DimicFriend
Messages: 77
Registered: July 2009
Member
Hello

i guess this is a probably serious bug:

in any textfield, the method getText() delivers "" (empty String) if the
contents has been copied and pastet into that field. This happens either
when the contents is copied with the keyboard or with copy&paste menu.

if anything is changed in the textfield, getText() delivers the whole
contents.

Version is 1.01 Service-Release build 1851.

Thanks
Andrej
Re: getText() in Text not working [message #65288 is a reply to message #65183] Tue, 11 December 2007 08:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

hm, i couldn't reproduce this misbehaviour. neither on firefox 2.0.0.11
nor on IE6. when i copy something into a Text widget the getText() method
returns the proper string...

i'm using the CVS head plugins.
Antw: Re: getText () in Text not working [message #65309 is a reply to message #65288] Tue, 11 December 2007 09:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: admin.kabe-farben.ch

i was on IE7, but i will try on FF this evening and report back.

Thanks
Andrej

>>> Ben W.<benjamin.wolff@web.de> schrieb am 11.12.2007 um 09:26 in
Nachricht
<ab4968e67fa0513c411a4bb3b611de08$1@www.eclipse.org>:
> hm, i couldn't reproduce this misbehaviour. neither on firefox 2.0.0.11
> nor on IE6. when i copy something into a Text widget the getText()
> method
> returns the proper string...
>
> i'm using the CVS head plugins.
Re: Antw: Re: getText () in Text not working [message #65498 is a reply to message #65309] Tue, 11 December 2007 12:12 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
Hi,

this is a known bug.

See 192146: Wrong text field behavior when using Ctrl. + V
https://bugs.eclipse.org/bugs/show_bug.cgi?id=192146

The problem is that we cannot reproduce it. Just tested it with IE7 and
FF 2.0.0.11. Maybe you can come up with a snippet how to reproduce the
problem.

Greets
Benny

Andrej Dimic wrote:
> i was on IE7, but i will try on FF this evening and report back.
>
> Thanks
> Andrej
>
>>>> Ben W.<benjamin.wolff@web.de> schrieb am 11.12.2007 um 09:26 in
> Nachricht
> <ab4968e67fa0513c411a4bb3b611de08$1@www.eclipse.org>:
>> hm, i couldn't reproduce this misbehaviour. neither on firefox 2.0.0.11
>> nor on IE6. when i copy something into a Text widget the getText()
>> method
>> returns the proper string...
>>
>> i'm using the CVS head plugins.
Re: Antw: Re: getText () in Text not working [message #65602 is a reply to message #65498] Tue, 11 December 2007 14:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: admin.kabe-farben.ch

Hi Benny

i just read Bug 192146 and there is a code snippet in it. I wouldn't know
what else to add.


Jordan writes:
"If you haven't typed, but just pasted into the text field, getText() will
return
an empty string. After you have modified the text field by typing or
deleting
some chars, everything will be fine. The problem occurs the first time
after
the text field was created."

This statement is accurate.

maybe it's the localization of the browser? i used IE7 german when this
problem occured.

Thanks
Andrej



>>> Benjamin Muskalla<bmuskalla@innoopract.com> schrieb am 11.12.2007 um
13:12
in Nachricht <fjlv1k$hiq$1@build.eclipse.org>:
> Hi,
>
> this is a known bug.
>
> See 192146: Wrong text field behavior when using Ctrl. + V
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=192146
>
> The problem is that we cannot reproduce it. Just tested it with IE7 and
> FF 2.0.0.11. Maybe you can come up with a snippet how to reproduce the
> problem.
>
> Greets
> Benny
>
> Andrej Dimic wrote:
>> i was on IE7, but i will try on FF this evening and report back.
>>
>> Thanks
>> Andrej
>>
>>>>> Ben W.<benjamin.wolff@web.de> schrieb am 11.12.2007 um 09:26 in
>> Nachricht
>> <ab4968e67fa0513c411a4bb3b611de08$1@www.eclipse.org>:
>>> hm, i couldn't reproduce this misbehaviour. neither on firefox 2.0.0.11

>>> nor on IE6. when i copy something into a Text widget the getText()
>>> method
>>> returns the proper string...
>>>
>>> i'm using the CVS head plugins.
Re: Antw: Re: getText () in Text not working [message #65770 is a reply to message #65498] Wed, 12 December 2007 07:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: admin.kabe-farben.ch

Hi Benny

i check also with FF 2.0.0.9. Same issue as with IE7.

Greetings
Andrej


>>> Benjamin Muskalla<bmuskalla@innoopract.com> schrieb am 11.12.2007 um
13:12
in Nachricht <fjlv1k$hiq$1@build.eclipse.org>:
> Hi,
>
> this is a known bug.
>
> See 192146: Wrong text field behavior when using Ctrl. + V
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=192146
>
> The problem is that we cannot reproduce it. Just tested it with IE7 and
> FF 2.0.0.11. Maybe you can come up with a snippet how to reproduce the
> problem.
>
> Greets
> Benny
>
> Andrej Dimic wrote:
>> i was on IE7, but i will try on FF this evening and report back.
>>
>> Thanks
>> Andrej
>>
>>>>> Ben W.<benjamin.wolff@web.de> schrieb am 11.12.2007 um 09:26 in
>> Nachricht
>> <ab4968e67fa0513c411a4bb3b611de08$1@www.eclipse.org>:
>>> hm, i couldn't reproduce this misbehaviour. neither on firefox 2.0.0.11

>>> nor on IE6. when i copy something into a Text widget the getText()
>>> method
>>> returns the proper string...
>>>
>>> i'm using the CVS head plugins.
Re: Antw: Re: getText () in Text not working [message #68981 is a reply to message #65498] Sat, 05 January 2008 17:49 Go to previous message
Andrej Dimic is currently offline Andrej DimicFriend
Messages: 77
Registered: July 2009
Member
Hi Benny

regarding Bug 192146(paste a text with Ctrl-V into an Text-Widget, do not
type anything with the keyboard, getText() delivers empty string instead
the pasted text): this Bug is still around in the newest RAP
1.0.1-Integration Build dated december 21.

Will this one be fixed soon?

We are in the process of finishing our RAP-Application and as we can not
forsee the behevior of internet-users, we must expect that users will use
the copy&paste feature. And that is exactly what Bug 192146 is all about.

Thanks
Andrej
Previous Topic:Communication between Server and Client secure?
Next Topic:runs so slowly in IE
Goto Forum:
  


Current Time: Sun Sep 01 08:26:37 GMT 2024

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

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

Back to the top