Comments (24)
Reported by gwt.team.vli
on 2006-09-20 05:10:14
from gwt.
User has reported same behavior with Opera.
Reported by gwt.team.ecc
on 2006-10-31 13:35:41
from gwt.
test
Reported by aharsani
on 2006-12-27 13:16:38
from gwt.
test of what?
Reported by gwt.team.ecc
on 2006-12-28 20:39:41
from gwt.
Reported by gwt.team.bruce
on 2007-01-25 18:46:48
- Labels added: Category-UI
from gwt.
I am using the setKey funcion myself also and it is failing in Firefox. Is this bug
beeing considered for 1.4?
Reported by martin.portmann
on 2007-04-27 22:43:27
from gwt.
Opera throws also a DOM exception. I have a patch for this issue that simple does
replace the original setKey method for Mozilla and Opera with an empty method.
Patch is relative to r1292.
Reported by martin.portmann
on 2007-08-08 01:00:40
- _Attachment: [patch-setKey-r1292.diff](https://storage.googleapis.com/google-code-attachments/google-web-toolkit/issue-25/comment-7/patch-setKey-r1292.diff)_ - _Attachment: [TextBoxImplMozilla.java](https://storage.googleapis.com/google-code-attachments/google-web-toolkit/issue-25/comment-7/TextBoxImplMozilla.java)_ - _Attachment: [TextBoxImplOpera.java](https://storage.googleapis.com/google-code-attachments/google-web-toolkit/issue-25/comment-7/TextBoxImplOpera.java)_
from gwt.
Since the keyCode property is read-only in Mozilla, Firefox, and Opera, the
DOM.eventSetKeyCode() method is unreliable for cross-platform coding. Ignoring the
method call in unsupported browsers is the equivalent of just catching the JavaScript
error and ignoring it, but in either case you have to find a workaround.
I'll search for some possible solutions, but we may end up deprecating the function
if we cannot find a suitable implementation for the other browsers (or at least Firefox).
Reported by gwt.team.jlabanca
on 2007-08-08 15:09:10
from gwt.
Reported by gwt.team.jlabanca
on 2007-08-08 18:54:32
- Status changed:
ReviewPending
from gwt.
We may have a solution that works across all browsers for the most common use case of
replacing characters in a TextBox.
Also, while Safari doesn't choke on this, it appears that it doesn't actually change
the value. That means that the eventSetKeyCode method really only works in IE.
Reported by gwt.team.jlabanca
on 2007-08-08 18:56:04
from gwt.
http://groups.google.com/group/Google-Web-Toolkit-
Contributors/browse_thread/thread/b9ba086f35112f62/#
Reported by martin.portmann
on 2007-08-08 21:26:50
from gwt.
Reported by [email protected]
on 2008-04-07 15:32:34
from gwt.
when using a KeyboardListener on a text box, I get this exception a lot :
java.lang.AssertionError: attribute 'keyCode' not defined for event type 'mousemove'
is this the same problem ?
Reported by mehdi.rabah
on 2008-07-19 23:01:58
from gwt.
If you're seeing this assertion, that means someone is calling Event.getKeyCode()
from within a non-keyboard event. Silly as it is that the Event interface allows you
to ask for such things... We added the assertion because different browsers do
different things in this case (including throwing errors) and there's no 'correct'
return value.
Reported by [email protected]
on 2008-07-21 19:31:13
- Status changed:
Accepted
- Labels added: Milestone-Planned
- Labels removed: Release-1.1.10, Browser-Firefox
from gwt.
ok then maybe I should fill an issue? I have a DeckPanel which choose the widget to
display depending on mouse events. One of the widgets is a text box.
(what I'm trying to do is a widget that display text infos in a static manner and
that can be edited if clicked on it, kinda like the "edit event" in google calendar)
Reported by mehdi.rabah
on 2008-07-21 19:57:07
from gwt.
If you're seeing this assertion, but not explicitly calling getKeyCode() on a mouse
event object, then that sounds like a bug. If this is indeed the case, please file
a
new one and cc me on it so I can have a look.
Reported by [email protected]
on 2008-07-21 20:17:31
from gwt.
I've finished my bug hunt. here is the result :
http://code.google.com/p/google-web-toolkit/issues/detail?id=2683
Reported by mehdi.rabah
on 2008-07-21 21:07:45
from gwt.
Reported by [email protected]
on 2008-10-21 21:31:36
- Labels removed: priority-medium
from gwt.
Reported by ecc%[email protected]
on 2009-01-05 15:16:39
- Status changed:
New
from gwt.
We should deprecate this method as it isn't supported on all browsers, and there
isn't a reliable way to fix that.
Reported by [email protected]
on 2009-01-05 19:40:59
- Status changed:
Accepted
- Labels added: Milestone-1_6_RC, Priority-High
- Labels removed: Milestone-Planned
from gwt.
http://gwt-code-reviews.appspot.com/2002
Reported by [email protected]
on 2009-01-09 16:53:21
- Status changed:
ReviewPending
from gwt.
committed as r4421
Reported by [email protected]
on 2009-01-09 19:01:34
- Status changed:
FixedNotReleased
from gwt.
1_6_RC has been released.
Reported by [email protected]
on 2009-05-11 19:54:22
- Status changed:
Fixed
from gwt.
Reported by [email protected]
on 2011-02-09 00:21:45
- Labels added: Milestone-1_6-RC
- Labels removed: Milestone-1_6_RC
from gwt.
Related Issues (20)
- GWT compile errors when trying to build with GWT 2.10 or 2.11 HOT 14
- Finish removing deprecated SynchronousFragmentLoadCallback
- Explore eagerly initializing selected classes HOT 2
- GWT 2.12 deprecations/removals HOT 1
- Can't set UNNECESSARY roundingMode HOT 3
- Error on compile Java 8 - GWT 2.11 HOT 3
- Optimize out casts that must succeed
- Compile error - GWT Google Web Toolkit (2.10.0, 2.10.1, 2.11.0) on java17. HOT 13
- SerializableThrowable does not handle suppressed exceptions
- StackTraceDeobfuscator sometimes produces total nonsense HOT 5
- Regression in jsinterop varargs causing internal compiler error HOT 3
- Tutorial: webAppCreator deprecated but necessary for tutorials HOT 2
- Need a method to run DevMode on systems without GUI support HOT 1
- SuperDevListener is not correctly build includeJsInteropExports/excludeJsInteropExports args
- Issue with tomcat version of GWT 2.11 for class javax.validation.Path HOT 8
- JDK 17 and GIN HOT 16
- SDM BindException: Address already in use
- GWT compiling issue in java 11 HOT 2
- Spurious incremental CompilerTest failure
- GWT 2.11 and Jetty 9.4.54.v20240208 error running in IntelliJ 2024.1 Ultimate HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt.