Geany version: 1.33
If the compilation of file A modifies file B, the scrollbar in file B doesn't move after the compilation.
How to reproduce: 1. Start compilation of some file. It has to modify another opened file. 2. Switch to the other file that has been modified by the compilation. 3. In appearing message window, "The file _<filename>_ on the disk is more recent than the current buffer.", reload the file. 4. Finished. Now the scrollbar of the modified file won't move
[Here is a video of the bug reproduction (zipped)](https://github.com/geany/geany/files/2169464/geany-bug-demonstration.zip).
Works for me.
What operating system, what versions of GTK and Glib (at the top of the help->debug messages)?
OS: Arch Linux: "4.17.2-1-ARCH" GTK 3.22.30, GLib 2.56.1
I've seen similar too when I was using the GTK+ 3 build, though I never nailed down how to reproduce it. I suspect something is not updated/synchronized after a reload. IIRC it starts working again too once you switch tabs and back.
Might be version of GTK3 dependent, works fine for me
`10:34:45: Geany INFO : GTK 3.18.9, GLib 2.48.2`
Probably same as #1002, the upstream workaround (which should be part of GTK 3.22) is known to have some cases where it fails to work.
Still reproducible here, Ubuntu 19.10 beta, Geany 1.35-1, GTK 3.24.11-1ubuntu1
Steps to reproduce here: 1. Open two files in Geany; switch to the tab for file B 2. "touch" file A externally, so Geany sees it as changed 3. Switch to the tab for file A in Geany 4. Click "Reload" in the info bar 5. Try scrolling (with the scroll wheel): the scrollbar doesn't update
Still happening on Ubuntu 20.04 beta, Geany 1.36-1build1, GTK 3.24.18-1ubuntu1
I can reproduce this also on Arch Linux with Geany 1.38. Steps to reproduce:
1. Close Geany with the Message Window open. 2. Open a file in Geany that is long enough to need a scrollbar. 3. Use Alt+V,W to hide the Message Window. 4. Scroll up and down in the file using the mouse scroll wheel.
The text view scrolls, but the scrollbar does not update. Clicking in the text view once and then scroll some more, causes the scrollbar to start updating.
@jlindgren90 thanks for the clear reproducer.
Confirmed still present with latest Git and Scintilla 5.
github-comments@lists.geany.org