italic trait sometimes lost from axis labels
Please consider this screen dump:
In cell D1, the first two letters are red and italic, while the others are not. This is as desired and expected. Cell D2 looks the same, also as desired and expected.
Now take a look at the axis labels. The upper label is derived from D1, and behaves as desired and expected. However, the lower label is derived from D2, and lacks the italic trait. This is the bug.
Now for some supporting details:
It is tricky to reproduce this bug. I believe what follows is reproducibly true, but I wouldn't stake my life on it.
Reset cell D2 completely (values and formats and everything). An easy way to do this is to copy/paste from cell C2.
Type something into D2. Finalize. Select D2 and click the italics button to italicize the cell as a whole. This exhibits most of the bug, insofar as D2 appears italicized but the axis label does not.
Now go to the formula bar and highlight /part/ of the text in D2. Italicizing or un-italicizing parts of the cell behaves as expected in D2 but has no effect on the axis label. So this is another aspect of the bug.
In contrast:
Type something in D2. Select D2 and un-italicize the cell as a whole. Now go to the formula bar and italicize /part/ of the contents of D2. Amazingly enough, this has the desired effect on the axis label.
Remarks: This is not a new bug. It has been bugging me for years. It is also observed in the latest version, compiled from freshly pulled git sources.
The failing examples can be round-trip saved to files and reopened, and fail in the same way.
This bug not super-critical for me, because I know how to work around it. However, I suspect ordinary not-so-persistent users would be stymied by it. Italicizing variables that appear in axis labels is necessary when preparing graphics for publication in reputable journals.
:; uname -srmo
Linux 5.13.1+ x86_64 GNU/Linux
:; lsb_release -a
LSB Version: core-11.1.0ubuntu2-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
:; GG --version
gnumeric version '1.12.51'
datadir := '/usr/src/gnome/install/share/gnumeric/1.12.51'
libdir := '/usr/src/gnome/gnumeric'
:; git log
commit 8391fc73a9c09990e845cc7902b2489998f3980d
Date: Fri Jan 29 09:49:04 2021 -0700