Upon re-opening a project, previously opened files are sometimes stuck scrolled down
Description
Sometimes when re-opening a project that has open files, the file view of the currently open files only show the last line (or similar) and don't allow you to scroll up to see the rest. It usually looks something like this:
As you can see in the code overview thing on the left, there is code above:
I cannot scroll however. Placing my cursor on the file allows me to type, go up, add new lines, whatever, really, but I still can't scroll up. It treats the topmost line it showed me initially as the top line in the file regardless of what I do. Closing the file and re-opening it usually resolves this however.
It hasn't always been like this. It started happening maybe a few weeks ago. Unfortunately I haven't gotten around to reporting it until now.
Reproduction
Note that the following doesn't always reproduce it. I'm not entirely sure what does.
- Create a new project or open an already existing one
- Open some files
- Close Builder
- Start Builder back up
- Open the project you opened the files in
- Observe that all, or some of them, now are stuck scrolled down and their contents cannot be scrolled up.
Versions
- Builder version: 3.38.1
- Builder commit (according to
flatpak info
): 9f4e564c1d9c45f1e075bf987a14c5d7153b2e2feabaabb9ee351e17bf892236 - Builder installed via Flatpak from Flathub (org.gnome.Builder)