Wrong scrolling when clicking on title / buttons in window title
Wrong Gedit behavior when clicking on title/buttons in window title.
When you click on the title or any of its buttons, if the cursor is positioned on one line, and other lines of the document are displayed in the window area, a very strange behavior of the editor appears. To make it clearer:
- There is a document with 1000 lines.
- Cursor on line 5
- I scroll the document almost to the end
- I click on the title of the window, or on any element of the title
- gedit moves focus to the beginning of the document (where the cursor was positioned).
A similar issue was here.
Video: 2021-10-15_22-27-32
Distro: Fedora 34
DE: GNOME 41
Gedit: 41.alpha
Edited by Andre Klapper