! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Terminal window loses a row after opening a new tab
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description chrono 2016-12-29 19:26:40 CET
I'm using xfce4-terminal 0.8.1 GTK3

Steps:

1) Open a terminal and resize the window to 20 rows
2) Open a new tab - height is now 19 rows
3) Close one of the two tabs and open another new tab - height is 18 rows now

Thank you! I love XFCE.
Comment 1 Igor editbugs 2016-12-29 19:33:27 CET
Hi, are you using the terminal under Xfce? What is your distribution?

The terminal is specifically caring about preserving its geometry when opening/closing tabs, showing/hiding menubar, etc, so your situation should not happen. Could you also try git version and check if it behaves the same way?
Comment 2 chrono 2016-12-29 20:03:57 CET
Yes, I'm using Xfce 4.12 on Arch Linux.

I just tried to change theme from MATE's TraditionalOk to Adwaita. With Adwaita and other themes in fact this doesn't happen. The git version 0.8.1git-2288daa does the same thing while using TraditionalOk. Maybe this theme triggers some strange bug, or maybe it's just time to use another one.

I regret not having tried to switch theme before opening the bug. Sorry.
Comment 3 Igor editbugs 2016-12-29 20:12:17 CET
No, it's good that you've raised it - it's interesting how a theme could affect this behavior. I need to look into this.
Could you please advise how to install TraditionalOk? I'm also on Arch, and I'm not seeing an AUR package for the theme.
Comment 4 chrono 2016-12-29 20:19:20 CET
TraditionalOk is part of the mate-themes package. You can find it in the Arch's official Community repo.
Comment 5 Igor editbugs 2016-12-30 07:24:40 CET
Thanks.
Indeed, I can reproduce the issue with this theme. Will investigate it.
Comment 6 Lachezar Dobrev 2017-08-23 14:55:35 CEST
This is reproducable with Xubuntu 17.04 with Xfce-Terminal 0.8.4 using the "Greybird" GTK Theme.
This may be connected to issue #3244.
The "Use custom styling to make tabs slim (restart required)" option does not seem to have effect.

The issue does not seem to occur with the "Adwaita" GTK Theme.

When using Greybird opening a terminal has full number of rows.
Opening a second tab resizes the window to accommodate the tab list, but the lowest row seems to be one pixel too short.
When resizing the window the lowest row consistently remains too short.
Opening the Menu of the application (F10) resizes the window, but now the terminals have one less row.
One can rinse-repeat this process (open second tab, close any tab, open second tab, close any tab ...) to consistently loose one row every repeat.
Comment 7 Git Bot editbugs 2018-04-29 22:57:32 CEST
Igor referenced this bugreport in commit e76ed22dc3d394c2404576871efefcd87e0a6f35

Fix new tab being one pixel short under some GTK themes

https://git.xfce.org/apps/xfce4-terminal/commit?id=e76ed22dc3d394c2404576871efefcd87e0a6f35
Comment 8 Igor editbugs 2018-04-29 22:58:27 CEST
The commit above fixes the issue with Greybird for me.
Could you please test it? Thanks.

Bug #13263

Reported by:
chrono
Reported on: 2016-12-29
Last modified on: 2018-04-29

People

CC List:
2 users

Version

Attachments

Additional information