Using g rather than b as variable name changes output. As far as I know neither b nor g are restricted symbols. Can this be reproduced on other builds? Using Mathematica 12.0.0.0 on a Mac.
Quit[]
FullSimplify[-c d b + a f b]
(* b (-c d + a f)*)
FullSimplify[-c d g + a f g]
(* -c d g + a f g *)
PlusandTimes. – Sjoerd Smit Sep 26 '19 at 09:11FullSimplifydoes not guarantee a simpler output. It tries a few transformations and if it finds a simpler version, it outputs it. – Szabolcs Sep 26 '19 at 09:19FullSimplifynot sensitive to symbol naming, but there may be ways to deal with the specific cases you need. – Szabolcs Sep 26 '19 at 09:24