Diagram extremely distorted when not in "diagram edit" mode

I’ve been using Calc for my personal budgeting for many years, and over the years I’ve built quite the toolbox for my purposes in one constantly-updated file. A while ago, with no trigger that I was able to recognize, one of the diagrams in my file started being displayed heavily distorted. It doesn’t matter how I try to resize it, it always stays squashed flat (note the orange resizing markers around its actual size):

However, once I double-click the (upper squashed part of the) canvas to enter the “diagram edit mode”, it looks exactly as intended. Clicking on the part that is shown as transparent causes the table cells behind it to be selected (so it is indeed “not there”, not just drawn weirdly). As soon as I click elsewhere, it returns to being squashed.

I’d rather avoid rebuilding the diagram from scratch, as I have customized it quite a bit and can’t quite remember all the steps. Is there a way to reverse whatever happened? Speaking of which: What the hell happened to it?!
Note: It is the only “broken” diagram of several in my file. I am also able to create new ones that seem to work normally.

Here’s a screenshot of the diagram when in “edit mode” (I was not allowed to post both screenshots in one go).

Please, tell us, which operating system and LibreOffice Version do you use.
In which file format do you save?
Can you please upload a example file showing the problem here? Thank you.

Sorry, I completely forgot. I’m using Gentoo Linux, but with the binary package of LibreOffice (so no weird self-compiled variant).
Version: 7.2.6.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Gentoo official package
Calc: threaded

File format is .ods.
Here’s a file with the broken diagram copied over from the original file. At least on my screen it shows the same symptoms as it does in the original file.

broken_diagram.ods (18.4 KB)

1 Like

Work-around: Don’t copy charts. Copy the entire sheet.