-
Notifications
You must be signed in to change notification settings - Fork 757
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
"Go Back" & "Go Forward" in the Help Document System do not preserve position on page #3396
Comments
Hey @prko, thanks for the report. We will fix this in 3.9.1! |
I've noticed that if you click on a TOC entry, navigate to a new page, and then go back, you'll be brought to the position in the original page that corresponds to the TOC entry. |
That's probably because the URL including the anchor is being remembered? |
As discussed in the previous two dev meetings, this is unlikely to be fixed because the problem lies in Qt's webview/webengine implementation, and fixing it would IMO require more time than it's worth. I propose closing this issue as wontfix. |
oh, it is regrettable, but thank you very much for your effort and time. |
This could be fixed, or at least improved, using javascript only. If you update the page URL when it is scrolled (to, for example, I would also encourage anyone who wants to push on this to file a bug against QT (or, search around to see if there are any already-existing bugs) |
there's a property then you could maybe do this to restore scroll position (since qt has no api for restoring it QTBUG-48323): QWebEngineView()->page()->runJavaScript(QString("window.scrollTo(%1, %2);").arg(scrollX).arg(scrollY)); |
I think it has already been patched. I will close it. Thanks for your time and effort! |
Bug description:
When going back and forward in the help document system, it goes the upper section of the document.
In the previous versions, it goes to the lines which I read at last time.
Steps to reproduce:
Actual result:
In 3.9 rc2, SC-IDE does not remember the last opened position of the help documents.
It shows only the first upper section of the documents.
Expected result:
It must show the position of the documents which the user read lastly.
The text was updated successfully, but these errors were encountered: