gedit last line obscured by status bar
When I maximize gedit the last line of the text editor is obscured by the status bar at the bottom of the screen. This occurs even if I scroll to the very bottom of the document.
Say the document is 200 lines long. I can scroll to the bottom and see line 199. Line 200 is covered by the status bar of gedit. How do I overcome this issue? If I de-maximize the window I am able to access the last line of the text file I'm working on.
Solution 1:
You are looking at an issue, a bug, in gedit.
Steps to reproduce:
1) Open a somewhat larger text file in gedit in a window that is not maximized 2) Move the cursor to the last line 3) Maximize the window
Expected behaviour: the window is maximized and one sees the current line (the last line) at the bottom.
Observed behavior: the last displayed line is a few lines above. One does not see the line with the cursor.
When you use the left/right arrow keys, the line stays out of sight, which indeed is confusing. However, as soon as you press a left/right arrow key, or start typing, the line pops into view.
If this issue is not known to the gedit developers, it may be worth reporting it, although allegedly, it is not a severe issue.
I cannot reproduce, however, where you appear to suggest that you never can reach the last line. There is a bug reported at Debian in 2016 where the user cannot see the very last line without adding a return to the last line, but I cannot reproduce that in current gedit 3.28.1 in Ubuntu 18.04.
Solution 2:
I have the same issue with Ubuntu 18.04 and gedit 3.28.1. The last 4 lines are not visible in the first view of the document, but when I minimize the window, I can scroll to the very last line, and when I then maximize the window, it works normally as expected.
Solution 3:
I (as you all) have been suffering of this issue since days
but only today I have found an easy way to overcome this problem.
I remember it's still open upstream [1].
The tweak is easy-peasy: zoom-out and zoom-in, that's CTRL+- and CTRL++.
[1] https://gitlab.gnome.org/GNOME/gedit/issues/42