Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 147987 Details for
Bug 282837
[Text] Copy/paste (Ctrl+C/V) is broken in Firefox when KeyEvents are active
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Proposed patch
Bug-282837.patch (text/plain), 1.90 KB, created by
Jordan Yakovchev
on 2009-09-24 06:36:48 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Jordan Yakovchev
Created:
2009-09-24 06:36:48 EDT
Size:
1.90 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.q07 >Index: js/org/eclipse/rwt/AsyncKeyEventUtil.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/AsyncKeyEventUtil.js,v >retrieving revision 1.6 >diff -u -r1.6 AsyncKeyEventUtil.js >--- js/org/eclipse/rwt/AsyncKeyEventUtil.js 4 Jun 2009 11:48:55 -0000 1.6 >+++ js/org/eclipse/rwt/AsyncKeyEventUtil.js 24 Sep 2009 10:38:22 -0000 >@@ -105,7 +105,7 @@ > isTraverseKey = this._isTraverseKey( keyCode ); > } > if( hasKeyListener || ( hasTraverseListener && isTraverseKey ) ) { >- if( !this._isUntrustedKey( control, keyCode ) ) { >+ if( !this._isUntrustedKey( control, keyCode, domEvent ) ) { > if( this._keyEventRequestRunning || this._bufferedEvents.length > 0 ) > { > this._bufferedEvents.push( this._getEventInfo( domEvent ) ); >@@ -158,14 +158,19 @@ > return result; > }, > >- _isUntrustedKey : function( control, keyCode ) { >+ _isUntrustedKey : function( control, keyCode, domEvent ) { > var result = false; > if( qx.core.Variant.isSet( "qx.client", "gecko" ) ) { >- if( control instanceof qx.ui.form.TextField ) { >- for( var i = 0; !result && i < this._untrustedKeyCodes.length; i++ ) { >- if( this._untrustedKeyCodes[ i ] === keyCode ) { >- result = true; >- } >+ // Check for CTRL key fixes bug 282837 >+ if( domEvent.ctrlKey ) { >+ result = true; >+ } else { >+ if( control instanceof qx.ui.form.TextField ) { >+ for( var i = 0; !result && i < this._untrustedKeyCodes.length; i++ ) { >+ if( this._untrustedKeyCodes[ i ] === keyCode ) { >+ result = true; >+ } >+ } > } > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 282837
: 147987