! 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 columns changes on new tab following zoom in
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description Colin Brough 2019-08-05 11:32:01 CEST
To produce:
 - open a new terminal
 - zoom in (ctl-shift-+)
 - (at this point 'echo $COLUMNS' in the terminal = 80)
 - open a new tab (ctl-shift-N)
 - now 'echo $COLUMNS' in either of the tabs = 97

I thought the expected behaviour would be that the columns would remain at 80.

Behaviour present in 0.8.7.4 as shipped with XUbuntu 18.10, and in 0.8.8 compiled from the source tarball. Haven't checked back to exactly when it first showed up.
Comment 1 Colin Brough 2019-08-05 12:16:30 CEST
Just noticed - reversing the order works round the problem. ie, opening a new terminal, then opening a new tab, then zooming in has the expected behaviour.
Comment 2 Igor editbugs 2019-08-05 14:53:49 CEST
Thanks for the report, Colin!

The new terminal/tab tries to inherit the geometry from the existing one which apparently doesn't work well when zoom is applied. I will look into it.
Comment 3 Git Bot editbugs 2019-08-09 20:33:56 CEST
Igor referenced this bugreport in commit 334591ee686b4901b32f4a35084c72bdff996ce6

Properly apply zoom factor when creating new tab

https://git.xfce.org/apps/xfce4-terminal/commit?id=334591ee686b4901b32f4a35084c72bdff996ce6

Bug #15785

Reported by:
Colin Brough
Reported on: 2019-08-05
Last modified on: 2019-08-09

People

CC List:
0 users

Version

Attachments

Additional information