Bug 1093928 - gnome-terminal always sets geometry to the minimum width required to display the menubar
Summary: gnome-terminal always sets geometry to the minimum width required to display ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mutter
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-03 12:40 UTC by Bill Gianopoulos
Modified: 2014-05-09 16:03 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-09 16:03:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
log file form the yum update that triggered the issue (17.79 KB, text/plain)
2014-05-03 13:26 UTC, Bill Gianopoulos
no flags Details

Description Bill Gianopoulos 2014-05-03 12:40:51 UTC
Description of problem:  Gnome-terminal launches with the correct geometry and then almost immediately resets it to the minimum required to show the menubar, which ends up in my case being 33x3.


Version-Release number of selected component (if applicable): gnome-terminal-3.12.1-1.fc21.x86_64


How reproducible: Always


Steps to Reproduce:
1. Launch gnome terminal
2. 
3.

Actual results: The window shrinks to 33x3


Expected results: The window launches with the default 80x24 size


Additional info:

Comment 1 Bill Gianopoulos 2014-05-03 13:23:49 UTC
This is likely filed under the wrong component, but I am leaving it under gnome-terminal for now because that is the application in which I see the issue.

I tried installing the fedora 20 version of gnome-terminal and the issue persisted.  I then looked at the yum.log and noticed that gnome-terminal was not one of the packages updated in the update batch that caused the issue.  My next best guess is that this is an issue caused by updating from gnome-shell-3.12.1-1.fc21.x86_64 to gnome-shell-3.13.1-2.fc21.x86_64.

Comment 2 Bill Gianopoulos 2014-05-03 13:26:54 UTC
Created attachment 892141 [details]
log file form the yum update that triggered the issue

Attached is the log form the yum update showing what packages changed between when gnome-terminal functioned properly and when this issue began.

Comment 3 frames 2014-05-04 00:52:21 UTC
Confirmed this bug during recent update from Fedora 20 to Rawhide.  I attempted to completely uninstall gnome-terminal and re-install with no avail.  

Description: When opening gnome-terminal, the window original opens at 80x24, but will immediately shrink to 26x4.  Changing the size through the Terminal Menu does not change the window size.  Also, I deleted and recreated a new profile with custom sizes, but the window still shrinks to 26x4.

Since the initial bug reporter's window size is 33x3 and mine is 26x4, gnome-terminal seems to resize based upon the precurser to the command line (ex: mk@localhost).

Comment 4 Bill Gianopoulos 2014-05-04 18:47:35 UTC
(In reply to frames from comment #3)
> Confirmed this bug during recent update from Fedora 20 to Rawhide.  I
> attempted to completely uninstall gnome-terminal and re-install with no
> avail.  
> 
> Description: When opening gnome-terminal, the window original opens at
> 80x24, but will immediately shrink to 26x4.  Changing the size through the
> Terminal Menu does not change the window size.  Also, I deleted and
> recreated a new profile with custom sizes, but the window still shrinks to
> 26x4.
> 
> Since the initial bug reporter's window size is 33x3 and mine is 26x4,
> gnome-terminal seems to resize based upon the precurser to the command line
> (ex: mk@localhost).

Actually the horizontal width has to do with the width required to display the menu items in the menubar, so the actual number of columns is a function of the relationship between the terminal font-width and the menu font width.  The number of rows is due to it trying to maintain the original aspect ratio of the window when it was trying to display in 80x24.  It is easy to see that the menubar width is the issue if you run gnome terminal using the command "gnome-terminal --hide-menubar".

Comment 5 Bill Gianopoulos 2014-05-04 18:53:03 UTC
But then since the gnome-terminal version is 3.12 ... and both gnome-desktop and gnome shell are 3.13 ...  then perhaps the real issue here is that gnome-terminal has not been updated to be compatible with the latest gnome-desktop/shell.

Comment 6 frames 2014-05-05 22:40:03 UTC
Additional information: I compiled and installed the latest gnome-terminal 3.13 package from here: 

http://ftp.gnome.org/pub/gnome/sources/gnome-terminal/3.13/

I'm still having the same problem with resizing after opening.

Comment 7 Michael Chapman 2014-05-06 06:51:09 UTC
Confirmed this bug on gnome-terminal-3.12.1-1.fc21.x86_64

I don't enable the menubar, so I get a 4x1 terminal window. Not particularly useful. :-)

Comment 8 Michael Chapman 2014-05-06 07:19:48 UTC
Downgrading GNOME Shell and Mutter to 3.12.0 appears to fix this problem.

Comment 9 Christian Persch 2014-05-06 07:20:34 UTC
It's a bug in mutter: https://bugzilla.gnome.org/show_bug.cgi?id=729582

Comment 10 Bill Gianopoulos 2014-05-07 17:08:44 UTC
(In reply to Michael Chapman from comment #8)
> Downgrading GNOME Shell and Mutter to 3.12.0 appears to fix this problem.

Where did you find the mutter 3.12.0 package?

Comment 11 Bill Gianopoulos 2014-05-07 17:34:38 UTC
(In reply to Bill Gianopoulos from comment #10)
> (In reply to Michael Chapman from comment #8)
> > Downgrading GNOME Shell and Mutter to 3.12.0 appears to fix this problem.
> 
> Where did you find the mutter 3.12.0 package?

Of course this question would be moot if there would just be a rawhide update of mutter including the fix.  However, it is not that important.  I just switched to using xterm instead.

Comment 12 Bill Gianopoulos 2014-05-07 20:23:44 UTC
(In reply to Bill Gianopoulos from comment #11)
> (In reply to Bill Gianopoulos from comment #10)
> > (In reply to Michael Chapman from comment #8)
> > > Downgrading GNOME Shell and Mutter to 3.12.0 appears to fix this problem.
> > 
> > Where did you find the mutter 3.12.0 package?
> 
> Of course this question would be moot if there would just be a rawhide
> update of mutter including the fix.  However, it is not that important.  I
> just switched to using xterm instead.

OF course problem with this is.  I always preferred xterm was running gnome-terminal only to try to test what would be in next fedora release, now I am not and might not ever go back to doing so.

Comment 13 Michael Chapman 2014-05-08 01:50:35 UTC
(In reply to Bill Gianopoulos from comment #10)
> Where did you find the mutter 3.12.0 package?

Some older package builds can still be downloaded from http://koji.fedoraproject.org/koji/ .

Comment 14 Bill Gianopoulos 2014-05-09 16:03:39 UTC
I have verified that this is fixed by mutter-3.13.1-5.fc21


Note You need to log in before you can comment on or make changes to this bug.