This is not a bug in gedit -- shutdown simply doesn't give any application the possibility to save data - this is imho a bug though ** Changed in: gedit (Ubuntu) Status: Unconfirmed => Rejected -- Cannot save file once shutdown commnced if in different dektop https://launchpad.net/bugs/54832