terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Changing font size when terminal has lots of output is slow.

Open DropsOfSerenity opened this issue 5 years ago • 2 comments

Prerequisites

  • [x] I have searched open and closed issues for duplicates.

Describe the bug

When there is a large amount of text in any terminal tab (including the tab you are not on) and you change the font size, there is a large lag.

To Reproduce

Steps to reproduce the behavior:

  1. Open Terminal
  2. Run the yes command and let it run for 10-20 seconds (or more)
  3. Press Ctrl-+ and Ctrl-- and notice the slowness.

Expected behavior

Immediate response to zoom in/out regardless of buffer size.

Platform Information

image

  • [ ] I'm using the latest version from git that I've manually compiled
  • [x] I'm using the latest released stable version

DropsOfSerenity avatar Aug 06 '20 04:08 DropsOfSerenity

I can still confirm this issue even after the GTK4 port

danirabbit avatar Nov 17 '25 20:11 danirabbit

@danirabbit

I think this may be related to the default value for scrolllback_lines being -1. For comparison BlackBox has a value of 1000. If the scrollback lines of Terminal is changed to 1000 then the lag is much decreased under the above conditions.

The Vte.Terminal widget does most of the heavy lifting when it comes to changing the font size.

I would propose changing the default value of scrollback_lines. Does it need to be exposed in the AppMenu?

jeremypw avatar Nov 18 '25 10:11 jeremypw