Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Delete key not working for Text
Delete key not working for Text [message #108111] Mon, 06 October 2008 08:58 Go to next message
Eclipse UserFriend
Hi,

A novice question.... I have a Dialog, which contains a Text widget.
Although the Backspace key is working as expected, the Delete key has
absolutely no effect i.e. nothing happens, the text is not deleted.

Is there anything specific one needs to do to get the Delete key to work
as expected? Following is the code being used:

Text lastName = new Text(composite, SWT.NONE);

TIA,
Best Regards,
- abhi
Re: Delete key not working for Text [message #108182 is a reply to message #108111] Mon, 06 October 2008 12:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi,

for me (FF 3.0.3 / Linux / CVS HEAD) the Del key works as expected,
there is no special setting to get it working.

Which RAP version / browser / browser version / OS platform do you use?
Does the delete key work elsewhere in your browser, especially in qx
applications such as http://demo.qooxdoo.org/0.7.3/showcase/ ?

If so, would you please file a bug report:
http://www.eclipse.org/rap/bugs.php

Best regards, Ralf

abhi wrote:
> A novice question.... I have a Dialog, which contains a Text widget.
> Although the Backspace key is working as expected, the Delete key has
> absolutely no effect i.e. nothing happens, the text is not deleted.
> Is there anything specific one needs to do to get the Delete key to work
> as expected? Following is the code being used:
>
> Text lastName = new Text(composite, SWT.NONE);
Re: Delete key not working for Text [message #108280 is a reply to message #108182] Mon, 06 October 2008 14:37 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ralf,

Thanks a lot for your reply. Your hint of mentioning the browser etc. has
led to the following observation:

The Delete key works perfectly well when the RAP app is accessed through
the browser (Firefox 3.0.3). The problem occurs only when it is accessed
directly from Eclipse itself using its internal browser. Is this
normal/expected behavior?

Environment Details:
OS: Windows XP SP2
Eclipse: Version: 3.4.0 Build id: I20080617-2000
JDK Version: 1.6.0_01

Thanks again!

Best Regards,
-abhi
Re: Delete key not working for Text [message #108321 is a reply to message #108280] Mon, 06 October 2008 14:55 Go to previous message
Eclipse UserFriend
Hi,

the internal browser view has several bugs regarding wrong focus
handling. For exampling copy/paste text inside the internal browser does
not work either.

So as long as it works in all regular browsers you should open a bug
against the Platform/UA component.

Greets
Benny

abhi wrote:
> Hi Ralf,
>
> Thanks a lot for your reply. Your hint of mentioning the browser etc.
> has led to the following observation:
>
> The Delete key works perfectly well when the RAP app is accessed through
> the browser (Firefox 3.0.3). The problem occurs only when it is accessed
> directly from Eclipse itself using its internal browser. Is this
> normal/expected behavior?
> Environment Details:
> OS: Windows XP SP2
> Eclipse: Version: 3.4.0 Build id: I20080617-2000
> JDK Version: 1.6.0_01
>
> Thanks again!
>
> Best Regards,
> -abhi
>
>
Previous Topic:Hide Table column if it has no data
Next Topic:Z-index and Java Applets in RAP
Goto Forum:
  


Current Time: Tue Jul 22 08:30:43 EDT 2025

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

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

Back to the top