Unbold takes two or more attempts when text is in two different colours

WHAT IS THE BUG

A text that is bold and contains different text colours sometimes can’t be make unbold. It either takes two attempts or is not responsive at all, see recordings.

HOW TO REPRODUCE IT

  1. Create a bold text with different colors
  2. Choose text selection in a way that at least two colours are contained.
  3. Then try to unbold that text via CMD+B
  4. Hit the keyboard shortcut a few more times to test the responsivness
  5. I was able to provide you a video capture of the bug, here it is:


THE EXPECTED BEHAVIOR

Bold / unbold should work on first try.

SYSTEM INFORMATION

  • OS:
    MacOS Ventura 13.2.1
  • Device:
    MacBook Pro M1
  • Anytype Version:
    0.31.0

This report has been added to our issue tracker and received by the Development Team.

This is also a problem for inline code, especially when hitting CMD+L quickly and also when keeping CMD pushed down and only triggering the L consecutively.

Still reproducible in version: 0.35.0.
However, low priority, since it barely occurs in everyday use.