The gui menu to save a canvas with its default name does not update, when canvas name is being updated in the program?
TCanvas* c = new TCanvas("AAAAA", "title", 600, 600);
//The menu shows "AAAAA" name like on the screenshot. Produces files with name: AAAAA
c->SetName("BBBBB");
c->Modified();
c->Update();
//The menu shows "AAAAA" name like on the screenshot. Produces files with name: BBBBB