Calc freezes/shows strange behavior after changing font

I have a strange behavior that I can reproduce myself like this:

  1. I open an existing calc document with two sheets
  2. On a new sheet I type something in a cell
  3. I change the font to “FreeSans”

After that I see the following behavior:

  1. I am not able to enter something in the new sheet
  2. I can change the sheets, but they are mixed up (i.e. the first sheet now shows the content of the second sheet)

I cannot really work (except I do not change font at all). What can I do to fix this problem?

Libre Office 5.1.6.2, Ubuntu 16.04.5

First of all, try to use a newer version of LibreOffice. 5.1.6.2 is really old. You may use Ubuntu LibreOffice Packaging team’s PPA. If your problem persists, you might want to file a bug report.

Same question at Calc freezes/shows strange behavior after changing font (View topic) • Apache OpenOffice Community Forum with some responses