Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Undo in IE(Enablement of undo action in context menu of org.eclipse.swt.widgets.Text)
Undo in IE [message #900937] Thu, 09 August 2012 07:24 Go to next message
Michael Klein is currently offline Michael KleinFriend
Messages: 11
Registered: July 2009
Junior Member
Hi.

I noticed the undo action in the context menu of text fields has different enablement behaviour:
- in applications that use the Eclipse workbench, the undo action is always disabled.
- in plain RWT applications, the undo action is enabled (if there is anything to undo).

I suppose the action is not an Eclipse action, but a native browser action. But this doesn't explain, why the action works in one case but not in the other.

The problem occurs in IE only. In FF the undo action is also enabled for applications that use the Eclipse workbench. This can be reproduced with the RAP demos (http://eclipse.org/rap/demos/). In "RAP Examples" the undo action is enabled in IE, in "RAP Workbench Demo" it isn't.

Can anybody explain the difference or give a hint, how to get the undo action working for IE in applications that use the Eclipse workbench.

Regards,
Michael
Re: Undo in IE [message #900945 is a reply to message #900937] Thu, 09 August 2012 07:47 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Michael,
the context menu of the text field is the "native" browser context menu
and RAP does not control its behavior in any way. If you type something
in the field the "Undo" menu item is enabled. If there are differences
between the browsers we can't do anything about it.
Best,
Ivan

On 8/9/2012 10:24 AM, Michael Klein wrote:
> Hi.
>
> I noticed the undo action in the context menu of text fields has
> different enablement behaviour:
> - in applications that use the Eclipse workbench, the undo action is
> always disabled.
> - in plain RWT applications, the undo action is enabled (if there is
> anything to undo).
>
> I suppose the action is not an Eclipse action, but a native browser
> action. But this doesn't explain, why the action works in one case but
> not in the other.
>
> The problem occurs in IE only. In FF the undo action is also enabled
> for applications that use the Eclipse workbench. This can be
> reproduced with the RAP demos (http://eclipse.org/rap/demos/). In "RAP
> Examples" the undo action is enabled in IE, in "RAP Workbench Demo" it
> isn't.
>
> Can anybody explain the difference or give a hint, how to get the undo
> action working for IE in applications that use the Eclipse workbench.
>
> Regards,
> Michael

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Undo in IE [message #900952 is a reply to message #900945] Thu, 09 August 2012 08:07 Go to previous messageGo to next message
Michael Klein is currently offline Michael KleinFriend
Messages: 11
Registered: July 2009
Junior Member
Thanks for the quick answer.

I could understand if the IE doesn't provide the undo function at all.
What I don't understand is, why he provides it for plain RWT applications but not for applications that use the Eclipse workbench (which are based on RWT).

So it seems to be possible for IE to provide that action, but text fields in applications that use the Eclipse workbench seems to be different, what I think should not be the case.
Re: Undo in IE [message #900961 is a reply to message #900952] Thu, 09 August 2012 08:48 Go to previous message
Michael Klein is currently offline Michael KleinFriend
Messages: 11
Registered: July 2009
Junior Member
Hmm, I can't reproduce the disabled action in IE with the "RAP Workbench Demo" any more. But in my own application it is still disabled.
It's really strange.

I think I have to dig into the problem a little bit deeper.
However, thank you Ivan.
Previous Topic:Change 404 error page when deploy with Jetty inside Equinox
Next Topic:IE9 does not display png images when SSL [SOLVED]
Goto Forum:
  


Current Time: Fri Apr 19 08:17:03 GMT 2024

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

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

Back to the top