whoops...turns out this was actually happening to me because of /usr/share/applications/gedit.desktop had Exec=gedit --new-document %U (my fault)
whoops...turns out this was actually happening to me because of applications/ gedit.desktop had Exec=gedit --new-document %U
/usr/share/
(my fault)