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 217445 Details for
Bug 381974
DBCS4.2: Can not choose Hanzi on Text editor with AIX T/S-Chinese IME
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]
Potential patch
Patch381974.txt (text/plain), 1.21 KB, created by
Bogdan Gheorghe
on 2012-06-15 15:05:06 EDT
(
hide
)
Description:
Potential patch
Filename:
MIME Type:
Creator:
Bogdan Gheorghe
Created:
2012-06-15 15:05:06 EDT
Size:
1.21 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java >index 7404d61..1cf7546 100644 >--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java >+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java >@@ -3032,18 +3032,19 @@ int /*long*/ gtk_focus_out_event (int /*long*/ widget, int /*long*/ event) { > } > > int /*long*/ gtk_key_press_event (int /*long*/ widget, int /*long*/ event) { >- if (!hasFocus ()) return 0; > GdkEventKey gdkEvent = new GdkEventKey (); > OS.memmove (gdkEvent, event, GdkEventKey.sizeof); >+ >+ if (filterKey (gdkEvent.keyval, event)) return 1; >+ // widget could be disposed at this point >+ if (isDisposed ()) return 0; >+ >+ if (!hasFocus ()) return 0; > > if (translateMnemonic (gdkEvent.keyval, gdkEvent)) return 1; > // widget could be disposed at this point > if (isDisposed ()) return 0; > >- if (filterKey (gdkEvent.keyval, event)) return 1; >- // widget could be disposed at this point >- if (isDisposed ()) return 0; >- > if (translateTraversal (gdkEvent)) return 1; > // widget could be disposed at this point > if (isDisposed ()) return 0;
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 381974
:
217006
|
217007
|
217008
|
217009
| 217445