rsms / fb-mac-messenger

⚡️ Mac app wrapping Facebook's Messenger for desktop
https://fbmacmessenger.rsms.me/
MIT License
2.86k stars 243 forks source link

Small delay after typing each character (not present in web client) #403

Open raxod502 opened 7 years ago

raxod502 commented 7 years ago

When I type in most text entry fields (e.g. system dialogs, messenger.com, Github, etc.) the characters appear as fast as I am typing. However, sometimes in Messenger there is a ~0.1s delay associated with typing or deleting a character. The pending keypresses are queued correctly and the text is still entered. If I type Enter, then my message is only sent after the delayed keypresses are registered. If I type a bunch of characters, then switch to another application and back, Messenger does not come to the foreground until it has finished entering all of my text. While text is being entered, Messenger uses 100% CPU in Activity Monitor; immediately afterward it drops back down to ~0.5%. Reloading or restarting Messenger does not solve the issue.

Messenger 0.1.13.1491443794

                -/+:.           raxod502@Radon-MBP-New.local
               :++++.           ----------------------------
              /+++/.            OS: OS X El Capitan 10.11.6 15G1510 x86_64
      .:-::- .+/:-``.::-        Model: MacBookPro11,3
   .:/++++++/::::/++++++/:`     Kernel: 15.6.0
 .:///////////////////////:`    Uptime: 23 days, 21 hours, 56 minutes
 ////////////////////////`      Packages: 341
-+++++++++++++++++++++++`       Shell: zsh 5.3.1
/++++++++++++++++++++++/        Resolution: 3008x1692@2x, 1440x900@2x
/sssssssssssssssssssssss.       DE: Aqua
:ssssssssssssssssssssssss-      WM: Quartz Compositor
 osssssssssssssssssssssssso/`   WM Theme: Blue
 `syyyyyyyyyyyyyyyyyyyyyyyy+`   Terminal: iTerm2
  `ossssssssssssssssssssss/     Terminal Font: InputMono-Medium 14
    :ooooooooooooooooooo+.      CPU: Intel i7-4980HQ (8) @ 2.80GHz
     `:+oo+/:-..-:/+o+/-        GPU: Intel Iris Pro, NVIDIA GeForce GT 750M
                                Memory: 5021MiB / 16384MiB

Please let me know if I can provide additional useful information.