24

In 18.04.3, If I'm in a scrollable window (e.g., terminal) and scroll down a lot, then alt+tab to another window (e.g., Chrome) and scroll in this other window, its scrollbar jumps to the bottom immediately.

This happens using a mouse or the touchpad.

How do I solve the jumping problem in the second window?

after running

sudo lshw -C display && sudo lspci | grep -i vga

I get

  *-display                 
       description: VGA compatible controller
       product: HD Graphics 620
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:128 memory:d0000000-d0ffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)

Edit: I found out that the problem doesn't occur when the second application is the terminal, or firefox. In fact, I believe this problem is exclusive for Google Chrome.

André Winston
  • 513
  • 4
  • 10

2 Answers2

16

Apparently this bug also happens, for example, on Visual Studio Code, probably there is something wrong with X11, and it is reported by some users here, here and here. It is mentioned by some users in the first link that an alternative to Xorg is Wayland. What solved my issue was to use Ubuntu with Wayland.

André Winston
  • 513
  • 4
  • 10
13

It's been more than a while but unfortunately, the problem still exists. (Ubuntu 22.04)

Going through the related issue on vscode's github repo (here), I found a temporary fix for GNOME that worked for me. All you need is to install this gnome extension: Alt+Tab Scroll Workaround

Hope someone will actually fix this issue since it's been bugging people for more than 5 years now.