GNOME Bugzilla – Bug 549058
gedit incorrectly opens files in the existing window when maximized
Last modified: 2009-03-03 14:13:15 UTC
When gedit is already running and then "gedit <file>" command is executed from a terminal window (passing a file as arg) then: - when the existing gedit window is maximized -> it opens the file in a new gedit window, - when the existing gedit window is not-maximized -> it opens the file as another tab in the existing window (as expected) Expected: When gedit is maximized, it should open next files as tabs in the existing window.
Also experiencing this bug with * Ubuntu 8.10 beta * Gedit 2.24.0 This occurs regardless of how the file is open; i.e. using gnome-open, or opening a file via Nautilus produces the same result.
I should also note this is a regression with respect to the behaviour I experienced with: * Ubuntu 8.04.1 * Gedit 2.22.3 ...which was the expected behaviour.
I can confirm this behavior using Ubuntu 8.10 with gedit 2.24.2. This really messes with my workflow ;) The question is whether this is a gedit or nautilus bug.
What is necessary to get this updated to NEW?
nothing in particular, we do not care about NEW vs UNCONFIRMED
As reported in http://bugzilla.gnome.org/show_bug.cgi?id=559280#c1 this fixes the bug: $ diff gedit-app.c.orig gedit-app.c 665c665 < y + height < viewport_y + sc_height; --- > y + height <= viewport_y + sc_height;
*** This bug has been marked as a duplicate of 559280 ***