Line numbers in view/annotate diff do not scroll on second monitor (observed on MacOSX 10.11)

Issue #4733 resolved
etrue
created an issue

Reproducing this bug requires 2 monitors.

  1. Create enough changes to a single file to require scrolling. (On my system, deleting 50 lines was more than sufficient to demonstrate the bug.)
  2. In the workbench view, on the primary monitor, view the diff for the changed file.
  3. Click the "View change in context of file" button and scroll the diff pane. Note that scrolling causes the line numbers in the left margin to scroll in sync with the diff text.
  4. Click the "Annotate with revision numbers" button and scroll the diff pane. Note that again, scrolling causes the line numbers in the left margin to scroll in sync with the diff text.
  5. Drag the workbench window to the secondary monitor. Resize the diff pane as necessary so that the diff requires scrolling.
  6. Click the "View change in context of file" button and scroll the diff pane. Note that now, the line numbers do not scroll along with the diff text (whether using the scroll bar, arrow keys, or mouse wheel).
  7. Click the "Annotate with revision numbers" button and scroll the diff pane. Again, line numbers do not scroll with the diff text.

OS: MaxOSX 10.11.6 Software: TortoiseHg 3.9.2, Mercurial-3.9.2, Python-2.7.11, PyQt-4.11.4, Qt-4.8.6 Hardware: MacBook Pro (Retina, 15-inch, Mid-2014). Graphics: Intel Iris Pro 1536 MB - Primary monitor: built-in display (2880 x 1800) - Secondary monitor: HP ZR30w (2560 x 1600) DisplayPort connected to Thunderbolt 2 port.

Comments (5)

  1. etrue reporter

    After upgrading to a new laptop running MacOS 10.12.6, and a new monitor, I can no longer repro this issue. Unfortunately I don't have access to the old hardware, so I can't narrow down which variables are important.

    Specs after upgrading:

    OS: MacOS Sierra 10.12.6

    Software: (all unchanged) TortoiseHg 3.9.2 with Mercurial-3.9.2, Python-2.7.11, PyQt-4.11.4, Qt-4.8.6

    Hardware: MacBook Pro (15-inch, 2017). Radeon Pro 555 2048 MB, Intel HD Graphics 630 1536 MB

    Primary display: built-in display (2880 x 1800) Radeon Pro 555 2048 MB

    Secondary display: LG UltraFine Display, 27-inch (5120 x 2880) Radeon Pro 555 2048 MB, connected to USB-C port.

  2. Log in to comment