Gedit window resized on save

Bug #1301312 reported by August Karlstrom
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

If the width of the gedit window is less than 529 pixels it is enlarged to this width when saving a document. I use Lubuntu 13.10 with the default GTK theme and the Blackbox window manager.

Steps to reproduce:

1. Open Gedit

2. Resize the window so that its width is less than 529 (in my case I cannot make it narrower than 488 pixels)

3. Save the document ("Untitled Document 1").

What happens: The width of the Gedit window is enlarged to 529 pixels.

What I expect: Unchanged window geometry.

$ lsb_release -rd
Description: Ubuntu 13.10
Release: 13.10

$ apt-cache policy gedit
gedit:
  Installed: 3.8.3-0ubuntu3
  Candidate: 3.8.3-0ubuntu3
  Version table:
 *** 3.8.3-0ubuntu3 0
        500 http://se.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, that seems like a wm bug rather than a gedit one though

Changed in gedit (Ubuntu):
importance: Undecided → Low
status: New → Invalid
Revision history for this message
August Karlstrom (fusionfile) wrote :

It is not a window manager bug; I tried it in LXDE and it happens there as well - I resize the Gedit window to minimal width and on save the window gets a bit wider.

Changed in gedit (Ubuntu):
status: Invalid → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in gedit (Ubuntu):
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

setting as incomplete since I can't reproduce/confirm under Unity

Revision history for this message
August Karlstrom (fusionfile) wrote :

I also managed to reproduce the bug after logging into a guest account (with all default settings). Minimum width of a Gedit window is 464 pixels and on save it is enlarged to 479 pixels.

The reason why I'm concerned with this is that I use a tiling window manager where I want to have control over the size of all application windows.

Revision history for this message
August Karlstrom (fusionfile) wrote :

Do we have anyone running anything else than Unity who can confirm this bug?

Revision history for this message
B. Clausius (barcc) wrote :

I can confirm this under Unity. I think the reason is the status bar.
Try:
 * Deactivate Bottom- and Sidepanel
 * Activate the Statusbar
Now you should be able to reproduce it. When saving you see for a short period a message in the left of the Statusbar that may affect the minimal size of the Statusbar and with it the window.
 * Deactivate the Statusbar
Now the resizing should not happen.
Plugins that modify the statusbar or the menubar and so affect the minimal window size should be deactivated to reproduce this.

Changed in gedit (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
August Karlstrom (fusionfile) wrote :

Thanks B Clausius for confirming. Indeed the problem is that when the message "Savi..." doesn't fit in the toolbar the window is widened.

Revision history for this message
August Karlstrom (fusionfile) wrote :

The same thing happens when a notification is displayed in the upper part of the Gedit window, for instance when the file has chaned on disk. The message makes the window wider, something which is unacceptable since the user should have control over the window size.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.