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
Desktop Bugs, which is subscribed to gedit in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to