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)
- Upgrade to HtmlUnit 3.9.0 or 4.1.0 HOT 2
- Upgrade icu4j to a version > 63.1
- Memory leak in stored exceptions HOT 8
- Issue with com.google.gwt.i18n.client.TimeZone in GWT 2.11 for Africa/Cairo Time Zone HOT 4
- Add Java 9 BigInteger methods sqrt and sqrtAndRemainder
- GWT from 2.9 to 2.11 Migration Issue Could not find com.google.gwt:gwt-codeserver:2.11.0. HOT 1
- Remove onLoadErrorFn/onPropertyErrorFn, or make them easier to disable
- Upgrading to GWT 2.10.1 is causing IncompatibleRemoteServiceException HOT 1
- GWT Issue with JDK 17 HOT 1
- Whitespace check inconsistency HOT 2
- closure-compiler build requires extra annotations to scan classes HOT 1
- Annotating an interface method with @JsProperty can produce runtime errors if jsinterop exports are not enabled HOT 1
- java.lang.Math is missing nextUp, nextDown, nextAfter emulation
- Upgrade from gwt 2.0.0 to 2.11.0 erroring out HOT 4
- Create github releases for all past GWT releases HOT 2
- Support private methods in interfaces HOT 4
- HTML 5 Drag and Drop: Impossible to disallow a drop operation in GWT HOT 6
- Provide options for ScriptInjector/CssResource/GssResource to work with CSP headers
- Implement (or document) missing CharSequence methods
- UI component library HOT 5
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.