mate-desktop / mate-terminal

The MATE Terminal Emulator
http://www.mate-desktop.org
GNU General Public License v3.0
135 stars 73 forks source link

Enabling / disabling the scrollbar in the profile causes column numbers to be off #430

Open primis opened 1 year ago

primis commented 1 year ago

Expected behaviour

After editing a live profile's scrollbar visibility, the character grid dimension tooltip should show the correct number of columns visible on screen.

Actual behaviour

After editing a live profile's scrollbar visibility, the character grid dimension tooltip will be +/- 2 columns of truth depending if the bar was added or removed (see screenshots).

Steps to reproduce the behaviour

Open a terminal, edit the profile of the active terminal to either remove or add the scrollbar (Whatever would be opposite of currently active setting). At which point attempt to resize the window by it's edge. The tooltip showing the lines and column size of the current window will be off from what is actually shown. Any subsequently opened new windows do not have this issue.

MATE general version

MATE 1.26.1

Package version

MATE Terminal 1.26.0

Linux Distribution

Fedora release 37

Link to bugreport of your Distribution (requirement)

https://bugzilla.redhat.com/show_bug.cgi?id=2189289

Removing the scrollbar then resizing the window to fit 80 actual columns shows having less than it really has: Evidence 3 Evidence 4

Opening a window with a profile that doesn't have a scrollbar than adding one always shows having more than reality: evidence 1 Evidence 2