Bug#820227: NPE on keyevent in josm
Samuel Thibault, on Wed 06 Apr 2016 23:37:57 +0200, wrote:
> 820227 is another issue, apparently related to an entirely different
> codepath than the previously-reported issues.
And at worse for Stretch we can just disable the keyevent codepath as
done in the attached workaround patch. It'll harm accessibility a bit,
but much less than disabling it completely by default.
Samuel
--- a/wrapper/org/GNOME/Accessibility/AtkWrapper.java.in
+++ b/wrapper/org/GNOME/Accessibility/AtkWrapper.java.in
@@ -664,6 +664,7 @@ public class AtkWrapper {
if (!accessibilityEnabled)
return;
+ /*
toolkit.addAWTEventListener(globalListener,
AWTEvent.WINDOW_EVENT_MASK |
AWTEvent.FOCUS_EVENT_MASK |
@@ -697,6 +698,7 @@ public class AtkWrapper {
super.dispatchEvent(e);
}
});
+ */
}
public static void main(String args[]) {
Reply to: