Greetings!
Recently I’ve bought a MacBook Air with an M1 chip and installed ROOT from the source. Everything seems to work fine except for one issue I’ve stumbled upon:
When I use TCanvas with manually set TPads, I have some glitches when trying to save it.
I’ve attached the test code to illustrate the situation. The First 2 canvases are saved fine, but the third one where I use TPads has some problems - I’ve attached them below.
No errors or warnings are showing up during the macro execution, so I don’t know what causes this issue and how to solve it.
The outcome of the third canvas depends on whether root was used in batch mode or not.
I’ve got mine canvas by using root -l -b -q Draw_test.C
The latter one is probably obtained by root -l -q Draw_test.C
Even then, the canvas has some strange black lines around TPads.
On M1 there is this problem with default parameters. It affects the default colour of the pads. You can try to not rely on the default colour (ie: specify it) to see if it cures the problem.
Setting the colors specifically doesn’t work, but I’ve recompiled ROOT with the commit resolving the problem and it fixes this issue.
Thank you for the help!