ianyh / Amethyst

Automatic tiling window manager for macOS à la xmonad.
https://ianyh.com/amethyst/
MIT License
14.81k stars 487 forks source link

Focus follows mouse hangs java applications using accessibility #342

Open dacwe opened 9 years ago

dacwe commented 9 years ago

Hangs somewhere here:

java.sun.lwawt.macosx.CAccessibility.valueChanged(native)

I've also seen it hang in CAccessibility.focusChanged.

The native implementation is called Java_sun_lwawt_macosx_CAccessibility_valueChanged.

Disabling the Amethyst accessibility or disabling the "focus follows mouse" resolves it.

Trello Card

dacwe commented 8 years ago

From version 0.9.10 (or possibly the version before) this happens all the time.

Haven't found any workaround.

dacwe commented 8 years ago

Seems to happen intermittently. Tried restarting amethyst and now it works..

ianyh commented 8 years ago

What Java application are you using?

dacwe commented 8 years ago

Doesn't matter. This snippet creates an app that hangs on input (always on "focus follows mouse"):

public class Test {
    public static void main(String[] args) {
        JFrame frame = new JFrame("Test");
        frame.add(new JTextField());
        frame.pack();
        frame.setVisible(true);
    }
}
ianyh commented 8 years ago

Oh, I figured it was happening with everything, I just wanted something off hand that I could just load up and test with.