Calc word wrap button doesnt work when open file from email client (Thunderbird)

When I open a calc file from my email client, it automatically opens read-only. I can put a filter on a file in read-only mode and remove it. It is also normal that the text word wrap button does not work. But when the document is switched to editing mode by pressing the Edit key, the text word wrap button does not even work without an error. Also, the filter button does not work. When you save the file to the desktop and then reopen it, these buttons work. a situation that happened in version 7.4. I don’t know if there is this error in the old versions.

Immediately after opening the file, you see a warning bar (above the column headings). Click on the button on the right side of the bar: “Edit Document”.