I just notice a minor issue with new ROOT 6.28/04.
I use rootlogon.C with:
gStyle->SetCanvasDefH(1300);
gStyle->SetCanvasDefW(1300);
When I turn Editor on:
c1->ToggleEditor();
the graph aspect ratio H:W changes from 1:1 to 1:0.875
It did not happen in prior versions.
To fix this I can redefine:
gStyle->SetCanvasDefH(1300);
gStyle->SetCanvasDefW(1462);
c1->ToggleEditor();
When you toggle the editor the canvas size does not change and the editor uses space on the graphics part of the canvas. Therefore the aspect ratio of the gr[ahics part changes. I do not think this has changed. May be @bellenot can confirm.
I am using Linux Fedora 37
uname -a
Linux zabriskie 6.2.14-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 1 00:57:50 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
I meant the graph (x,Y) aspect ratio changes from 1:1 to 1:0.875 when I toggle Editor. This never happened before.
Yes, as I said the window size stays the same and the editor appearing on the left takes space in the existing canvas/window. Therefore it reduces the horizontal space for graphics, and yes that changes the aspect ratio of the graphics part. But I think that’s always been like that.
So this is now fixed in master (commit #f92e7c9) and in the v6-28-00-patches branch (commit #f4b01d3)
Thanks for reporting and sorry for the inconvenience