I can reproduce this by running gksu gedit after pressing Alt-F2 from an Ubuntu Studio session.
This opens gedit with an untitled document that is already flagged as modified. Specifying a file with the gedit command opens that file as well as a modified untitled document. Running gksu gedit (or sudo gedit) from bash in the xfce terminal emulator produces the expected behaviour: an untitled document that is not yet flagged as modified. Specifying a file with the gedit command from bash opens that file as well as an unmodified untitled document. I expected only the file to be opened. Running gedit from bash or Alt-F2 produces the expected behaviour: an untitled document that is not yet flagged as modified. Specifying a file with the gedit command just opens that file, as expected. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1015370 Title: when opening a file using gedit, an unwanted blank document tab also opens To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1015370/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
