CEmu icon indicating copy to clipboard operation
CEmu copied to clipboard

Swipe Gesture Bug on Mac

Open PiRunner opened this issue 4 years ago • 2 comments

(Thanks for reporting an issue! Please make sure to fill out the blanks below.)

What's wrong, and with what software version?

Operating System: macOS Sierra 10.12.6 CEmu version: v1.3 Describe your issue:
On a Mac, you can switch between full screen windows or between a full screen window and the desktop with either a 4-finger swipe gesture on the trackpad or Ctrl+[left or right arrow]. Because of its convenience, I use the trackpad gesture. When I'm programming, I often swipe between CEmu and another window. However, most of the times I do this, either a key on the emulator sticks, disabling all keys, and can only be fixed by reloading the rom, or CEmu crashes altogether. I'm guessing this has to do with the gesture because that's the only time this happens. As I add fingers to the trackpad to begin the gesture (this all happens in a fraction of a second), two fingers (scroll) then three (click and drag) are added before four fingers are on the trackpad, which may have to do with the issue. I've attached a crash log and a link to a video of the phenomenon.

What are the steps to reproduce this issue?

  1. Open the emulator on a Mac.
  2. Swipe to another window.
  3. The emulator will often either malfunction (keys sticking) or crash.

Any logs, error output, screenshot, other comments...?

AppleCrashReport.txt Video: https://youtu.be/Hnoy66g0tj4

PiRunner avatar Nov 25 '19 00:11 PiRunner

Thanks for the nice report, I'll check it out tonight.

adriweb avatar Nov 25 '19 05:11 adriweb

Well, I can reproduce the fact that gestures tend to trigger unexpected "random" keypresses but so far I can't make it crash (I'm on latest master). I'll try to see what events exactly it's getting, because that's rather unexpected and it looks like a Qt issue...

adriweb avatar Nov 25 '19 15:11 adriweb