GNOME Bugzilla – Bug 782506
Last three lines of a text file are not shown on scrolling
Last modified: 2017-11-01 16:26:28 UTC
Steps to reproduce: 1. Open a text file that has large number of lines (around 80-100). 2. Scroll to the bottom of the file using mouse or keyboard. 3. Last 3 lines are not visible and you cannot scroll further. 4. Click somewhere in the file and press CTRL + END. The cursor moves to the last line of the file but those last 3 lines are still not visible. 5. Press ENTER and now the last 3 lines of the file (and the new line) are visible. You can now easily scroll through the file.
I can't seem to reproduce the bug on 3.22.1. I can see the last three lines perfectly fine.
I noticed that issue happens if gedit window is not already open and then if you double click a file from Nautilus and the gedit window is opened in maximized mode. If the gedit window is opened in unmaximized mode then last 3 lines are visible. If you first open gedit window in maximized mode and then open the file using open menu then last 3 lines are visible.
Created attachment 359766 [details] Video showing the issue while opening Gedit.py file On opening the Gedit.py file the last 3 lines are now shown but once I switch to terminal and then switch back to gedit, the last 3 lines are visible. But the issue is not reproduced when Gtk.py file is opened. Opening Gedit.py file always reproduces the issue.
*** This bug has been marked as a duplicate of bug 779935 ***