when I open a canvas from file test.root (46.3 KB) with ROOT 6 all names and titles of the contained TF1s have disappeared. This causes problems when searching for a TF1 via canvas->FindObject(“objectname”). Any ideas on this?
It took a while but I compiled ROOT 6.03.02 on OpenSUSE 13.1 and you are right - name and title are still there.
Then I recompiled ROOT 6.04.02 with default configuration in case my extensive changes were the reason, but they were not - name and title disappear still!!!
So, I conclude whatever goes wrong was introduced between 6.03.02 and 6.04.02. I guess there must be release notes somewhere…
Can anybody out there reproduce the problem with 6.04.02?
OK, I see that TF1 changed a lot, e.g. not inheriting from TFormula anymore but directly from TNamed.
When saving a TF1 to file from ROOT 6.04.02 and loading it again with the same ROOT version all works as it should.
Is the lack of backward compatibility intended or accidental? I might not be the only one having stored tons of TF1s that would be sort of lost without name/title because identifiying them all manually is just not feasible.
Do I have to file a formal request for implementation of backward compatibility in the “bugs” section or does this forum post suffice?