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

Scroll jump after open & close context menu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.5.1
    • QPA: X11/XCB
    • None
    • Arch Linux, Qt 5.5.1, tested with Qt Creator 3.5.1
      Plasma 5.4.2, KF 5.15
      Intel graphics

    Description

      Steps to reproduce:

      • open a document in QtCreator (e.g. 15KiB or more) so you can scroll
      • scroll somewhere in the middle, left-click in document text, so cursor is blinking there, too
      • right click -> context menu is opened
      • press esc -> so context menu is closed
      • scroll up or down
        -> here is the jump

      The bug-trigger is probably the context menu because this it can also be triggered by opening context menu anywhere else (on desktop or other application).

      This is happening probably for all Qt applications with scrollbar. I can also reproduce with kate, konsole and ark.

      This bug is here at least since version 5.4 (didn't test older versions) so it is not a regression.

      Attachments

        1. trace.txt
          429 kB
        2. scroll-debug.info
          3 kB
        3. screencast-2015-11-12_14-53-19.mkv
          7.18 MB
        4. QWheelTest.py
          0.9 kB
        5. main.cpp
          0.3 kB
        6. kwrite-log
          76 kB
        7. kwrite-jump-log_02.log
          42 kB

        Issue Links

          Activity

            People

              paeglis Gatis Paeglis
              clearmartin Martin Kostolný
              Votes:
              8 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: