After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 528683 - "gnome-terminal --geometry <width>x<height>" doesn't work well.
"gnome-terminal --geometry <width>x<height>" doesn't work well.
Status: RESOLVED FIXED
Product: gnome-terminal
Classification: Core
Component: general
2.22.x
Other All
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
[geometry]
Depends on:
Blocks:
 
 
Reported: 2008-04-18 03:41 UTC by Xin.Sun
Modified: 2008-11-05 11:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Xin.Sun 2008-04-18 03:41:29 UTC
Please describe the problem:
I can only open the correct window when I run "gnome-terminal --geometry 10x10".
That means the opened window's width is 10, the height is 10.But when I use the parameters (width=100,height=50),the opened window displays abnormally.

Steps to reproduce:
1.Open a terminal window. 
2.Run "gnome-terminal --geometry <width>x<height>" (e.g.width=100,height=50)



Actual results:
The opened window's width is not 100,and the height is not 50.

Expected results:
The opened window's width is 100,and the height is 50.

Does this happen every time?
Yes

Other information:
Comment 1 Felix Neumann 2008-05-21 12:37:07 UTC
Can confirm this bug. Also doesn't work when opening multiple windows (--window --geometry=... --window --......).

(gnome-terminal 2.22.1, Kernel 2.6.25.3-18.fc9.i686)
Comment 2 Christian Persch 2008-06-15 21:18:04 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 3 Pei Hu 2008-10-31 04:20:47 UTC
Geometry option still doesn't work in Gnome 2.24.X.
Comment 4 Christian Persch 2008-10-31 12:25:37 UTC
(In reply to comment #3)
> Geometry option still doesn't work in Gnome 2.24.X.

How about some details? Command line used, window manager used (use metacity or you're on your own), expected and actual results?
Comment 5 Pei Hu 2008-11-03 05:37:32 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Geometry option still doesn't work in Gnome 2.24.X.
> 
> How about some details? Command line used, window manager used (use metacity or
> you're on your own), expected and actual results?
> 
I typed "gnome-terminal --geometry <Width>*<Height>+<X Coordinate>+<Y Coordinate>" in the terminal so as to open a new terminal with specified geometry parameters. But even I changed the parameter values, the size and the location of the newly opened terminal does not change.
Comment 6 Christian Persch 2008-11-03 10:54:10 UTC
Works here. Which window manager are you using?
Comment 7 Pei Hu 2008-11-05 01:51:09 UTC
For (In reply to comment #6)
> Works here. Which window manager are you using?
> 

Metacity 2.24.0
Comment 8 Christian Persch 2008-11-05 11:12:13 UTC
I'm also using metacity 2.24.0 (with compositing disabled), and it works for me.