Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview jumps to top of page while writing #1767

Open
haslingerm opened this issue Jan 15, 2025 · 0 comments
Open

Preview jumps to top of page while writing #1767

haslingerm opened this issue Jan 15, 2025 · 0 comments
Labels

Comments

@haslingerm
Copy link

Observed vs. expected behavior

Since a few months, while writing a longer document the preview regularly 'jumps' (scrolls) to the top (title of the page) and stays there until I manually go back to the section I'm currently editing (e.g. by clicking the link in the toc).
When i continue writing it also won't jump back to the currently edited section, but stay at the top.

Something similar also happens while only scrolling through a long document and then moving focus to a different window.
When I get back to IntelliJ the preview more often than not jumps to the top of the page and I have to find the previous location again manually.

I thought it must be something on my end, but today one of my students asked me if I had found a solution for the problem because it happens to him as well => this prompted me to open the issue.

Steps to reproduce

It is not happening consistently, sometimes all the time, then not for a few minutes.
I recorded some typing in a sample document and managed to capture the behaviour twice at timestamps 00:11 & 01:12

adoc_preview_issue.mp4

I'm typically using these settings together with source code snippets and plantuml diagrams (rendered via Kroki):

:icons: font
:nofooter:
:source-highlighter: highlight.js
:sectnums:
:toc:

Environment

This is happening for me on both my machines and in all JB IDEs (not just IntelliJ, it's the same in Rider for example).
I can't remember exactly when it started, sometime in fall 2024.
Both my machines run Fedora 41 with KDE Plasma and various JB IDEs, one is a workstation, the other a laptop.

Plugin Version: 0.43.6

IntelliJ Details:
IntelliJ IDEA 2024.3.1.1 (Ultimate Edition)
Build #IU-243.22562.218, built on December 18, 2024
Runtime version: 21.0.5+8-b631.28 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.12.8-200.fc41.x86_64
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4002M
Cores: 16
Registry:
ide.experimental.ui=true
i18n.locale=
Non-Bundled Plugins:
com.intellij.plugins.visualstudio2022keymap (243.21565.122)
com.intellij.plugin.adernov.powershell (2.8.0)
PlantUML integration (7.11.2-IJ2023.2)
org.asciidoctor.intellij.asciidoc (0.43.6)
com.github.copilot (1.5.30-242)
Kotlin: 243.22562.218-IJ
Current Desktop: KDE

@haslingerm haslingerm added the bug label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant