Extending a gnome terminal window to the right increases its height

Bug #1731489 reported by David laight
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
New
Undecided
Unassigned

Bug Description

I've just installed Ubuntu 17.10.

If I 'grab' the right border of a gnome terminal window in order to resize it (to unwrap long lines) the height of the window changes as well.
This is not desirable.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

Do you use Wayland (the new default) or Xorg (the old choice)?

If Xorg then this bug is described upstream at https://bugzilla.gnome.org/show_bug.cgi?id=782863#c22 bullet point (1), and the nearby patch mitigates the problem.

If Wayland then we've found yet another bug, although the patch still probably mitigates it.

Revision history for this message
David laight (david-laight) wrote :

It is a server install with IIRC the ubuntu-desktop package.
So I think it is Wayland - certainly rather different from the previous versions.

I can also confirm that setting PS1 to "$ " stops the size change.
So it is related to the title updates being done by the shell every time it sees SIGWINCH and then redisplays the prompt.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

The proper way of detecting Wayland or Xorg is probably:
echo $XDG_SESSION_TYPE

The fun way is: launch xeyes and move the mouse over gnome-terminal. If the eyes follow the movement then it's Xorg, if not then Wayland.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

David, friendly ping. Does
  echo $XDG_SESSION_TYPE
confirm that you're running Xorg (x11)?

Revision history for this message
David laight (david-laight) wrote :

Looks like it is Wayland (today).
For some strange reason it is behaving itself today as well.

Revision history for this message
David laight (david-laight) wrote :

It seems that if you create a terminal window by typing CTRL+ALT+T everything is fine.
If you create one by right-clicking on the background and selecting 'Open terminal' the height changes.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

Okay, this is a bug that occurs in Xorg(X11) then, just as we previously thought.

Also, as for why Ctrl+Alt+T is fine while right-clicking on the desktop isn't, see bug 1722121.

Revision history for this message
David laight (david-laight) wrote :

Another related fubar.

If I create a terminal by right-clicking on the background then middle-click on the title bar puts the window to the bottom of the stack (as is configured somewhere).
If I create one with CTL+ALT+T then the middle-click is ignored.

Don't seem to be able to select the historic (back to sunview days?) 'raise if partially covered, back otherwise' action though.

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.