gmail-desktop icon indicating copy to clipboard operation
gmail-desktop copied to clipboard

Keyboard shortcuts add indentation

Open eriktdesign opened this issue 4 years ago • 9 comments

  • Gmail Desktop Version: 2.20.4
  • OS Version: MacOS Big Sur 11.1

Steps to Reproduce:

  1. Compose a message
  2. Use a keyboard shortcut with Cmd (eg Cmd+V, Cmd+B, etc)
  3. Current line of compose is indented

For some reason whenever I paste text, or try to make formatting changes using keyboard shortcuts, the current line of text is indented. The line becomes indented one more level each time I press a Cmd+whatever key combination.

eriktdesign avatar Mar 03 '21 20:03 eriktdesign

I've experienced this before as well, but it's not happening at the moment.

Can you please check if it's still happening in this test build? https://github.com/timche/gmail-desktop/suites/2194117774/artifacts/45264896

timche avatar Mar 06 '21 16:03 timche

@timche I just tested on that build -- still getting the indents.

eriktdesign avatar Mar 17 '21 13:03 eriktdesign

We've released few more version since I asked. Can you please install and test the latest version (v2.25.0) and report back. If you've time, can you also test the latest v3.0.0-alpha pre-release (v3.0.0-alpha.3)?

timche avatar Mar 17 '21 13:03 timche

@timche Doesn't appear to be happening in v3.0.0-alpha.10 -- I'll keep you posted

eriktdesign avatar Mar 21 '21 00:03 eriktdesign

Thanks for letting me know. We can re-open this issue when it's happening again.

timche avatar Mar 21 '21 02:03 timche

Welp. I just updated to Version 3.0.0-alpha.13 (3.0.0-alpha.13) and it's happening again.

eriktdesign avatar Mar 22 '21 17:03 eriktdesign

Can you please check if this actually caused by an update and see if previous versions work fine?

Also please check if this not system/app related. Possible things to check:

  • Reboot
  • Different keyboards
  • Gmail in browser

timche avatar Mar 22 '21 17:03 timche

I finally found the root cause of this issue: The custom user agent is loading a slightly different version of Gmail and causes the drag and drop to behave weirdly in Electron.

So if you have this issue, please try disabling Use User Agent Fix or removing any custom user agent and use the default user agent instead.

Please let me know if it works for you.

timche avatar Feb 16 '22 13:02 timche

I think this may have worked. I don't recall setting a custom user agent, but I went ahead and did Preferences -> User Agent -> Remove Custom User Agent and I haven't seen the behavior since. I'll update here if I see it again.

eriktdesign avatar Feb 22 '22 15:02 eriktdesign