[Github-comments] [geany/geany-plugins] Markdown Plugin (Feature Request): Keep scroll position on reload (#1055)

Matthew Brush notifications at xxxxx
Tue Feb 9 18:36:41 UTC 2021


After a little bit of reading/experimenting, I think this is probably caused by the Webkit2 no longer requiring a GtkScrolledWindow and handling scrolling on its own in a separate process. Whenever the existing scrollbar adjustments are read, the value is always zero, so the hack that was previously added for the old Webkit version no longer works.

A possible workaround might be to run some javascript in the webview that can read the scroll position and pass it back up to the plugin's C code so it's able to save and then other JS to restore it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1055#issuecomment-776151165
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210209/8fd5f774/attachment.htm>


More information about the Github-comments mailing list