Weird bug in RAP [message #2116] |
Wed, 17 January 2007 07:36 |
Eclipse User |
|
|
|
Originally posted by: Stephanus.Mueller.itsquad.de
Hi there
When trying to create a "PropertySheet" using the System-properties on a
windows-system the Display went blank. I analyzed the causes and found:
o Any property (or table-item-text) that has a trailing backslash causes
this error
o there are properties that consist of newline-characters - these props
also cause a blank display
o In addition any backslash (e.g. within path-information) will be
filtered out
This error also occurs when doubling the (trailing) backslashes
This error not even occurs with the table but also with MenuItems so I
suppose it's a general issue of any text-containing widget and it might
also be an effect of other special (but valid) characters
Regards
Stephanus Mueller
|
|
|
Re: Weird bug in RAP [message #3101 is a reply to message #2116] |
Thu, 18 January 2007 10:23 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Stephanus,
thanks for the bug report. As you mentioned, it is a general issue that
affects all widget texts.
A fix should be in CVS today late afternoon. I will send a note to this
list when its in.
Regards
Rüdiger
Stephanus Mueller wrote:
> Hi there
>
> When trying to create a "PropertySheet" using the System-properties on a
> windows-system the Display went blank. I analyzed the causes and found:
>
> o Any property (or table-item-text) that has a trailing backslash causes
> this error
>
> o there are properties that consist of newline-characters - these props
> also cause a blank display
>
> o In addition any backslash (e.g. within path-information) will be
> filtered out
>
> This error also occurs when doubling the (trailing) backslashes
>
> This error not even occurs with the table but also with MenuItems so I
> suppose it's a general issue of any text-containing widget and it might
> also be an effect of other special (but valid) characters
>
> Regards
> Stephanus Mueller
>
|
|
|
Re: Weird bug in RAP [message #3156 is a reply to message #3101] |
Thu, 18 January 2007 14:23 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
I just committed the fix to CVS.
Double quotes and backslashes are now escaped. Newline chars are
currently stripped from the text. This is only a quick fix, probably
multi-line and single-line text widgets need a different solution therefore.
Cheers,
Rüdiger
Rüdiger Herrmann wrote:
> Stephanus,
>
> thanks for the bug report. As you mentioned, it is a general issue that
> affects all widget texts.
> A fix should be in CVS today late afternoon. I will send a note to this
> list when its in.
>
> Regards
> Rüdiger
>
> Stephanus Mueller wrote:
>> Hi there
>>
>> When trying to create a "PropertySheet" using the System-properties on
>> a windows-system the Display went blank. I analyzed the causes and found:
>>
>> o Any property (or table-item-text) that has a trailing backslash
>> causes this error
>>
>> o there are properties that consist of newline-characters - these
>> props also cause a blank display
>>
>> o In addition any backslash (e.g. within path-information) will be
>> filtered out
>>
>> This error also occurs when doubling the (trailing) backslashes
>>
>> This error not even occurs with the table but also with MenuItems so I
>> suppose it's a general issue of any text-containing widget and it
>> might also be an effect of other special (but valid) characters
>>
>> Regards
>> Stephanus Mueller
>>
|
|
|
Re: Weird bug in RAP [message #3190 is a reply to message #3156] |
Thu, 18 January 2007 14:38 |
Eclipse User |
|
|
|
Originally posted by: Stephanus.Mueller.itsquad.de
Hello Rüdiger
that was quick. That'll help a lot. I interpret your words that we have
to escape quotes and backslashes according to Java.
Regards
Stephanus
Rüdiger Herrmann wrote:
> I just committed the fix to CVS.
> Double quotes and backslashes are now escaped. Newline chars are
> currently stripped from the text. This is only a quick fix, probably
> multi-line and single-line text widgets need a different solution therefore.
> Cheers,
> Rüdiger
|
|
|
Re: Weird bug in RAP [message #3221 is a reply to message #3190] |
Thu, 18 January 2007 15:16 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi Stephanus,
you just need to escape them as the compiler requires it.
For example
text.setText( "\"path\\to\\somewhere\"" );
would be displayed on the client as
"path\to\somewhere"
Regards,
Rüdiger
Stephanus Mueller wrote:
> Hello Rüdiger
>
> that was quick. That'll help a lot. I interpret your words that we have
> to escape quotes and backslashes according to Java.
>
> Regards
> Stephanus
>
> Rüdiger Herrmann wrote:
>
>> I just committed the fix to CVS.
>> Double quotes and backslashes are now escaped. Newline chars are
>> currently stripped from the text. This is only a quick fix, probably
>> multi-line and single-line text widgets need a different solution
>> therefore.
>
>> Cheers,
>> Rüdiger
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03299 seconds