Diff view may hide some changes in the Pull Request
This article only applies to the Atlassian server platform. Learn more about the differences between cloud and server.
In a Pull Request that includes many changes in a file (e.g., 200+ lines changed), using the Find function of the Diff view may hide several last lines that have changed.
Create a Pull Request where 200 lines have been added to a file
Open the Pull Request and switch to the Diff view
Scroll all the way down and note that all 200 added lines are shown
Click on one of the green lines, then use Ctrl+F (or Command+F) to display the Find: field
Type some search string in the Find field (e.g., Test) and click the Next match and Previous match buttons several times
Scroll all the way down and note that a few last lines are no longer shown
(in some cases you may need to scroll up and down a few times before the problem occurs)
As result, reviewers may not see some of the suggested changes in the Pull Request, and merge or reject the Pull Request without a complete code review.
This issue has been reproduced against several versions of Bitbucket Server, using Firefox versions 69 and 70 on Ubuntu Linux 18.04 and on Mac OS X 10.14.6.
The problem did not occur in a Pull Request with 160 lines of text (or fewer) have been changed.
Resizing the browser window, or re-entering the Pull Request, should show the entire Diff again.
However, the reviewers may not always realise that they are missing some lines.