Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-68734

Fast code mouse-scrolling sometimes erratic and doesn't scroll

    XMLWordPrintable

Details

    Description

      Fast scrolling up/down the code editor in QtCreator with the mouse wheel can sometimes be erratic and effectively non-functional. It looks as if the editor registers the scroll wheel tick, scrolls the editor for a tick unit and then sometimes reverts back the scroll (or scrolls in the reverse direction for one or more tick units). It looks like the code in the editor quickly jitters back and forth in the editor, basically staying at roughly the same position, instead of quick scrolling.

      This only shows in QtCreator, most prominently with the code editor. Other programs don't show the problem. Also, it doesn't always reproduce with the editor as well and I'm not sure what are the exact steps to reproduce. But I noticed that these things help:

      • Have moderate or high CPU load (for example, I have a Twitch stream playing in Firefox in the background).
      • Try opening another editor, like Kate or Sublime, scroll a file in that editor, then minimize it and switch to QtCreator and try scrolling its editor.

      Also, it may be difficult to scroll fast with some mice. I'm using Logitech G700s, which has a heavy wheel with a lot of momentum and can also unlock the wheel for free scroll. If I use the free scroll on the editor it just jitters all the time without scrolling. I'm certain the mouse works properly because I'm not having problems anywhere else.

      Interestingly, the problem doesn't show if you scroll slowly.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              lastique Andrey Semashev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes