Re: RFR: 8294426: Two fingers tap generates wrong mouse modifiers on M2 MacBooks

2023-06-21 Thread Nikita Provotorov
On Mon, 17 Oct 2022 23:36:47 GMT, Sergey Bylokhov wrote: >> Hi there! >> JetBrains has faced with a bug on Apple M2 MacBooks when tapping (_not_ >> pressing) with two fingers on a trackpad generates wrong mouse modifiers >> (which are returned by >> [MouseEvent.getModifiersEx](https://docs.ora

Re: RFR: 8294426: Two fingers tap generates wrong mouse modifiers on M2 MacBooks

2022-10-17 Thread Sergey Bylokhov
On Mon, 26 Sep 2022 17:36:04 GMT, Nikita Provotorov wrote: > Hi there! > JetBrains has faced with a bug on Apple M2 MacBooks when tapping (_not_ > pressing) with two fingers on a trackpad generates wrong mouse modifiers > (which are returned by > [MouseEvent.getModifiersEx](https://docs.oracle

Re: RFR: 8294426: Two fingers tap generates wrong mouse modifiers on M2 MacBooks

2022-10-14 Thread Nikita Provotorov
On Mon, 3 Oct 2022 20:38:43 GMT, Phil Race wrote: >> I don't have an M2 device to check, but I think (judging to the code) if we >> add `jmodifiers == 0` check here then users making a tap holding the Control >> will receive the mouse events with `modifiers` == `CTRL_DOWN_MASK | >> BUTTON3_MAS

Re: RFR: 8294426: Two fingers tap generates wrong mouse modifiers on M2 MacBooks

2022-10-03 Thread Phil Race
On Mon, 26 Sep 2022 17:36:04 GMT, Nikita Provotorov wrote: > Hi there! > JetBrains has faced with a bug on Apple M2 MacBooks when tapping (_not_ > pressing) with two fingers on a trackpad generates wrong mouse modifiers > (which are returned by > [MouseEvent.getModifiersEx](https://docs.oracle

Re: RFR: 8294426: Two fingers tap generates wrong mouse modifiers on M2 MacBooks

2022-10-03 Thread Phil Race
On Fri, 30 Sep 2022 22:26:44 GMT, Nikita Provotorov wrote: >> Actually I mean that it returns 0 if you're tapping without holding any >> modifiers e.g. keyboard modifiers. >> But if you're tapping holding a keyboard modifier it will probably return >> only this keyboard modifier without `InputE

Re: RFR: 8294426: Two fingers tap generates wrong mouse modifiers on M2 MacBooks

2022-09-30 Thread Nikita Provotorov
On Fri, 30 Sep 2022 21:38:50 GMT, Nikita Provotorov wrote: >> src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformResponder.java >> line 83: >> >>> 81: int jmodifiers = NSEvent.nsToJavaModifiers(modifierFlags); >>> 82: if ((jeventType == MouseEvent.MOUSE_PRESSED) && (jbutt

Re: RFR: 8294426: Two fingers tap generates wrong mouse modifiers on M2 MacBooks

2022-09-30 Thread Nikita Provotorov
On Fri, 30 Sep 2022 20:35:21 GMT, Phil Race wrote: >> Hi there! >> JetBrains has faced with a bug on Apple M2 MacBooks when tapping (_not_ >> pressing) with two fingers on a trackpad generates wrong mouse modifiers >> (which are returned by >> [MouseEvent.getModifiersEx](https://docs.oracle.co

Re: RFR: 8294426: Two fingers tap generates wrong mouse modifiers on M2 MacBooks

2022-09-30 Thread Phil Race
On Mon, 26 Sep 2022 17:36:04 GMT, Nikita Provotorov wrote: > Hi there! > JetBrains has faced with a bug on Apple M2 MacBooks when tapping (_not_ > pressing) with two fingers on a trackpad generates wrong mouse modifiers > (which are returned by > [MouseEvent.getModifiersEx](https://docs.oracle

Re: RFR: 8294426: Two fingers tap generates wrong mouse modifiers on M2 MacBooks

2022-09-27 Thread Maxim Kartashev
On Mon, 26 Sep 2022 17:36:04 GMT, Nikita Provotorov wrote: > Hi there! > JetBrains has faced with a bug on Apple M2 MacBooks when tapping (_not_ > pressing) with two fingers on a trackpad generates wrong mouse modifiers > (which are returned by > [MouseEvent.getModifiersEx](https://docs.oracle

RFR: 8294426: Two fingers tap generates wrong mouse modifiers on M2 MacBooks

2022-09-27 Thread Nikita Provotorov
Hi there! JetBrains has faced with a bug on Apple M2 MacBooks when tapping (_not_ pressing) with two fingers on a trackpad generates wrong mouse modifiers (which are returned by [MouseEvent.getModifiersEx](https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/java/awt/event/InputEvent.