Line numbers in view/annotate diff do not scroll on second monitor (observed on MacOSX 10.11)
Created originally on Bitbucket by etrue
Reproducing this bug requires 2 monitors.
- Create enough changes to a single file to require scrolling. (On my system, deleting 50 lines was more than sufficient to demonstrate the bug.)
- In the workbench view, on the primary monitor, view the diff for the changed file.
- 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.
- 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.
- Drag the workbench window to the secondary monitor. Resize the diff pane as necessary so that the diff requires scrolling.
- 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).
- 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.