Xubuntu 19.10 xfce4-terminal: 0.8.8-1 I can create a 2-line high xfce4-terminal window, but am unable to create one that is only 1-line high. An attempt to do so creates a window somewhere between 2 and 3 lines high. Here are some examples where I create various windows and then query them using Xwininfo. % xfce4-terminal --geometry 80x3 & % Xwininfo Width: 974 Height: 71 % xfce4-terminal --geometry 80x2 & % Xwininfo Width: 974 Height: 48 % xfce4-terminal --geometry 80x1 & % Xwininfo Width: 974 Height: 69 This appears to be a bug. Note that I am able to successfully create a one line xterm window using: xterm -geometry 80x1 &
Hi Jeffery, thanks for the report! The limitation of 2 rows minimum comes from vte (see https://gitlab.gnome.org/GNOME/vte/blob/master/src/vtegtk.cc#L4120), so there's nothing xfce4-terminal could do here. The windows being between 2 and 3 rows high seems like a bug, indeed. However, the same issue happens with gnome-terminal, so I'm thinking it could be related to vte as well. I've submitted a bug report in their tracker: https://gitlab.gnome.org/GNOME/vte/issues/215
Igor, on the other bug report thread you started, Egmont Koblinger commented that the window height issue might have to do with other window elements and not the geometry specification. I tested this by creating the windows with the xfce4-terminal scrollbar suppressed (--scrollbar) and that indeed was the element throwing off the geometry for the windows. Now when I try to create a windows of height 1, 2 and 3, I get overall window heights, reported by Xwininfo, of 48, 48 and 71. So there is still a lower bound of a geometry height of 2, but 1 or 2 now create the same sized 2-line height. Egmont seems to think that the limitation is still being imposed by some gnome/xfce4 component. Do you have any further idea? Could the window manager be responsible? My knowledge of the inner-working of these components is non-existent. I can only do black-box testing from the outside!
Igor referenced this bugreport in commit a1362b24fb9a283049911f2512e98f5be91deb33 Allow to create window with 1 line height https://git.xfce.org/apps/xfce4-terminal/commit?id=a1362b24fb9a283049911f2512e98f5be91deb33
Hi Jeffery, I apologize for the misleading comments that I made. The problem was indeed in xfce4-terminal - its window hints were set to have a minimum of 2 rows. I've changed that to 1 row; but also have to disable the scrollbar (--hide-scrollbar) in order to create a 1 line-height window. Thanks!
Great! Thanks.